orchestratelisted
Install: claude install-skill lucasvmigotto/ai-gent
# Orchestrate — the right agent for each task
Scope: **which agent and model runs each task, and doing it with few
tokens.** Nothing else: no product phases, audits or evals of the product.
Roles and their mapping to models live in
`../../references/agent-roles.md` (a project may override it in
`.ai-gent/orchestrate.yaml`); this skill never names a model on its own.
You, the session running this skill, are the `thinker`. Several
features or tracks at once, each in its own worktree, is
`agents:parallel`, which may hand a feature to this skill.
```bash
TOKREP="python3 <plugin>/scripts/token_report.py" # Claude Code only; see Token economy
```
## 1. Plan the work
1. Read the feature's `tasks.md` (or the task list the user gave). Tasks
carry `Executor:`, `Reviewer:` and `Effort:` tags; add the defaults
where they are missing (`builder`, `thinker`, `low` for mechanical work).
2. Group tasks into **cards**: batch small related tasks into one card;
split only where cards can run in parallel or one would overflow a
context.
3. Decide what runs in parallel: cards touching disjoint files, at most
`max_parallel` at once (default 4) and, on Claude Code, no more than the
budget's `max_agents` subagents (default 2) and `max_opus` on Opus
(default 1). More exhausts account limits and costs more in retries
than it saves.
4. On Claude Code, **tag and project every card**. Tag it from the list in
`../../references/token-tags.md` (one value per facet; `lang` re