Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

boss

FreeNo executable scriptsNot checked

Use ONLY when the user explicitly asks to orchestrate parallel external agents (Codex or Claude Code) in tmux sessions via tp (tmux-pilot). Or when a user…

monarch-initiativeby monarch-initiative★ 77 GitHub stars

About this skill

boss: orchestrate multiple agents in the dismech repo

Overview

Use this skill when the user wants you to orchestrate one or more dismech jobs, in such a way the user has observability via the tmux wrapper tp

Ground rules:

  • bosses are knowledgeable about dismech but delegate all work involving editing files
  • bosses will answer questions in response to a user, and may do preliminary research, but if it turns into something bigger, should be delegated to an agent
  • bosses delegate reviews to the claude github actions review; they may give their own perspective but reviewers decisions must not be overridden
  • bosses proactively keep things moving with high autonomy, and ask the human to resolve complex difficulties
  • bosses should understand that the agents they delegate to are knowledgeable with access to same CLAUDE.md, so no need for duplicate information

Example user invocations:

  • /boss curate foo syndrome
    • user intent: create a new tp session to curate a new disease
    • SOP:
      • run the duplicate preflight from initiate-new-disorder-creation before filing or delegating: check latest origin/main knowledgebase, all PRs, and all issues by MONDO ID, preferred label, and major synonyms.
      • create an issue (may be skipped): use gh.
      • start a tmux/tp session: tp new issue-NNNN-<handle> --profile codex --repo <path-to-dismech> --branch feat/dismech-issue-NNNN-<handle> --description <desc> --prompt "/curate <DISEASE> <INFO>"
  • /boss status
    • user intent: I want to know the status of all sessions in this repo
      • are they active?
      • is the agent on the right track? If not, use tp send ...
      • is there a PR? What is it?
      • is the PR passing?
      • has the PR been reviewed? If so, was it approved? If not, send tp send <name> "address comments in #<NN>
      • is the PR in conflict? I so, prompt the agent to fix: tp send ...
  • /boss kill
    • user intent: PR is merged, and I don't need to do further work; tear down the session/worktree/branch

About

Turn the main session into an orchestrator of external agents running in tmux. Each worker is a Codex or Claude Code process inside its own tmux session, on its own branch, in its own git worktree. Boss observes and steers via tp (tmux-pilot) — never via raw tmux send-keys. Boss does not write code itself.

Core principle: one worker = one task = one branch = one worktree.

When NOT to use

  • The user did not explicitly invoke boss / tp / tmux-pilot / "external agents". A bare "do these in parallel" is not a boss invocation — use superpowers:dispatching-parallel-agents (in-process subagents) instead.
  • Single-task or strictly sequential work — just do it directly.
  • Tasks have cross-dependencies. Boss assumes embarrassingly parallel work (in dismech: one PR per disease). Serialize dependent work yourself.

Hard rules

  1. One task, one session, one branch, one worktree. Never reuse a session for a second task.
  2. Every worker gets its own isolated worktree under ~/worktrees/ (tp's default). Multiple boss-managed agents run in parallel on different branches — they cannot share a worktree (git only permits one worktree per branch), cannot reuse the orchestrator's checkout, and must never be placed inside the repo (.worktrees/, .claude/worktrees/, workdirs/, etc.). Isolation is the whole point of the parallel-agents model: one agent per ~/worktrees/<slug>/, period.
  3. Use tp exclusively for agent control — tp new, tp send, tp peek, tp status, tp ls, tp set, tp kill, tp clean. Never use raw tmux send-keys or tmux capture-pane for agent interaction. Read-only tmux list-sessions is acceptable if tp cannot cover it, but prefer tp ls --json.
  4. Default profile is codex. Use --profile claude only when the user says so or the task is reasoning/review-heavy rather than mechanical.
  5. Issue linkage:
    • Multi-commit work: --issue N is required. tp pulls the issue title into @desc and derives a branch like fix/N-<slug>.
    • Single-commit chore: --issue optional; -d "description" is enough and you pick the slug.
  6. Every tp send after session creation uses --wait. Agents are not always at a sendable prompt; --wait blocks until they are.
  7. NEVER use local git rebase to resolve conflicts on curation branches. Use GitHub's server-side "Update branch" API instead:
    gh api repos/monarch-initiative/dismech/pulls/PR_NUMBER/update-branch \
      -X PUT -f expected_head_sha="$(git rev-parse HEAD)"
    
    This is the same as GitHub's "Update branch" button: it merges main into the PR branch server-side, touches only conflicting files, and avoids local working-tree pollution. If it succeeds, git pull in the worker worktree and re-run validation. If GitHub reports unresolvable conflicts, set @status waiting-human and report the conflic
Full SKILL.md on GitHub

Install boss in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the boss skill do?

Use ONLY when the user explicitly asks to orchestrate parallel external agents (Codex or Claude Code) in tmux sessions via tp (tmux-pilot). Or when a user tells you that you're the boss or orchestrator. You can also use this if you are an operclaw agent. NEVER auto-invoke for a generic "do this in parallel" request. For in-process subagents, use superpowers:dispatching-parallel-agents instead.

How do I install the boss skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the boss skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare boss with