SkillsReviewed · nanocoai

NanoClaw add-matrix

NanoClaw add-matrix is a skill for NanoClaw users who want their agents in Matrix chats, but it requires a separate bot account and connection code fetched from another branch. It documents installation through the Chat SDK bridge, pins @beeper/chat-adapter-matrix to 0.2.0 and includes a Node.js module compatibility patch. Live messaging, encryption behavior and operating costs are unverified.

Researched 16 Nov 2026

In short.

NanoClaw add-matrix is a skill for people running NanoClaw who want Matrix rooms and direct messages for their agents, but essential connection code comes from another branch and live delivery is unverified. The skill copies an adapter and registration test from the channels branch, registers the adapter and installs @beeper/chat-adapter-matrix@0.2.0 with a committed patch for Node 22 module resolution. It documents password or access-token authentication, room routing, optional invitation restrictions and removal. A significant automation limitation is that the authentication alternatives exist only in prose: the supplied fixture says a fully programmatic application must answer both sets of credential prompts. The runtime adapter and registration-test source are outside the supplied files. No execution results establish build success, login, encrypted messaging or delivery reliability, and operating costs are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected .claude/skills/add-matrix folder at commit 61cf826d54ceb7aa0c49e93e71180ef35dbe4600: its instruction file, removal guide, fake-input fixture and dependency patch, together with the repository-root MIT notice. It excludes the channels-branch adapter and registration-test contents, NanoClaw core implementation, dependency source and separate dependency licenses. Compilation, installation, login, encryption, room isolation, homeserver compatibility and live delivery were not tested; operating costs are unknown.

The overview

Identity

add-matrix is an assistant-loadable skill in nanocoai/nanoclaw, rather than a standalone Matrix client. Its purpose is to add a Matrix channel to NanoClaw through the Chat SDK bridge. The original folder is [https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/add-matrix].

The supplied folder contains SKILL.md, REMOVE.md, an application fixture and a dependency patch. The adapter implementation and its registration test are fetched separately from the repository’s channels branch.

Assessment

This is a concrete integration recipe for an existing NanoClaw installation. The exact package version, included compatibility patch, documented checks and removal instructions make the intended changes understandable.

It requires source changes, credentials and service configuration. The supplied material supports assessing that setup path, but does not establish that the integration currently builds or delivers messages successfully.

Users

The intended users are NanoClaw operators who want interactive agent conversations in Matrix rooms or direct messages. Beginners receive account-creation and credential examples; developers receive file paths, dependency details and verification commands.

The guide recommends separate agent groups for different communities or sensitive contexts. That is configuration guidance; the supplied files do not demonstrate enforcement of isolation between groups.

Capabilities

The documented integration covers Matrix rooms and direct messages, room IDs or aliases, automatic invitation acceptance and an optional inviter allowlist. It describes username/password login and access-token authentication.

Optional settings include a recovery key for end-to-end encryption cross-signing and a stable device ID across restarts. Their presence does not establish encrypted-message behavior or recovery reliability. Thread support is described as partial, with guidance to avoid depending on it.

Using it

Requirements

The documented process needs a NanoClaw checkout, Node.js, pnpm, access to the channels branch, a reachable Matrix homeserver and a dedicated Matrix bot account. The guide requires the bot account to be separate from the user’s account for direct messaging.

Configuration includes MATRIX_BASE_URL, MATRIX_USER_ID and MATRIX_BOT_USERNAME, plus either MATRIX_USERNAME with MATRIX_PASSWORD or MATRIX_ACCESS_TOKEN. The guide addresses Node 22 module resolution, but does not establish the complete supported Node.js or pnpm version range.

Mechanism

The skill copies matrix.ts and matrix-registration.test.ts from the channels branch into src/channels, then adds import './matrix.js'; to the channel index. The adapter is described as connecting to NanoClaw through createChatSdkBridge.

The included patch adds .js extensions to five internal matrix-js-sdk imports in @beeper/chat-adapter-matrix@0.2.0. Its stated purpose is to resolve failures under Node 22 strict ECMAScript module resolution. The package is pinned exactly, and pnpm is configured to apply the patch.

The nc: directives are designed for agent interpretation or deterministic parsing. Authentication is an exception to that automation: the fixture explicitly states that both credential paths are unguarded and a fully programmatic application must answer all prompts.

Setup

The documented sequence copies and registers the adapter, configures the patch, installs the pinned package and supplies the chosen bot credentials. It then prescribes a build, a direct Node.js package-import check and a registration test. After setup, /manage-channels connects the channel to an agent group.

