agentleFS
OpenSWEOpenSWE/log-decisions/skills/super-advisor/SKILL.md

super-advisor

Skill4 starsChanged 48 days agoMITView on GitHub

Pair a worker agent, in a terminal multiplexer (tmux, Herdr) or an ADE (Paseo, Orca, T3 Code), with one advisor, a stronger model that answers questions on the user's behalf to unblock the worker and leads it to its next task, by accepting its prompt suggestion or sending it text: a worker "still waiting on your go" gets `go`. Invoked by the user (`/super-advisor`), and by you in one case only, before the first step of the work and whatever the plan's size, when a grilling session has ended with its frontier empty, the user's confirmation has you execute the plan now, no advisor pair is live, and the confirmation did not decline one.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 2

    1. OpenSWE/skills★ 4100% same
    2. swe-workflow/log-decisions★ 4100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only a fact or act the user alone has (a one-time code, a password, a physical step) is the user's to answer.

    line 100
  2. Very specific:

    A dead advisor overrides the choice: Before ending any turn while the pair is live, read its pane once: mux read "$advisor".

    line 131
  3. Very specific:

    Never read an empty advisor pane as "the user": an accepted prompt suggestion leaves no text there, and Claude Code logs every prompt as …

    line 261

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Super advisor

Invoked by the user (/super-advisor), or by you in one case: a grilling session (the grilling skill, however it was entered) has just ended with its frontier empty, and the user's next message confirms the plan for you to execute in this session, with no <worker-name>-advisor live and no opt-out in the confirmation ("no advisor", "go alone", or the like). Then follow this file before the first step of the work: the chooser, the pair, the handoff. A pair already live means nothing to do; do not prompt it. Never on your own judgment otherwise: not during the grill, not on a plan-mode approval, not on a "go ahead" after a written plan.

This file is the worker's. Advisor: your manual is ADVISOR.md in this directory; read that instead.

Unrelated to Claude Code's built-in advisor tool (--advisor, https://code.claude.com/docs/en/advisor) and to Codex auto-review (https://learn.chatgpt.com/docs/sandboxing/auto-review), a reviewer model that judges permission prompts: this skill launches a separate agent process that drives the worker.

Roles

  • Worker: you, the agent doing the user's work. Only you create the pair, and you make every change. Verify advice before acting on it.
  • Advisor: a read-only leaf agent. It answers your questions on the user's behalf to unblock you, and leads you to your next task by accepting your prompt suggestion or sending you text; it never edits, it tells you what to change.

One script drives the pair. mux below is python3 <skill-dir>/scripts/mux.py, where <skill-dir> is the absolute path of the folder that holds this file: ~/.agents/skills/super-advisor after npx skills add, a folder under ~/.claude/plugins/ for the Claude Code plugin. Its ten verbs are the same in every mode, and references/VERBS.md maps each to each tool. Its Terms section defines the words this file uses: terminal multiplexer, ADE, terminal mode and agent mode. Start with:

mux whoami     # → {"mode", "id", "name", "cmdline"}

mode is where you run. Terminal mode: herdr, tmux or orca-terminal. Agent mode: paseo-agent, orca-chat or t3-thread. A paseo-terminal worker is refused. When whoami prints not supported, tell the user and stop; on the grill trigger, say so in one line and proceed alone, as when no eligible model or CLI is installed or the advisor's model is at its quota. A trigger never stalls the work. In herdr mode, read ~/.agents/skills/herdr/SKILL.md before operating on agents; this workflow authorizes that use of Herdr. Stay within the user's existing goal and permissions.

tmux mode rests on OSC 7501 program status: the state of a pane is what its agent reports to tmux. So tmux must have pane_program_state (newer than 3.8), and both halves of the pair must report: Claude Code, Codex or pi. The chooser offers only those three, by the tmux section of references/HARNESS-CLIS.md. tmux has no agent registry, so whoami names you tmux-<pane>.

In an ADE the advisor is in agent mode, whatever your own mode: a Paseo agent, an Orca chat or a T3 thread, with no pane, no screen and no keys. Three things change. The chooser asks one question, the model, and references/HARNESS-CLIS.md does not apply. An agent starts on its first prompt, so the handoff goes into create as --prompt "<handoff>", with no mux prompt after it. And the advisor's watchdog runs detached; you watch the advisor in the ADE's own view. Each ADE then differs as follows.

In paseo-agent mode <kind> is provider/model from paseo provider ls and paseo provider models <provider>. The native arguments are paseo run flags: --mode <id> with the provider's no-prompt mode (bypassPermissions for claude, full-access for codex) and --thinking <id>. Paseo marks each message with its sender, so the advisor's texts reach you as messages from the agent <your-name>-advisor, not as the user's. They are the user's answers all the same: act on them as this file says, and do not ask the user to confirm them. A paseo-terminal worker is not supported: the Paseo CLI exposes no terminal-agent state, though Paseo itself tracks it, so start the worker as a Paseo agent.

