Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 93
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-matrix

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-matrix in Claude Code

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

A

No 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 →

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.

add-matrix Install

Add to stack

Loading.