跳到主要内容

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 尚无单独撰写的中文摘要
在 GitHub 打开

安装方式

cp -r genesis-template/templates/skills/genesis-decomposer ~/.claude/skills/genesis-decomposer

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/Xiaoher-C/agentbnb.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
on_capability_request: task-decomposition

SKILL.md 正文

来源 Xiaoher-C/agentbnb@dd84f62 · 许可 MIT · 内容未修改

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
}
FieldRequiredDescription
taskYesNatural language description of the task to decompose
decomposition_depthNoInjected by Conductor — always >= 1 when received here
orchestration_depthNoInjected by Conductor — respect limits, do not recurse

Behavior

  1. Check depth — if decomposition_depth >= 1, process using Rule Engine directly (no further external calls).
  2. Decompose — run the AgentBnB built-in Rule Engine against task:
   agentbnb conduct "<task>" --decompose-only --json
  1. Return the SubTask array as JSON. Each SubTask:
   {
     "id": "step-1",
     "role": "executor",
     "description": "<sub-task description>",
     "dependencies": []
   }

Failure Handling

FailureResponse
Empty or unparseable taskReturn [{ "id": "step-1", "role": "executor", "description": "<task>", "dependencies": [] }] (passthrough)
Any internal errorReturn 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

相似 Skill

更多「媒体」
release-skills
Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin, GitHub Releases, annotated tags, historical release backfill, and generic projects. Use when user says "release", "发布", "new version", "bump version", "push", "推送", "release notes", "GitHub Release", or "回填 Release".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-article-illustrator
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-comic
Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-compress-image
Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-cover-image
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-danger-gemini-web
Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI