delegate-setup
它能做什么
这个工具可以帮你设置不同的程序(称为“执行程序”)如何处理特定任务。它会检测已安装的程序,并提出它们之间协同工作的方案,在保存设置前会征求你的同意。
适用场景
- ✓当你想确定哪些程序负责哪类工作时。
- ✓当你需要检测已安装的程序,并设置它们之间的通信方式时。
- ✓当你在开始使用程序之前,想先制定一份工作方案时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/delegate-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我设置各个程序该如何处理编程任务。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先检测可用的程序。然后,它会提出这些程序如何协同工作的方案(称为“通道”)。最后,只有在你确认“好”之后,它才会保存这份方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Delegate Setup
When to Use
- You want to configure which implementer CLI handles which kind of work (fleet lanes).
- You need to discover installed implementers and write lane config after user approval.
You are the orchestrator in setup mode. Discover installed implementer CLIs, propose a fleet of lanes, and write configuration only after the user approves.
This skill does not dispatch coding work. It only authors the lane map.
One concept: lanes. Never say “routes.”
Example lane: feature → implementer opencode, model opencode/grok, variant high
(OpenCode uses variant for reasoning intensity, not effort).
When NOT to use this
- The user wants a task implemented — use the matching
*-delegateskill instead. - A one-off model change on a single dispatch — pass
--model/--effort/--varianton that relay.
Hard rules
- Every lane must include
implementer. - Put dials on the same object (
model,effortorvariant, …) only if that implementer supports them — see references/schema.md. - Show a human-readable lane table and the full JSON before every write; re-show after every tweak.
- Write only after an explicit approval (“yes”, “approve”, “write it”).
- Ask scope unless already clear: global (all projects) vs this repo only. Never create a project file just because cwd is a git repo. If there is no git repo, default to global and say so.
- Do not invent model identifiers.
- In interview or usage-scan mode, never write any dial the user did not give you and the schema does not require — omit it, so the CLI’s or relay’s own default applies.
- Prefer 3–5 useful lanes over a kitchen-sink map.
- Never edit
AGENTS.md,CLAUDE.md, or other user agent-instruction files. - Never run a
*-delegaterelay from this skill.
(<skill-dir> is this skill’s install directory — the folder that contains this SKILL.md.)
Flow
discover → load → grounding menu → propose (with Basis) → scope → approve → write
1. Discover
node "<skill-dir>/scripts/discover.mjs"
Summarize installed vs missing, auth (true / false / null = unknown), and whether models were
reported, aliases (curated aliases in the registry, not live discovery — full model names also
work), unsupported, or failed.
2. Load existing (effective map)
node "<skill-dir>/scripts/config.mjs" load --cwd "$PWD"
- Neither present → “No lanes configured yet.”
- Otherwise → table of effective lanes with a Source column (
global/project). Do not paste both raw files unless asked. - If
projectPresentis true andprojectTrustedis false, label the project lanes untrusted. They cannot dispatch until the user reviews and approves a project write.
3. Propose
Discovery reports capability, never task fit. So ask one grounding question before proposing anything — one question, three options, not a wizard:
How should I pick the lanes? (1) Quick defaults — I decide, no questions. (2) Interview — about four questions on how you want work allocated. (3) Usage scan — I re-read your CLIs’ local session folders (counts and dates only, never the conversations) and let the numbers place your lanes — if one CLI dominates, expect one question about its role. Happy to do 2 and 3 together.
- Quick defaults → propose immediately.
- Interview → the four questions (allocation policy, never model rankings) and how to ask them (one medium per round) live in references/setup-dialogue.md — read it before you ask.
- Usage scan →
node "<skill-dir>/scripts/discover.mjs" --usage. Tell the user it is metadata only before running it. Each discovered CLI gainsusage: { sessions, lastUsed };nullmeans no probe is wired — unknown, not unused. - Both → run the scan first, then ask only what the numbers cannot answer.
- Inside a git repo, repo signals (languages, test weight, frontend share) are a fourth source of
evidence. They do not change the menu; they feed the proposal and the
repobasis.
That menu is also the consent surface — the option chosen sets how much of the map is yours to decide:
- Quick defaults — the user hired your opinion. A full map is legitimate, dials included; label
every lane
my opinion, say plainly that the map is your opinion, and keep it cheap to revise.
…
常见问题
什么是“通道”?
“通道”就像一条条路径或规则,用来定义某类任务应该由哪个程序(执行程序)来完成,以及使用什么样的设置。
这个工具会替我写代码吗?
不会。这个工具只负责配置其他程序的工作方式,不会真正执行编程任务。
我可以选择程序的工作方式吗?
可以。你可以选择快速方案,也可以选择更详细的流程。在详细流程中,工具会先问你一些问题,了解你的偏好,再提出方案。
详情
作者的原始描述
Configure approved delegation lanes across installed implementer CLIs, including optional model and effort choices, then write global or project config only after explicit user approval.
热度
- GitHub 星标
- 48k
- 排名
- #4366
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。