Overview
- Skill Key
- cyijun/smith-matrix
- Author
- cyijun
- Source Repo
- openclaw/skills
- Version
- 0.2.0
- Source Path
- skills/cyijun/smith-matrix
- Latest Commit SHA
- 60b51b085df75dce8eafb22ed2f4fac6f6956d8b
This skill should be used when the user asks to "create a multi-agent system", "spawn agents for parallel tasks", "decompose task recursively", "set up agent matrix", or wants to execute complex tasks using multiple coordinated agents with conflict-free parallel processing.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Smith Matrix 技能。 若已安装,则直接安装 Smith Matrix 技能。
# 史密斯矩阵 (Smith Matrix)
实现递归自相似多智能体系统的 Skill,通过目录隔离协议达成无冲突的并行任务分解与执行。
## 何时使用
在以下场景触发本 Skill:
- 用户请求"创建多智能体系统"或"设置智能体矩阵"
- 任务需要分解为多个并行子任务
- 需要协调多个 Agent 同时工作
- 复杂任务需要递归分解处理
- 要求无冲突的并行执行环境
## 核心概念
**史密斯 (Smith)** 是自相似的智能体单元,每个史密斯拥有唯一 ID 和层级,能够执行任务、分解任务、创建子史密斯并汇总结果。所有史密斯遵循相同的协议,形成递归结构。
**递归安全限制**:
- 最大层级:3(LEVEL 0 为根,最多到 LEVEL 3)
- 最大子代理数:每层最多 5 个
- 终局规则:LEVEL ≥ 3 时禁止分解,必须直接执行
**无冲突协议** 通过严格的目录隔离实现并行安全:每个史密斯只能写入自己的 `private/` 和 `outbox/`,只能读取父史密斯写入的 `inbox/`。父史密斯拥有创建子目录的专属权限。
## 快速开始
**第一步:初始化矩阵**
执行初始化流程,创建 `.smith-matrix/` 工作目录和根史密斯。
**第二步:定义根任务**
在 `.smith-matrix/inbox/` 创建任务文件,描述需要完成的复杂任务。
**第三步:启动执行**
根史密斯读取任务,决定直接执行或分解为子任务并创建子史密斯。
## 目录结构
```
.smith-matrix/
├── inbox/ # 任务队列(父写子读)
│ └── task-{id}.md
├── smiths/
│ ├── smith-root/ # 根史密斯
│ │ ├── smith.md # 史密斯定义(只读)
│ │ ├── private/ # 私有工作区
│ │ ├── outbox/ # 结果输出
│ │ │ └── result.md
│ │ └── children/ # 子史密斯目录
│ │ └── smith-001/
│ └── smith-001/
│ ├── smith.md
│ ├── private/
│ ├── outbox/
│ └── children/
└── results/
└── final.md # 最终结果
```
## 初始化矩阵
当用户请求初始化 Smith Matrix 时,执行以下步骤:
**1. 创建目录结构 `.smith-matrix/`**
创建基础目录框架:
- `.smith-matrix/inbox/` —— 任务队列
- `.smith-matrix/smiths/` —— 史密斯目录
- `.smith-matrix/results/` —— 最终结果
**2. 读取 `smith.md` 模板**
从 `smith-matrix/smith.md` 读取史密斯定义模板。
**3. 替换占位符**
替换模板中的变量:
- `{SM...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.