add-matrix

Integrate a Matrix chat adapter into NanoClaw from the channels branch.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/wrightchin/nanoclaw-playground --skill add-matrix-wrightchin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-matrix
Source: https://github.com/wrightchin/nanoclaw-playground/tree/main/.claude/skills/add-matrix
Command: npx skills add https://github.com/wrightchin/nanoclaw-playground --skill add-matrix-wrightchin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables Matrix-based channel integration for NanoClaw by provisioning and wiring a Matrix adapter from the channels branch into the agent environment.

Core Features & Use Cases

  • Copy and wire the Matrix adapter into the deployment from the channels branch.
  • Patch ES module imports and install a pinned adapter to maintain compatibility with Node 22.
  • Perform idempotent pre-flight checks and guided setup for secure, repeatable integration.
  • Configure and manage Matrix bot credentials and channel setup for secure operation.

Quick Start

Launch the add-matrix skill to fetch the channels adapter, patch your codebase, install the Matrix adapter, and build the project.

Frequently Asked Questions about add-matrix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a Matrix channel with my agent using the Chat SDK?

To integrate a Matrix channel, this skill provisions a Matrix adapter from the channels branch, patches ES module imports, and builds the project to wire the adapter directly into the agent workflow.

What prerequisites do I need to set up a Matrix chat adapter?

Setting up a Matrix chat adapter requires access to the channels branch, the beeper Matrix adapter package, and a Node/Pnpm environment to fetch, patch, install, and compile the adapter securely.

Why does the Matrix adapter require code patching during deployment?

Code patching is required to update ES module imports and install a pinned adapter version, ensuring full compatibility and stable operation with the Node 22 environment during the agent deployment.

How does the pre-flight validation check work for Matrix integration?

The pre-flight validation performs idempotent checks to verify environment readiness and guide the setup process, ensuring a secure and repeatable integration before any code patching or dependency installation begins.

Can I use this skill to manage Matrix bot credentials for my agent?

Yes, the skill configures and manages Matrix bot credentials alongside the channel setup, enabling secure and authenticated operation of the Matrix-based channel within the agent workflow.

What is the best way to add Matrix support to NanoClaw?

The recommended approach is launching the add-matrix skill to fetch the channels adapter, patch your codebase for Node 22 compatibility, install dependencies, and compile the project.