Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yinqd3/workbuddy-skills --skill dispatching-parallel-agentsgit clone --depth 1 https://github.com/yinqd3/workbuddy-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yinqd3/workbuddy-skills/dispatching-parallel-agents)<a href="https://agentmods.dev/skills/yinqd3/workbuddy-skills/dispatching-parallel-agents"><img src="https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/dispatching-parallel-agents.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00626 |
| Opus 5 | $0.00027 | $0.00313 |
| Sonnet 5 | $0.00011 | $0.00125 |
| Haiku 4.5 | $0.00005 | $0.00063 |
Grade A, and why
dispatching-parallel-agents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
派发并行子代理
概述
当多个任务相互独立(不共享状态、不依赖对方结果)时,用并行子代理加速执行。
开始前确认: 这些任务真的独立吗?如果任务 B 依赖任务 A 的输出,不能并行。
WorkBuddy 并行调度
使用 Agent 工具的 run_in_background 参数派发多个子代理并行运行。
使用场景
适合并行:
- 多个独立的代码审查
- 同时重构多个不相关的模块
- 并行数据获取/处理
- 同时运行不同类型的测试
不适合并行:
- 任务有顺序依赖
- 任务共享状态/文件
- 需要实时协调
调度模式
模式 1:扇出-汇总
派发 N 个子代理 → 等待全部完成 → 汇总结果
# 示例:并行代码审查
GOAL: 审查三个独立模块的代码质量
派发 3 个子代理:
- 子代理 A: 审查 src/auth/
- 子代理 B: 审查 src/api/
- 子代理 C: 审查 src/models/
等待全部完成 → 汇总审查报告
模式 2:扇出-优先
派发 N 个子代理 → 取最快的结果 → 取消其余
用于探索性任务,只需要一个可行方案。
调度协议
每个子代理的提示模板:
GOAL: [一句话 —— 这个子代理要完成什么]
CONTEXT: [为什么需要这个、相关背景]
FILES: [只涉及的文件路径]
CONSTRAINTS: [限制条件 —— TDD、不扩范围、不碰其他文件]
VERIFY: [如何确认成功]
REPORT: [需要的输出格式]
汇总
所有子代理完成后:
- 检查每个子代理的输出
- 对比一致性
- 发现冲突时标记并请求用户决策
- 汇总为统一报告
注意事项
- 并行子代理不共享内存,不要依赖对方的中间状态
- 避免并行修改同一个文件(会导致冲突)
- 设置合理的最大并行数(建议 3-5 个)
- 确保每个子代理有明确的成败标准
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 86 lines · 54 tokens per session scan A fae7133b2166
dispatching-parallel-agents is a skill published in the GitHub repository yinqd3/workbuddy-skills (6 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 626 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
results-report
A workflow for turning completed experiment analyses into a structured research report with findings, limitations, failures, and next steps.
math-unicode
Use whenever you need to express mathematical notation — equations, filters, set-builder, statistics, calculus, logic, ratios, drops, counts. Emit Unicode math glyphs INLINE; never wrap in $…$, \(...\), or $$...$$. Terminal coding agents (Claude Code, Codex CLI, and others) do not render LaTeX, so raw delimiters…
obsidian-markdown
Obsidian Flavored Markdown syntax reference — wikilinks, embeds, callouts, properties/frontmatter, tags, comments, block IDs. Use when creating or editing .md files in an Obsidian vault, when linking or embedding notes, when writing callouts or note frontmatter, or when the user mentions wikilinks, backlinks, block…
obsidian-docs
Create comprehensive technical documentation following Obsidian conventions with bidirectional linking, proper folder structure, templates, and developer-focused content. Use when creating documentation, READMEs, wikis, knowledge bases, ADRs, runbooks, or any technical writing. Triggers on: documentation, docs…
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.