add-matrix

仓库创建 2026年1月31日最近提交 18 小时前SkillHot 收录 20 天前
▸ 精选理由

适合需要接入 Matrix 的团队与部署

▸ 风险提示

需配置 Matrix 凭证并复制/修改仓库通道文件

这个 Skill 做什么

为 NanoClaw 添加 Matrix(矩阵)消息通道支持,可连接任意 Matrix homeserver。

把 Matrix 协议通道接入现有的 Chat SDK,让应用能连接任意 Matrix homeserver 发收消息。想把产品扩展到去中心化/联邦聊天网络、或支持 Matrix 用户时就用得到。特点是兼容任意 homeserver、以现有 SDK 适配器方式集成,能平滑加入现有渠道结构。

▸ 展开 SKILL.md 英文原文

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

自动化集成Matrix消息通道即时通讯通用
3.0w
Stars
1.3w
Forks
40
仓库内 Skill
+241
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-matrix/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-matrix/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有