orchestrating-agents

orchestrating-agents is a skill for Claude Code, Codex from IvanWng97/dotfiles. It costs 57 tokens per session (522 once invoked), scanned A, original, MIT.

A set of rules for coordinating subagents, workflows, background jobs, and other coding sessions. It covers how they share work, files, and machine resources.

In plain words
What is it for?
Use it before starting parallel agents, long background builds, cross-session communication, or worktree-based implementation.
Why use it?
It reduces conflicts, uncontrolled resource use, and lost deliverables when several automated coding tasks run together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

Good fit Use it before starting parallel agents, long background builds, cross-session communication, or worktree-based implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanwng97/dotfiles/orchestrating-agents
Install

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.

Any agent
npx skills add IvanWng97/dotfiles --skill orchestrating-agents
Clone the repo
git clone --depth 1 https://github.com/IvanWng97/dotfiles

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for orchestrating-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanwng97/dotfiles/orchestrating-agents/github.svg)](https://agentmods.dev/skills/ivanwng97/dotfiles/orchestrating-agents)
Your own site
<a href="https://agentmods.dev/skills/ivanwng97/dotfiles/orchestrating-agents"><img src="https://agentmods.dev/badge/skills/ivanwng97/dotfiles/orchestrating-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orchestrating-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanwng97/dotfiles/orchestrating-agents"><img src="https://agentmods.dev/badge/skills/ivanwng97/dotfiles/orchestrating-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00522
Opus 5.5 $0.00023 $0.00209
Sonnet 5.5 $0.00011 $0.00104
Haiku 4.5 $0.00006 $0.00052

Measured yesterday against content hash 6d6974b64527, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchestrating-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 yesterday.

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.

home/dot_claude/skills/orchestrating-agents/SKILL.md · 26 lines

How it starts

The opening of the file, as written. The whole thing — 26 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchestrating agents

Spawning

  • Work serially to keep token spend controllable (/clear between tasks preferred); when the budget runs low, finish the current step and stop.
  • Spawn implementers with isolation: worktree; mechanical steps run on Sonnet.
  • Sessions sharing one machine agree a concurrent-build cap and a free-disk floor before fanning out.

Shared state

  • Same-session subagents share the scratchpad: prefix file names with the agent's name. The scratchpad is wiped on restart, so nothing that must survive lives there. A subagent's rm there is denied, so whatever a finished subagent left there, the lead deletes without asking the owner.
  • Claude Code removes a worktree with a clean git status and no new commits (code.claude.com/docs/en/worktrees), so a deliverable the lead reads after a worktree subagent ends is written outside that worktree.
  • A scratch copy of a worktree excludes .git (rsync --exclude .git): the copied gitdir pointer makes git there act on the shared repo and its stash.

Waiting

  • With agents in flight, never ask the owner through a blocking question tool: it holds every report and monitor event until they answer. Ask in plain text and end the turn with a Monitor armed.
  • An agent idling on its own finished monitor sends nothing, so the lead's watcher is what wakes the turn. A subagent is not woken by its own background job's notification: it runs a long build in the foreground with a timeout. The lead's watchdog on a subagent fires within 10 min of quiet.
  • A named background agent's report can arrive as an empty idle ping: read it from the agent's transcript.
  • Every open PR I own stays under one watcher for its review verdict, unanswered threads and queue state.

Other sessions

  • A design another session's work consumes or carries (a public API, a wire format, a shared rule, a cross-repo flow) is aligned by every session it touches before it is built: each argues against the owner's bar with sources, no session's call wins by role, and disagreement converges before the PR.

Read the full file on GitHub · 26 lines

Changes

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.

  1. yesterday First seen · 26 lines · 57 tokens per session scan A 6d6974b64527

Subscribe to this mod's changes

orchestrating-agents is a skill published in the GitHub repository IvanWng97/dotfiles (94 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 522 once invoked, about $0.0002 per session on Opus 5.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-12-03.

Related

orchestrating-agents compared with skills from other repositories

orchestrating-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchestrating-agentsIvanWng97/dotfilesSkill942d agoMITA57Claude Code, Codex
codingryota2357/dotfilesSkill224d agononeA38Codex
astropymagic3007/dotfilesSkill112d agoMITA56Claude Code, Codex
esmmagic3007/dotfilesSkill112d agoMITA96Claude Code, Codex
smart-commitmagic3007/dotfilesSkill112d agoMITA19Claude Code, Codex
ralph-loopmagic3007/dotfilesSkill112d agoMITA63Claude Code, Codex
save-pipeline-memorymagic3007/dotfilesSkill112d agoMITA154Claude Code, Codex