add-matrix
Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.
npx skills add nanocoai/nanoclaw --skill add-matrix --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Apply
- 1. Copy the adapter
- 2. Register the adapter
- 3. Install the adapter package
- 4. Patch matrix-js-sdk ESM imports
- 5. Build
- Credentials
- Create a bot account
- Choose an auth method
- Optional settings
- Store the credentials
- Next Steps
- Channel Info
- Troubleshooting
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.