Use with AI agents
An AI coding agent can build realtime features into your plugin or app with the SDK, if it has the right instructions. There are three ways to give them to it, from the most complete to the simplest.
Before it builds: the SDK needs a small server route and a sign-in your server checks. A site that only serves files has neither, so it takes a function and a sign-in service first. Have your agent say so at the start, and never let it use a name kept in the browser as the login: anyone could then read another person's messages and call as them.
Claude Code: the plugin
The wordplus-realtime plugin carries the SDK agent skill: which feature fits a task, the steps, templates for rooms, presence and calls, the rules that keep it secure, and these docs as its references. Claude Code uses it by itself whenever a task calls for live updates, presence or calls in WordPress.
Add the WordPlus marketplace once, then install the plugin:
/plugin marketplace add https://packages.wordplus.cloud/claude/marketplace.json
/plugin install wordplus-realtime@wordplus
From your shell, the same is claude plugin marketplace add … and claude plugin install wordplus-realtime@wordplus. To get new versions as they come, turn on auto-update for the wordplus marketplace under Marketplaces in /plugin.
Any agent that takes skills
The skill on its own is a folder with a SKILL.md and its references: wordplus-realtime.zip. Unzip it into your agent skills folder: for Claude Code without the plugin, ~/.claude/skills/ for all your projects or .claude/skills/ in one.
For apps outside WordPress, the skill is wordplus-realtime-apps, and it comes inside the npm package @wordplus/realtime. It has templates for Node and Next.js, Laravel, Django and FastAPI, and React, and the Next.js, Express and mobile guides whole. Copy it into your project skills folder once the package is installed:
cp -R node_modules/@wordplus/realtime/skills/wordplus-realtime-apps .claude/skills/
For iOS and Android apps, the skills are wordplus-realtime-ios, in the Swift package, and wordplus-realtime-android, in the Kotlin library repository, each in its skills/ folder: copy that folder into your project skills folder. They point to the iOS and Android guides.
Any agent: the docs as text
Every page of these docs is also plain Markdown, which an agent reads more easily than the page around it:
llms.txtlists every page with a line about it, as llmstxt.org describes.llms-full.txtis all of the docs in one file. Give it to an agent that should know the whole SDK, or add it to the Cursor docs (@Docs → Add new doc).- The Markdown of each page is at its address with
.mdin place of the last/, such as/wordpress/rooms.md, and its own address answers Markdown to a request that acceptstext/markdown. Copy as Markdown, at the top of every page, puts it on your clipboard for a chat. openapi.yamlis the HTTP API as OpenAPI 3.1: every route, its answers and refusals, and an example in curl, Node, Python, PHP and Go. The test values are JSON too, for an agent to check the signatures, tokens and seals it writes.
In the instructions of your project, such as AGENTS.md or CLAUDE.md, one line is enough:
WordPlus realtime SDK (wordplus/realtime): read https://docs.wordplus.cloud/llms.txt before using it.
Outside WordPress:
WordPlus realtime SDK (@wordplus/realtime, with wordplus/realtime-php or wordplus-realtime on the server): read https://docs.wordplus.cloud/llms.txt before using it.
In an iOS or Android app:
WordPlus realtime SDK (WordPlusRealtime for Swift, cloud.wordplus:realtime for Kotlin): read https://docs.wordplus.cloud/llms.txt before using it.
On a server in another language:
WordPlus Cloud HTTP API (https://docs.wordplus.cloud/api/openapi.yaml): read https://docs.wordplus.cloud/api/overview.md and the pages it links before using it.