add-matrix
Skill by nanocoai
Adds Matrix channel support to NanoClaw through the Chat SDK bridge. It copies the Matrix adapter from the channels branch and walks through bot account setup. It is for NanoClaw users who want agents to chat in Matrix. The description says it works with any Matrix homeserver.
Install add-matrix
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/add-matrix ~/.claude/skills/add-matrixRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nanoclaw/.claude/skills/add-matrix ~/.gemini/antigravity-cli/skills/add-matrixAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill adds Matrix support to NanoClaw through the Chat SDK bridge. NanoClaw does not ship channels in its trunk, so the skill copies the Matrix adapter from the channels branch into src/channels/ and registers it with a self-registration import. It then pins the @beeper/chat-adapter-matrix package at version 0.2.0, applies an ESM patch, and runs build and test checks.
The skill also guides you through creating a separate bot account, since Matrix cannot send DMs to your own account. It covers username and password login or an access token, plus optional settings such as invite autojoin and E2EE recovery. It is for NanoClaw users who want their agents to chat in Matrix rooms or direct messages.
Written from the project's SKILL.md and checked against it.
What it can do
- Copy the Matrix adapterCopies the Matrix adapter files from the channels branch into src/channels/.
- Register the channelAppends a self-registration import to the channel barrel file.
- Pin the adapter packageInstalls @beeper/chat-adapter-matrix at an exact version, 0.2.0.
- Apply the ESM patchRegisters a pnpm patch so the adapter works under Node 22 strict ESM resolution.
- Configure credentialsPrompts for homeserver URL, bot user ID, and login details, then writes them to the environment.
- Verify the buildRuns the build and registration test to confirm the Matrix channel is wired in.
What you need
- A separate Matrix bot account
- NanoClaw installation
- Node 22
- pnpm
Try asking
- Add the Matrix channel integration to my NanoClaw setup.
- Set up Matrix credentials for my bot account on matrix.org.
- Run the Matrix channel registration test and show me the result.
Good to know
- Thread support is partial, so the source recommends treating it as unsupported.
- End-to-end message delivery is verified manually after the service runs.
- The bot must use its own account because Matrix cannot DM your own account.
- An invite allowlist that omits your user ID makes the bot ignore your invites.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/add-matrix/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
REMOVE.md1021 B -
SKILL.md9 KB -
apply-fixtures.json664 B -
patches/@beeper__chat-adapter-matrix@0.2.0.patch1 KB
Alternatives to add-matrix
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
add-matrix: common questions
Does this Matrix integration need a separate account?
Yes. The bot needs its own Matrix account, separate from yours, because Matrix cannot send DMs to yourself.
How can the bot log in to Matrix?
The source describes two options: a username and password, or an access token. The access token option is marked as recommended for production.
Does it work with any Matrix homeserver?
The description says it works with any Matrix homeserver. The source examples use matrix.org.
How do I install add-matrix?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-matrix free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is add-matrix safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-matrix?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
