selamy-labs/agent-skills/orchestrate-claude
Claude Code and agent skill by selamy-labs/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Reliably launch, supervise, resume, and hand off Claude Code as an interactive tmux worker. Use for bounded Claude delegation, remote or alternate-user operation, auth recovery, dedicated quota routing, and proving a directive was submitted rather than merely pasted.
Install
npx vskill@latest install selamy-labs/agent-skills/orchestrate-claudeSKILL.md
The same SKILL.md was published earlier as selamy-labs/agent-skills/orchestrate-claude.
Orchestrate Claude Code
Establish the lane
- Resolve the executable in the target user's login environment with
command -v claude. Readclaude --helpandclaude --versionbefore selecting flags; aliases, models, permission modes, and resume options can change. - Verify the target OS user, Claude account and quota route, repository, clean exact base commit, and worktree. Give one writer exclusive ownership of each concern. Do not authorize a personal OAuth account when a dedicated delivery account is intended.
- Name the tmux session for the repository, task, and date. Record the host, OS user, session, worktree, branch, base SHA, worker role, and permitted paths before launch.
- Put a long directive in a file. Do not interpolate it into nested SSH or shell quoting, and do not put secrets in it. Launch with
scripts/launch_tmux.sh; it reads the file and supplies the complete text as Claude's single initial positional prompt.
Choose model, effort, agents/team configuration, and permission mode from current help and the task. Use --dangerously-skip-permissions or --permission-mode bypassPermissions only with explicit authorization and an externally isolated, correctly scoped worktree. Permission bypass does not broaden the authorized task.
Prove dispatch
Immediately inspect both process and pane:
Confirm the cwd and child argv match the intended executable, flags, and prompt. Handle workspace-trust and OAuth/login screens in the TUI. Before completing authorization, verify the displayed account is the intended identity and quota owner.
The launcher prints a unique dispatch ID and empty pre-capture path. After resolving trust/auth screens, verify that exact dispatch:
For a follow-up already stored in an absolute-path file, use scripts/submit_followup.sh "$SESSION" "$FOLLOWUP". Using python3 and the bundled scripts/orchestrate_dispatch.py classifier, it checks pre.txt first (exiting 75 if a modal/approval UI or dirty composer blocks input, and also exiting 75 if a modal/approval UI blocks input during paste or submission), sends the directive via bracketed paste (tmux paste-buffer -p), verifies composer readiness before Enter, and classifies wrapped panes into submitted, queued (ORCHESTRATION_ALLOW_QUEUED=1 opts in), accepted_active, unsubmitted, partial_paste, blocked_modal, or ambiguous — sending at most one recovery Enter strictly when the intact directive remains unsubmitted in an idle composer.
Count work as dispatched only when the verifier finds the unique start and end markers in order (even across soft-wrapped lines), Claude's exact post-end acknowledgement, fresh activity after that acknowledgement, and a new clean composer after the activity. Generic tool-call text anywhere else is stale or unrelated evidence and must fail. A marker still held in the active composer or split across regions is not submitted work.
Supervise and recover
Classify every observation explicitly:
- running: output, tasks, subagents, or tool activity advances;
- idle/completed: the prompt returned after a result;
- input-blocked: a question, choice, or approval awaits input;
- trust/auth-blocked: setup, OAuth, or login prevents work;
- quota-blocked: the intended account cannot continue;
- dead: the pane or process exited.
Quota is a provider state, not proof of quiescence. Retain its recorded response and account/model/reset scope when available, distinct from wrapped or clipped TUI text. Inspect the bound parent, subagent, tool and queued-launcher handles; preserve active producers rather than treating an observer timeout as termination.
When quota blocks progress, retain admitted tasks, exact source proofs and authorship. Distinguish substituting an authorized operational executor from transferring source custody; use the existing supported handoff for the role that changes. Prove the old writer quiescent before assigning the same scope to already available authorized capacity, then confirm actual startup. Continue independent work within current limits and holds, without duplicate authors or another controller.
Answer safe in-scope choices, repair trust/auth under the intended identity, or restart from the recorded lane. Preserve the session ID/name and use current --resume, --continue, or --session-id semantics from help. Use subagents or agent teams only for collision-free bounded work with one integrator. Never infer liveness from tmux session existence alone.
Accept the result
Require a handoff containing exact commit/tree/parent, changed paths, tests and gates, clean status, remaining risks, and tmux/Claude session identifiers. Independently inspect the artifact or PR at the exact head. A narrative, green test from another SHA, or an idle pane is not delivery.
Security
- Security scanPassed, 100 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 repositoryCheckingskills/orchestrate-claude/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/selamy-labs/agent-skills/orchestrate-claude)