Agent skill

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

NanoCo30,389★ · +78/wk · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add nanocoai/nanoclaw --skill add-matrix --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: none
Path: .claude/skills/add-matrix/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 30,426 · +37 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Add Matrix Channel Adds Matrix support via the Chat SDK bridge. NanoClaw doesn't ship channels in trunk — this skill copies the Matrix adapter in from the `channels` branch. The mechanical steps under **Apply** carry `nc:` directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it. ## Apply ### 1. Copy the adapter Fetch the `channels` branch and copy the Matrix adapter into `src/channels/` (overwrite — the branch is canonical): ```nc:copy from-branch:channels src/channels/matrix.ts src/channels/matrix-registration.test.ts ``` ### 2. Register the adapter Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core: ```nc:append to:src/channels/index.ts import './matrix.js'; ``` ### 3. Install the adapter package Pinned to an exact version — the supply-chain policy rejects ranges and `latest`. The Matrix adapter lives in the `@beeper/` namespace and versions on its own track (not the `@chat

What's inside
Steps it walks through
  1. Apply
  2. 1. Copy the adapter
  3. 2. Register the adapter
  4. 3. Install the adapter package
  5. 4. Patch matrix-js-sdk ESM imports
  6. 5. Build
  7. Credentials
  8. Create a bot account
  9. Choose an auth method
  10. Optional settings
  11. Store the credentials
  12. Next Steps
  13. Channel Info
  14. Troubleshooting
Ships with 2 files
  • REMOVE.md
  • apply-fixtures.json
More from nanoclaw
All skills →
About this skill
What does the add-matrix skill do?

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

How do I install it?

Run `npx skills add nanocoai/nanoclaw --skill add-matrix --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From nanocoai/nanoclaw, a repository with 30,426 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going