The fixture’s authentication caveat means an automated runner needs an explicit way to choose one credential path before receiving real secrets. The prose says to configure only the chosen method.

REMOVE.md documents removing the registration import, copied files, listed credentials, package and patch, followed by a rebuild and service restart. It does not describe deleting the bot account or messages retained by the homeserver.

Example

A documented use case is a dedicated bot account joining a Matrix room that is connected to a NanoClaw agent group. For a group room, the guide accepts an internal ID such as !abc123:matrix.org or an alias such as #general:matrix.org. For direct messages, it points to the bot’s openDM method for room resolution.

The application fixture uses a Matrix example-domain address and explicitly fake password and token values. It supplies example inputs, not evidence of account creation, authentication or message delivery.

Assessment & evidence

Limitations

The skill’s captured revision does not pin the channels-branch adapter to a commit. Consequently, applying this same instruction file later could retrieve different adapter code. Neither that implementation nor the registration-test source is supplied here.

The guide claims compatibility with any Matrix homeserver, but no compatibility results are provided. Thread behavior is explicitly partial. Encryption, performance, delivery reliability and credential handling inside the adapter remain unassessed.

Automatic invitation acceptance is documented as enabled by default unless restricted. The guide also warns that a token obtained from an Element session becomes invalid when that session signs out. The unguarded authentication alternatives further limit unattended application.

Reasoning

The strongest technical detail is the match between a specific documented failure and an inspectable patch: extensionless matrix-js-sdk imports are changed to explicit .js imports. That makes the intended compatibility repair understandable, although its effectiveness has not been demonstrated.

The prescribed checks address different stages: compilation, package loading and channel registration. Even successful results from those checks would leave real homeserver delivery to verify separately, as the guide itself requires.

Alternatives

Within this skill, the main documented choice is password login versus an access token. The guide describes password login as simpler and recommends tokens for production, while also documenting the Element-session token limitation.

The skill allows a configurable homeserver rather than fixing the integration to matrix.org. The supplied material does not compare alternative Matrix adapters, other NanoClaw channels or standalone bot frameworks, so relative capability and cost are unknown.

Evidence

The supplied material covers all four selected skill-folder files: SKILL.md, REMOVE.md, apply-fixtures.json and the versioned adapter patch. The repository-root MIT LICENSE supplies the related rights notice.

The resource was not run or tested. The fixture contains example inputs rather than results, and the registration test is referenced rather than included. There are no build logs, package-import results, authentication receipts or live-message observations.

Access & freshness

Costs

Operating costs are unknown. The supplied files give no homeserver rates, hosting estimates, subscriptions or underlying agent-model charges. They also provide no usage measurements from which to estimate cost.

The MIT notice grants software and documentation permissions without charge; it does not establish the cost of running the integration or its supporting services.

Rights

The captured repository-root LICENSE is MIT, with copyright attributed to Gavriel in 2026. It permits use, modification and redistribution of the software and associated documentation, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties.

The notice is available at [https://raw.githubusercontent.com/nanocoai/nanoclaw/61cf826d54ceb7aa0c49e93e71180ef35dbe4600/LICENSE]. Separate license terms for @beeper/chat-adapter-matrix, matrix-js-sdk and other dependencies are not supplied, so their obligations are not assessed.

Freshness

The supplied files were captured on 16 November 2026 from commit 61cf826d54ceb7aa0c49e93e71180ef35dbe4600. The fixed instruction snapshot is [https://raw.githubusercontent.com/nanocoai/nanoclaw/61cf826d54ceb7aa0c49e93e71180ef35dbe4600/.claude/skills/add-matrix/SKILL.md].

This identifies the examined source version, not its last maintenance date. The current channels-branch contents, package availability and compatibility with later NanoClaw revisions are unknown.

Actions

Obtain the complete skill folder from the original repository; SKILL.md alone omits the required patch. Record the channels-branch revision used when retrieving the adapter, choose one authentication method and check how the runner handles the unguarded alternative prompts before supplying credentials.

Use a dedicated bot account, configure invitation restrictions appropriate to the room and follow the documented build, import and registration checks. Then verify actual message delivery on the intended homeserver. Assess encrypted messaging separately if required, and establish hosting and agent costs before relying on the integration.

Evidence for this report

.claude/skills/add-matrix/REMOVE.mdselected · checked 2026-11-16
.claude/skills/add-matrix/SKILL.mdselected · checked 2026-11-16
.claude/skills/add-matrix/apply-fixtures.jsonselected · checked 2026-11-16
LICENSEnotice · checked 2026-11-16