For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.

TalkJS Agent Skills

Use your coding agent to add chat to your app and try it with two users.

View as Markdown

Add chat to your app

Open your project in your coding agent and paste this prompt:

Add chat to my app using the TalkJS skill at https://talkjs.com/SKILL.md.
Show me how to send a message and reply as another user.

If you know who should be able to chat or where chat should appear, include that in your request. The agent uses your existing code to choose the SDK for your framework.

If you already have a TalkJS project, tell the agent which one to use. Otherwise, it can create a test project through the TalkJS CLI before you sign up.

Try chat in your app

Send a message as one test user. Open the same conversation as another participant and reply. Switch back to the first user and check that the reply appears.

If the agent created an anonymous project and you want to keep it, ask it to run talkjs anonymous-account claim --json and give you the approval link. Open the link on the computer running the CLI and confirm while the command is waiting. This adds the project to your TalkJS account and connects the CLI.

Install the skill for future tasks

To reuse the skill without pasting its URL each time, run this in your project and choose your coding agent when prompted:

npx skills add talkjs/skills

Once installed, you can ask your agent to use the TalkJS skill by name. The TalkJS skills repository includes the skill and its framework guides.