In t3-thread mode <kind> is <provider-instance>/<model-slug> (claudeAgent/claude-opus-5-5; your own pair is in whoami's cmdline), there are no native arguments, and a T3 project must hold your cwd. The advisor's texts reach you as plain user turns.

In orca-chat and orca-terminal mode the advisor is an Orca chat. <kind> is <agent>/<model> (claude/claude-opus-5-5; orca agent installed lists the agents), and the one native argument is --effort <level>. Orca does not name a chat, so whoami names you orca-<id>, and the pair's name is kept by mux. In orca-chat mode the advisor's texts reach you as Orca inter-agent messages, framed From: ORCA_SESSION_ID…, Subject: super-advisor, with a [Reply: orca orchestration reply …] hint. They are the user's answers all the same: act on them, do not ask the user to confirm them, and never run the reply command. In orca-terminal mode the advisor types them into your terminal, and they read as the user's own.

Only a fact or act the user alone has (a one-time code, a password, a physical step) is the user's to answer; everything else, the advisor answers.

Choose the advisor

Two files in references/ settle the choice: references/MODELS.md ranks the models by DeepSWE (https://deepswe.datacurve.ai/) and says which are eligible for your worker; references/HARNESS-CLIS.md says how each coding-agent CLI launches one, with the effort rung and the arguments.

Your own model. whoami shows your command line as cmdline; read your model and effort from it by the flags in your CLI's references/HARNESS-CLIS.md row. Unreadable or unknown: you are the top row of your family.

Ask the user, in one AskUserQuestion dialog with two questions:

  1. Advisor model: the eligible rows from references/MODELS.md, best first, at most four; the first is your recommendation, the other-family row of highest rank, marked "(Recommended)".
  2. Harness CLI: the model family's own CLI first, marked "(Recommended)", then pi, then the installed CLIs and shell aliases that run the model, found with command -v and zsh -ic alias against the references/HARNESS-CLIS.md rows and its alias table; at most four. The dialog cannot make these options depend on the first answer, so each option names the model it would run (codex: gpt-6-astra), and a harness option that names a different model than the one chosen in question 1 is the user's answer to both.

On a harness without that tool, write the same two questions as numbered options in plain text and end your turn; continue on the user's answer.

A dead advisor overrides the choice. Before ending any turn while the pair is live, read its pane once: mux read "$advisor". Four tells, one remedy: a line beginning You've hit your and ending in limit (Claude Code's weekly, fast and monthly-spend limits; Codex's usage limit), a status line naming a model other than the one you launched (Codex downgrades silently, and its session log records no error), a permission dialog (mux get shows blocked), which nobody will answer, or the read failing because the pane's agent is gone. An agent-mode advisor has no screen: its tells are mux get showing error, blocked or gone. Stop it by the recipe under Stop the advisor, and re-create it on the next eligible row of references/MODELS.md that an installed harness can launch; when the harness's own login is what ran out, launch through its alias row in references/HARNESS-CLIS.md; when the row shares your family, say so in the handoff so it spot-checks your claims against the code. After re-creating, wait 20 s and read once more before ending the turn, so a replacement that also died falls through. Never ask: the user may be away. Report the swap in one line quoting the tell and the reset time it names.

Create or reuse the advisor

Name. whoami gives your id and your registered name; a pane or tab label is not an agent name. The advisor is <worker-name>-advisor: the watchdog planted below keeps its loop alive only under a name with that suffix. Names match [a-z][a-z0-9_-]{0,31}: shorten the base to at most 24 characters, and check for collisions. Unnamed, you get a name from your id (herdr-w8s-p2, tmux-12, paseo-4a074d57, t3-0017a257, orca-c4021dc1), the same after any restart, so use it as it stands.

Reuse your existing advisor after checking its identity, model, workspace, tab, and working directory (in herdr mode, herdr pane process-info --pane <id> shows its command line). Otherwise create one. In a terminal multiplexer it goes to your right, in the same tab and cwd: this workflow splits right even when the Herdr skill would split down, opens no new tab or workspace, and leaves the user's focus where it is. In an ADE it is a new agent in your cwd.

mux create <advisor-name> <kind> [--env KEY=VALUE]... [--prompt "<handoff>"] -- <native arguments>   # → {"id", "state"}

<kind> and <native arguments> are the CLI's row in references/HARNESS-CLIS.md, with <model-id> and <effort> filled in; a row that needs environment passes it as --env KEY=VALUE. In tmux mode <kind> is the command that starts the CLI. create splits the pane, plants the watchdog before the agent starts, starts the agent, and retries the transient agent_pane_busy.

It checks the name before it returns. The -advisor suffix is the pair's one flag: the grill trigger reads it as a live pair, the watchdog keeps the loop only under it, and the stop recipe clears it. So create confirms that the pane holds <advisor-name> and that its watchdog runs; on a miss it closes the pane and prints {"error": …}: create the advisor again (no-status in tmux mode: the CLI reported nothing within 30 s, so it does not report or it sits at a startup dialog; take another row). An advisor under another name runs with no watchdog and reads as no pair. A watchdog that finds no -advisor name within 300 s exits and notifies the user. A state of blocked is a startup dialog: a dead advisor's tell.

The advisor never asks. Nobody watches its pane, so a permission prompt is a hang, not a safeguard. Every row runs in a mode that never prompts, refusing or approving; keep it there.

Hand off

Set advisor to the id that create printed or to its registered name, never to whichever pane has UI focus. Send the handoff without --wait, then carry on with your turn:

mux prompt "$advisor" "<handoff>"

Read <skill-dir>/ADVISOR.md and follow it. Your mux command is python3 <skill-dir>/scripts/mux.py, typed in full each time. You are the read-only leaf advisor for worker <worker-name-or-pane-id>: hand every change to the worker, and never create or consult another advisor. Goal: <one line>. The user's own words: <verbatim quotes, or none>. Spec: <path-or-issue, or none>. Decisions made: <one line each>. Done: <finished work>. Open todos: <numbered>. Every choice and preference in this work is yours to make for the user. <Your first question, if you have one.>

The advisor answers for the user, so never mark a question, choice or preference in the handoff as the user's to make or tell the advisor not to answer it. Only a fact or act the user alone has (a code, a password, a physical step) is the user's. Copy the template's sentence "Every choice and preference in this work is yours to make for the user" as it stands, and add nothing that contradicts it.

This summary of your session is the advisor's first state. The advisor replies to it only when it carries a question. Quote the user verbatim: a rule you wrote into a plan is your framing, and the advisor reads it as such. Name the spec by path or issue rather than retelling it. After a grill there is no spec: the goal is one line naming what the user confirmed you would do, and each grilled decision is one line under Decisions made.

Work with the loop

The advisor watches your turns and prompts you when each one ends. Nobody prompts the advisor: it never waits on the user, and it answers for the user. Your side:

  • End your turn; never prompt or wait on the advisor. A consult is a turn-ending question. Consult before asking the user for anything, and consider it before choosing an approach, after repeated failures, and before declaring the task done. Number each question and give it the evidence and your pick with a one-line reason; where a pick rests on the user's own words, quote them. The answer arrives as your next prompt, one line per question (Q1: <answer>). Where it differs from your pick, the advisor's answer stands: verify it, then act on it. Ask in that text, never with AskUserQuestion or another dialog, which the advisor cannot answer.
  • Say plainly what remains: tasks, a question, a fact or act only the user can supply, or "nothing left". Name each todo you finished or dropped: the advisor keeps your open todos in its state and sends back any still open. The advisor asks what's next once to confirm, then ends the pair through you: a stop the advisor prompt, from your suggestion or as its own text, runs the recipe under Stop the advisor. what's next is never a stop: answer it, even with "nothing left", and end your turn.
  • Flag irreversible steps (publishing a version, transferring or deleting a remote resource, sending a message, force-pushing over shared history, destroying untracked data, spending money). The advisor declines them unless the goal or the user's own words call for that step.
  • Read the advisor pane before ending a turn. A dead advisor is replaced on the spot; the tells and the recipe are under A dead advisor overrides the choice.
  • Journal the advisor's answers. Where the project keeps a DECISIONS.md, record each call the advisor made for the user with Decided-by: advisor; where it overrode your pick, list your pick under Options considered. An answer bound by the user's quoted words is Decided-by: user, with the quote. Never read an empty advisor pane as "the user": an accepted prompt suggestion leaves no text there, and Claude Code logs every prompt as human whoever sent it. mux get <your-id> settles it positively — provenance is agent_prompt when the advisor wrote the text and api when it accepted your suggestion. human is also Herdr's fallback when it has no evidence, and null means the tool records none, so neither proves anything: while the pair is live, an unattributed prompt is the advisor's.

Stop the advisor

The watchdog re-prompts every turn the advisor ends while its name carries the -advisor suffix, up to eight an hour, leaving alone a new turn started within 10 s; past the cap it releases the advisor and notifies the user. So Esc in its pane is not a stop, and the advisor, being read-only, never stops itself: every stop is yours to run. Run it on a stop the advisor prompt whoever sent it (the user, or the advisor accepting your suggestion or sending the words itself, which its manual has it do at its end condition), and on a dead advisor's tell:

mux stop "$advisor"

It clears the name, sends Esc and closes the pane. The close takes the pane, the advisor and its watchdog with it; the first two steps still end the loop if the close fails. In t3-thread mode the t3 CLI cannot interrupt or archive, so mux stop only ends the loop (the watchdog exits, and every mux verb the advisor runs tells it the pair has ended). Close the thread yourself right after it: call your t3_thread_interrupt tool on the advisor's thread with stop: true, then t3_thread_organize to archive it. In the two Orca modes nothing can close a chat from the CLI: mux stop ends the loop the same way, and the advisor's chat stays open and idle in Orca for the user to close. An ended pair is re-created by the user's next /super-advisor, or by the grill trigger when a later grill ends; never by you otherwise.

Why each rule exists: DECISIONS.md, Q22 onward — https://github.com/OpenSWE/skills/blob/main/skills/super-advisor/DECISIONS.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.