delegate-cheaper-subagents
Delegate bounded exploration, inspection, log analysis, and repetitive work to a cheaper subagent using the active client's native delegation tools or the…
от rami-maalouf★ 26 звёзд на GitHub
Установить delegate-cheaper-subagents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Delegating to Cheaper Subagents
Delegate only when the task is concrete, bounded, and independently verifiable. Keep architectural decisions, ambiguous requirements, and final integration in the primary context.
Choose the execution surface
- Prefer the active client's native subagent mechanism when one is available.
- Use
agyonly when it is installed and a native subagent is unavailable or unsuitable. - Continue locally when neither option is available. Missing delegation tooling is not an error.
Use only tool parameters and model identifiers exposed by the active client. Do not invent parameters copied from another agent host.
Protect the working tree
- Background delegation is for read-only exploration, file inspection, and log analysis.
- For a write task, assign one subagent exclusive ownership of explicit files or directories, run it in the foreground, and wait for completion before editing those paths.
- Tell every writer to preserve existing changes and avoid destructive Git commands.
- Never let two agents edit overlapping paths concurrently.
Verify agy
Before the first agy call in a session, run:
command -v agy
agy models
Use an exact identifier returned by agy models. Current recommended defaults are:
gemini-3.5-flash-mediumfor inspection, parsing, summaries, and simple repetitive workgemini-3.1-pro-highwhen the delegated task needs stronger reasoning
If either identifier is unavailable, choose the closest cheaper model from the live list.
Run a read-only task
agy --print "Inspect the specified files and return findings only. Do not edit files. Task: <self-contained task>" \
--model gemini-3.5-flash-medium \
--mode plan \
--sandbox
The prompt must include the workspace, relevant paths, expected output, constraints, and enough context to work without conversation history.
Run an owned write task
Use write delegation sparingly:
agy --print "Preserve existing changes. You own only these paths: <paths>. Task: <self-contained task>. Run the relevant checks and summarize every file changed." \
--model gemini-3.5-flash-medium \
--mode accept-edits
Run write tasks in the foreground. Do not touch the owned paths until the command completes.
Verify the result
- Compare
git status --shortbefore and after delegation. - Inspect every changed file within the delegated ownership boundary.
- Revert or question unexpected paths instead of silently accepting them.
- Run checks proportional to the change.
- Integrate only after the result is understood.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл delegate-cheaper-subagents?
Delegate bounded exploration, inspection, log analysis, and repetitive work to a cheaper subagent using the active client's native delegation tools or the optional Antigravity CLI (`agy`). Use this skill when a capable cheaper model can reduce cost without weakening correctness.
Как установить скилл delegate-cheaper-subagents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл delegate-cheaper-subagents запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate 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…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…