/foreman:delegate-with-foremanfrom foreman
Delegate scoped coding tasks to AI workers through Foreman. Use when a coding task can be split into independent implementation slices that should run in isolated git worktrees while Codex remains architect and QA.
Ships in foreman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use Foreman when the user explicitly wants Codex to parallelize coding work through AI coding workers, or when a repo task has independent file-scoped implementation slices.
claude-emux when the user may need to watch or interrupt Claude Code through Emux, or when Foreman should use the normal interactive Claude Code surface; claude only when the headless metered claude -p path is intentional; codex for hard reasoning/QA; gemini for broad alternate passes; aider for narrow patch tasks; opencode for alternate agent/model runs; gemma4 for throttled local Gemma-family runs; and smoke only for plumbing tests.foreman_delegate once per independent task.foreman_delegate as fire-and-return: record the returned worker_id, run_id, worktree path, and log path.
For claude-emux, also record the returned emux.head_command, emux.capture_command, and emux.interrupt_command.foreman_status for a cheap lifecycle check and foreman_tail for bounded recent logs while workers run.foreman_collect to review changed files and diff.foreman_finalize.Foreman's MCP server exposes more tools than an initial broad tool search may load. If only foreman_delegate, foreman_list, or foreman_control_jobs are visible, do not conclude the plugin lacks lifecycle tools. Search again for the exact names:
foreman_status foreman_tail foreman_collect foreman_finalize
Then use the newly loaded tools for status, logs, diffs, and finalization. This protects the plugin from partial tool-index exposure while keeping the same fire-and-return workflow.
For Slack or other remote-adjacent callers, prefer the control-plane path when available: submit a structured job with foreman control-submit, let a local or rented-machine agent lease it with foreman agent-run --once, then report back from control-status. This keeps Foreman reusable while preserving the same isolated worktree execution model.
Goal:
Acceptance criteria:
Files in scope:
Files out of scope:
Verification command:
Notes:
Keep worker specs narrow. Do not delegate broad architecture, secrets, deploys, money movement, destructive git actions, or human-only approvals.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub eidos-agi/eidos-marketplace --plugin foreman