eltmon/overdeck/pan-worker
Claude Code and agent skill by eltmon/overdeck
- community
Checking that the SKILL.md file is still in the repository.
pan worker run|wait|report|list|register — delegate a bounded task to a registered, issue-linked worker agent and get its report back. Use instead of a harness plugin such as the Codex plugin; register agents another tool launched so the Agents Directory shows them.
Install
npx vskill@latest install eltmon/overdeck/pan-workerSKILL.md
The same SKILL.md was published earlier as eltmon/overdeck/pan-worker.
Registered Workers
Overview
pan worker run starts a worker: a separate agent for one issue that does one brief and hands its report back to you. The worker is a native Overdeck agent with role worker. It runs in a persistent pane on the host's terminal backend, with its own state.json, transcript, cost, and model routing (roles.worker.model). You are its parent: you can steer it with pan tell, and it appears in the Agents Directory under you and under the issue.
Use a worker instead of a harness plugin (for example the Codex plugin): a plugin's agent is invisible to Overdeck, and nothing can steer or stop it.
When to use
- Delegate a bounded task (an investigation, a review pass, a fix in an isolated worktree) and get the
result back as text.
- Get a second opinion from another model or harness (
--model,--harness). - Run review-style work that must not change the branch (
--read-only).
Do not use a worker for the issue's own implementation lifecycle: never tell a worker to run pan done, pan review, or pan task done.
Workers or lanes? A worker is for issue-linked delegation inside the managed pipeline. For gauntlet fan-out outside it, use a lane (pan lane start, the pan-lane skill): a lane is a conversation, so it runs any harness, nests under its orchestrator on the Command Deck, and has a transcript view and a composer.
Commands
pan worker run flags: --issue (required), exactly one of --prompt or --brief, and optionally --model, --harness, --effort <level> (default: roles.worker.effort), --read-only, --cwd (must be inside the issue workspace), --parent, --name, --detach, --timeout <seconds>, --stop-after-report, --machine <label|auto>, --needs <tags>, --push-first, --ignore-unpushed.
- Primary checkout refusal. A read-write worker's
--cwdthat resolves (symlinks followed) to a
project's primary checkout is refused with --cwd <path> is the primary checkout of <project>; use a worktree. --read-only workers are not checked.
- Working directory. By default the worker gets its own git worktree at
<workspace>/.swarm/worker-<n>/ on branch <feature-branch>-worker-<n>. With --read-only it runs in the issue workspace behind a git PATH shim that prevents accidental git writes to the issue's repository (the primary checkout and every worktree of it). Reads such as status, diff, log, show, config --get and branch --show-current still work; fetch does not. The shim is not a sandbox: an absolute /usr/bin/git bypasses it, so does OVERDECK_PAN_GIT_OP=1, and it does not restrict file or network writes.
- Parent.
--parent, else$OVERDECK_AGENT_ID, else$OVERDECK_CONVERSATION. Called from an agent
with none of these, the command fails and asks for --parent.
- Another machine (`--machine`).
--machine <label>runs the worker on a linked machine;
--machine auto lets Auto placement pick by load (--needs docker,gpu restricts it to machines with those tags). The other machine needs a project with the same repository; if it has none, the error names pan machines add-project … --to <machine>. It starts from its view of origin, so unpushed commits here refuse the run unless you pass --push-first or --ignore-unpushed. You get a local stand-in id (agent-<issue>-worker-<n>): pan worker wait on it mirrors the remote worker's reports, keeps waiting while the other machine is asleep, and stopping your parent stops the remote worker. --cwd cannot be combined with --machine.
Exit codes (run and wait)
| Code | Meaning | Output | |
|---|---|---|---|
| 0 | Report with status done | Report body on stdout | |
| 4 | Report with status blocked or failed | Report body on stdout | |
| 2 | Worker exited, or sat idle 10 minutes, without a report | Its last assistant message on stdout, prefixed [no report — last assistant message] | |
| 3 | Timeout; the worker is still running | The exact pan worker wait to run next, on stderr | |
| 1 | Usage or spawn error | Reason on stderr |
Status lines always go to stderr, so stdout is only the report. A report's status line names its sequence number and the next wait, for example worker agent-pan-123-worker-1 report 2: done; next: pan worker wait agent-pan-123-worker-1 --after 2.
Which report wait returns
pan worker wait <id>with no--afterreturns the newest report the worker has written, even one
written while nothing was waiting. Use it for the first report of a --detached worker.
pan worker wait <id> --after <n>returns the next report aftern. Once you have read reportn,
every later wait passes --after <n>; otherwise you get report n again.
How to wait from each harness
- Claude Code: run
pan worker run …with the Bash tool'srun_in_background: true. The
foreground limit is 10 minutes; a background command notifies you when it exits, and its stdout is the report.
- Codex and other harnesses: run
pan worker run … --detachto get the id, then wait in a loop
until the exit code is not 3. A timed-out wait loses nothing: the next one still returns the report.
``bash id=$(pan worker run --issue PAN-123 --brief brief.md --detach) pan worker wait "$id" --timeout 540 # repeat while the exit code is 3 # after reading report 1, wait for the next one: pan worker wait "$id" --after 1 --timeout 540 ``
Follow-ups
A worker stays running after it reports. To give it more work:
Only the worker's parent, the issue's work agent, or an operator conversation may pan tell a worker. Stop a worker you no longer need with pan kill <worker-id>. Stopping it (or --stop-after-report) keeps its .swarm/worker-<n> worktree and branch, because you may still need its work. The worktree is removed only when the issue's workspace is deleted, and the branch only once its commits are in main or the feature branch; an unmerged worker branch is always kept. Merge what you need.
Reporting (for the worker itself)
The brief ends with the exact command. Write the report as Markdown to a file, then run pan worker report <your-id> --file <path>, with --status blocked or --status failed when you could not finish. Put the answer first. An agent can record a report only for itself.
Registering an agent another tool launched
pan worker register records an externally spawned agent (one Overdeck did not launch) so the Agents Directory shows it, with its transcript when Overdeck can read that kind. Overdeck can show and read an external agent; it cannot pan tell, stop or restart it.
- Required:
--source([a-z0-9-], up to 32 characters;codex-pluginis reserved),--external-id,
--harness. Optional: --model, --cwd, --issue, --parent (agent id, conversation tmux session, or claude-session:<uuid>), --label, --pid, --transcript, --session-id, --json.
- The id is
ext-<source>-<external-id>. Registering the same source and external id again prints the
existing id and writes nothing.
- With
--pid, the directory shows the agent working while that process runs (the pid's start time is
recorded, so a reused pid is not mistaken for it).
- Scripts without the CLI can
POST /api/workers/registerwith the same fields as JSON and the
x-overdeck-internal-token header.
- Codex-plugin jobs (
codex:codex-rescueand friends) are registered automatically; you do not need
to register them.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsync-sources/skills/pan-worker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eltmon/overdeck/pan-worker)