English · 한국어
Delegate tasks from a Claude Code or Codex session to named tmux, cmux, or
herdr sessions (the terminal app or the Herdr desktop app) — find or create the session, run claude (default), codex, or a
plain shell in it, monitor the screen, and report the result back.
On herdr and the Herdr app it also starts work: hand it a Jira or Linear issue and it opens a worktree in a new workspace named after the issue, with planner, worker, and reviewer agents already running in the checkout.
Claude Code:
/plugin marketplace add janek-moon/planter
/plugin install planter@planter
Codex:
codex plugin marketplace add janek-moon/planter
codex plugin add planter@planter
The same skills load in both; start a new session after installing.
| Skill | Purpose |
|---|---|
planter:tenant |
Entry point: detects tmux/cmux/herdr/Herdr app, finds or creates the named session, routes to a runner |
planter:tenant-claude |
Runs the task under the claude CLI (default runner) |
planter:tenant-codex |
Runs the task under the codex CLI |
planter:tenant-shell |
Runs a plain shell command with sentinel-based completion detection |
planter:workshop |
herdr or Herdr app only: takes a Jira/Linear issue, files one, or works without any issue, then opens a worktree on a conventionally named branch, names the workspace after the work, and lays out planner/worker/reviewer panes with an agent started in each |
planter:collab |
herdr or Herdr app only, from the planner pane: checks with the reviewer pane that the issue is still needed, analyzes it, writes a plan, gets it approved in the reviewer pane, delegates implementation to the worker pane, triages reviewer-pane findings (and CodeRabbit's, when asked for), and opens the PR, moving the issue's status along the way — the planner never writes product code |
planter:sweep |
herdr or Herdr app only, from the planner pane of finished work: finishes follow-up issues and spec edits, removes the Docker containers, simulators, worktree, and branch that belong to the work, and closes the workspace last |
Just ask Claude Code or Codex:
- "Run the tests in the build session" / "build 세션에서 테스트 돌려줘"
- "Create a session called deploy and have claude fix the lint errors there"
- "Delegate
npm run buildto the build session as a plain shell command" - "Use codex for this one"
- "Fire and forget — just send it"
- "Start ABC-123" — opens a
feat/ABC-123-…worktree in a herdr workspace named after the issue - "File an issue for this and open a worktree for it"
- "Open a worktree for this, no issue needed"
- "Start ABC-123, reviewer as claude effort high" — overrides one pane's default agent
- "Take ABC-123 all the way to a PR" — from the planner pane: need check, plan, reviewer-pane approval, worker-pane implementation, diff review, PR
- Detect —
$TMUX/$CMUX_WORKSPACE_ID/$HERDR_ENV/ live-server probes pick the backend; nothing is assumed. - Resolve — the named session/workspace is reused if it exists, created and named if not.
- Inspect — the target screen is captured before any keystroke is sent; occupied panes are never overwritten.
- Run — the runner launches claude/codex or injects the sentinel-wrapped shell command.
- Monitor — the screen is polled until the completion signal fires and output stabilizes, then the result is summarized. On herdr and the Herdr app, the agent state (
idle/working/blocked) they report is used instead of screen polling. Fire-and-forget skips this on request.
- Resolve — the issue key is looked up in whichever tracker MCP is connected, and a key that does not resolve stops the run. With no key you are asked which you want: file an issue (read back to you first) or work without one, leaving the tracker untouched.
- Name — the branch follows the repo's own recent branches (prefix, key casing, slug or none); the base comes from
origin/HEAD, not a hardcodedmain. - Open —
git fetch originfirst so the base is current, then oneherdr worktree createmakes the checkout, the workspace, and its label; an existing worktree is reopened instead of duplicated (in the Herdr app,git worktree addmakes the checkout under the same~/.herdr/worktrees/path andherdr-appopens a space for it), and a branch that already existed is rebased onto the fresh base (a busy agent, a dirty tree, or a conflict stops the run; a branch already on origin is rebased only after you agree). - Lay out — planner, worker, and reviewer panes, all in the checkout.
- Start — an idle agent in each: planner claude Opus effort high, worker claude Opus effort medium, reviewer codex with the newest Sol model effort medium. Name a different kind, model, or effort per pane in the request to override ("reviewer as claude, high", "worker on sonnet"). The agents inherit the caller's profile (
CLAUDE_CONFIG_DIR,CODEX_HOME).
- Check — issue body, parent, links, and comments are compared against the latest base branch (code, history, PRs) to see whether the work is still needed. For a web or app client issue, the planner also checks the running client when one is available (a browser, or the iOS Simulator or Android emulator), captures screenshots when the screen is the evidence, and records when it could not run or reproduce it. The reviewer pane checks independently; both agreeing
proceedcontinues, both agreeingstopends the run with the evidence, and a disagreement that one more exchange does not settle goes to you. - Analyze — the code to change; the repo's own verification command, commit rules, review contract, and PR format from its docs.
- Plan — open questions are settled from evidence first (repo docs, any reference source they point at); a plan file with numbered verification items is written outside the repo.
- Gate — the reviewer pane must answer
approvedbefore anything is delegated;conditionalsends the plan back. - Delegate — the worker pane implements and commits; every later fix round goes there too, never to a subagent inside the planner pane.
- Review — reviewer pane always, plus the CodeRabbit CLI only when you ask for it, against the base branch; the planner triages, the worker fixes, every review that ran reruns until all pass.
- PR — pushed and opened against the base branch in the repo's format.
When the work has an issue, its status moves with it: to in-progress once the check says proceed, to in-review once the PR is open — whichever of the project's own transitions match. A failed or missing transition is reported, never blocking.
Every hand-off asks the worker or reviewer pane to message the planner pane when it finishes or has a question, so an idle planner wakes up on its own. The planner also watches each hand-off in the background: a pane that goes quiet without reporting — waiting on an approval, or idle while its own background command still runs — is caught and reported.
- Never boots a tmux/cmux/herdr server on its own.
- Only drives herdr from inside a herdr pane, and the Herdr app from inside one of its terminals.
- Never types over a pane occupied by another program.
- Never answers trust/permission/login dialogs in the delegated session without explicit user authorization.
- Never files a tracker issue without reading it back first, and never files one to cover an issue key that failed to resolve.
- tmux, cmux, herdr, and/or the Herdr desktop app (
hcandherdr-appon PATH) - git 2.13 or later — the skills use
git worktreeandgit branch --format - Claude Code or Codex with plugin support;
claude/codexCLIs on PATH for those runners - The issue-or-not choice in
planter:workshopis a click-to-answer dialog (AskUserQuestion in Claude Code,request_user_inputin Codex). Codex shows it in Plan mode, or in Default mode once thedefault_mode_request_user_inputfeature is enabled; otherwise it asks in plain text - For
planter:workshop: herdr or the Herdr app, and a git repo — plus a Jira or Linear MCP when the work comes from an issue - For
planter:collab: a herdr issue workspace (or Herdr app space) with planner/worker/reviewer panes, a tracker MCP, andgh; the CodeRabbit CLI (coderabbit) only if you ask for its review
- Codex:
codex plugin add planter@planterinstalls from the marketplace and all five skills appear in the model prompt - tmux: delegate to a NEW named session (claude runner, monitored)
- tmux: delegate to an EXISTING session (reused, not recreated)
- cmux: delegate to a new named workspace
- codex runner end-to-end (verified to the approval/usage-limit checkpoint)
- shell runner: sentinel DONE and FAIL paths
- herdr: split + label a pane, shell sentinel DONE/FAIL, claude and codex via
herdr agent - herdr: worktree workspace created from a branch + label, reopened by branch, removed
- Herdr app:
terminal.opensplits the caller's pane right/down with focus given back, shell sentinel viahc wait --output, claude andcodex --no-daemonlaunched through a login shell, multi-linehc send --wait, pane report viahc send - Herdr app: workshop opens a
git worktreespace with planner top left, worker below, reviewer on the right, roles marked byplanter.rolelabels - Herdr app: collab end to end
- workshop: worktree workspace opens with planner/worker/reviewer panes in the checkout
- workshop: base fetched before create, reuse path rebased, default agents started with their model and effort, per-pane override
- collab: stale issue stopped by planner and reviewer-pane agreement with its status untouched; disagreement goes to the user
- collab: client issue reproduced in a browser or simulator, screenshots saved next to the plan file and used in the verdict
- collab: issue moved to in-progress after the
proceedverdict and in-review after the PR - workshop: Linear and Jira lookup, issue creation path
- fire-and-forget: injection confirmed, no monitoring afterwards
- collab: plan gated by the reviewer pane, implementation landed from the worker pane, PR opened
- workshop: epic, story, and task tree filed on Linear and Jira with no implementation detail
- sweep: stops on an open PR or unpushed commit, keeps a closed PR's branch, removes a squash-merged worktree and branch
- sweep: without a PR, warns about commits and changes the base branch lacks, and removes them only after that warning is confirmed
- sweep:
git worktree removefrom the main checkout leaves a Claude planner able to keep running commands - sweep: Herdr app
space.closefrom inside the space ends the space and its terminals - sweep:
herdr workspace closefrom inside the workspace
