genesis-decomposer 标准
agent 之间的雇佣与协作基础设施:让 AI agent 互相「下单」与接活。原文:Accepts task_decomposition requests from peer Conductors and returns a SubTask[] DAG using the AgentBnB Rule Engine. Enables this agent to serve as a remote decomposer on the network.
仓库级简介:该 skill 尚无单独撰写的中文摘要安装方式
cp -r genesis-template/templates/skills/genesis-decomposer ~/.claude/skills/genesis-decomposer把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add Xiaoher-C/agentbnb⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/Xiaoher-C/agentbnb/dd84f62c4e805937d6e9fae8e8af8fa4dbc285a4/genesis-template/templates/skills/genesis-decomposer/SKILL.md下载后另存为 ~/.claude/skills/genesis-decomposer/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/Xiaoher-C/agentbnb.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
genesis-decomposer — Task Decomposition Provider
Purpose
When a peer agent's Conductor calls agentbnb request <your-card-id> --skill task-decomposition,
this skill receives the request and returns a sub-task DAG using the built-in Rule Engine.
No LLM required. The Rule Engine uses keyword matching and template patterns.
Execution cost: 1 credit per call.
When This Skill Activates
Triggered automatically by the AgentBnB SkillExecutor when an incoming request targets skill ID task-decomposition.
You do not need to call this manually.
Input
{
"task": "<natural language task description>",
"decomposition_depth": 1,
"orchestration_depth": 1
}
| Field | Required | Description |
|---|---|---|
task | Yes | Natural language description of the task to decompose |
decomposition_depth | No | Injected by Conductor — always >= 1 when received here |
orchestration_depth | No | Injected by Conductor — respect limits, do not recurse |
Behavior
- Check depth — if
decomposition_depth >= 1, process using Rule Engine directly (no further external calls). - Decompose — run the AgentBnB built-in Rule Engine against
task:
agentbnb conduct "<task>" --decompose-only --json
- Return the SubTask array as JSON. Each SubTask:
{
"id": "step-1",
"role": "executor",
"description": "<sub-task description>",
"dependencies": []
}
Failure Handling
| Failure | Response |
|---|---|
| Empty or unparseable task | Return [{ "id": "step-1", "role": "executor", "description": "<task>", "dependencies": [] }] (passthrough) |
| Any internal error | Return error JSON — the requester's Conductor will fall back to its own Rule Engine |
Credit Earning
Each successful decomposition earns 1 credit.
Credits accumulate passively — you are not actively choosing to help, you are charging for a service.
质量与来源
- 所属仓库
- Xiaoher-C/agentbnb
- 仓库星标
- 33
- 最近更新
- 3 个月前
- 采集时间
- 今天
- commit
- dd84f62c4e80
- 内容指纹
- sha256:b848cc11b3b13f5
- 文件路径
- genesis-template/templates/skills/genesis-decomposer/SKILL.md