farm-out
БесплатноЗапускает вложенные скриптыНе проверенRun ALL delegated agent work through the CLIProxyAPI wrappers. Use INSTEAD OF the Agent tool, subagents, the Workflow tool, and in-session agent teams — for…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
farm-out
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Delegation runs in a separate process on a CLIProxyAPI wrapper, not in this session. This session keeps its own auth, Remote Control, and connectors; the work runs on proxy models.
There is no default runner: each --tasks row is routed by its kind (see
Provider routing below). Name a provider only when the task calls for a specific
model family, or when cross-checking one family against another.
Supersedes the built-in tools
| Instead of | Use |
|---|---|
Agent tool / subagents |
scripts/farm.sh (single or fan-out) |
Workflow tool |
scripts/farm.sh --workflow <abs script> --args <file> --out <file> |
| in-session agent team | scripts/farm-team.sh |
| persistent / remote agents | the agent-spawn skill (it reaches other machines; this skill does not) |
A description cannot carry this on its own — three rewrites all plateaued near
40% recall, so the routing is enforced by ~/.claude/hooks/main-thread-guard.sh
(PreToolUse on Agent|Task|Workflow|Edit|Write|NotebookEdit). It denies with a
reason that names the runner, which a bare permissions.deny rule cannot do. The
hook exempts FARM_OUT_CHILD=1 (our own runners' children, else farm-team.sh
blocks itself) and named agent types like Explore/Plan/librarian. Add to its
case to exempt another one.
Delegating is a choice the hook cannot make for you — the Agent|Workflow
branch only redirects delegation you already chose. To make a project refuse
main-thread implementation outright, set "farmOutOnly": true in its committed
.claude-workflows.json; every Edit/Write there is then denied unless it
targets that file, .claude/plans/, or .work/. Without it the Edit branch
allows unconditionally whenever no work dispatch is owed.
Two rules that are not optional
1. A returned result is not evidence. A delegated run reports
is_error: false and a confident summary whether or not it did the work.
Observed twice: two runs quoted invented teammate output, with zero tool calls
and zero filesystem trace. Always give the task a checkable artifact and pass
--expect <path>; the runners exit non-zero when an expected artifact is
missing, empty or older than the row (not written this run: <path>), or when the child ended with a background job still running (the row's
failure names it: ended with background job running: <cmd>; a Stop hook in
the child refuses that turn end first). Never relay a delegated summary you did not verify.
2. Every delegated prompt carries the anti-simulation clause. The runners append it automatically. Do not hand-roll a delegation that skips it.
One watcher per SESSION, not one per dispatch
Do NOT arm a Monitor or an until test -s loop to be woken. The watcher mod
(hooks/watch/watcher.ts) reads every farm run, work round and grind loop this session launches from
$TMPDIR/farm-events/<session>/ and wakes YOU — not the user — ONCE per run on DONE and on a run
whose process is gone with no verdict (GONE), naming its report path. farm-status, run as a
statusLine command, prints the running line from the same files (farm: 2 running (ds-rules 43m, …) · work <run> round 2/3 2/5 checks); set it with
{"statusLine":{"type":"command","command":"farm-status","refreshInterval":5}}, or a composing
script that calls it. /farm prints the table: label, state, elapsed, artifact, report. Its timer
restarts with every session start and reload, which the retired farm-runs monitor never did — a
finished run once woke nobody for hours.
Arm a task-specific wait ONLY when a run's finish must trigger a follow-up COMMAND — a wake is
not your next step. Background that step: until test -s <expect>; do sleep 20; done; <next step>.
Never with an unbracketed pgrep -f; the v6.26.3 guard denies a pattern matching its own checker.
A --workflow run prints an hourly CronCreate backstop — it survives --resume/--continue
and a session that was not running (--no-cron opts out; --tasks prints none). Arm it the turn you see it. When
you launch that run DETACHED (setsid nohup … > log) the printout lands in the log, not in front of
you, so create the cron yourself at launch: 7 * * * *, recurring, non-durable, prompt
and? (farm <run-dir name>).
Pick the shape first: sealed worker, or orchestrator
--agent <name> runs the delegation AS one of your agents — its real system prompt,
its preloaded skills, its declared toolset. That last part is the whole decision,
because every persona agent is sealed against DELEGATION: ds is
`Read/Gr
Установить farm-out в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл farm-out?
Run ALL delegated agent work through the CLIProxyAPI wrappers. Use INSTEAD OF the Agent tool, subagents, the Workflow tool, and in-session agent teams — for any "delegate this", "run these in parallel", "fan out", "have an agent review/investigate/search", "use a subagent", "spawn a team", "get a second opinion", "run this workflow script", or any task you were about to hand to a background agent. Also use for explicit mentions of cliproxy, codex-code, gemini-code, claude-code, farm out, or delegating work to another model. NEGATIVE ROUTING: anything phrased as a new, background, separate or companion SESSION — 'spawn an agent', 'spawn a background claude', 'kick off claude in <dir>' — belongs to agent-spawn, which fires first and carries this work inside its prompt; messaging a session that already exists is agent-msg; designing, repairing or auditing a workflow is workflow-creator; and a `work`, dev or ds dispatch goes through work-dispatch.sh, never a hand-written farm.sh --workflow line.
Как установить скилл farm-out?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл farm-out запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic