Use when substantial implementation work should run through tmux with one orchestrator agent and one or more implementer agents, especially when the user says gaud, gaud-mode, god, godmode, or god-mode and wants milestone-based check-backs instead of one long unsupervised run.
Ships in builtby-win-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run this first on every gaud invocation:
_GAUD_DIR=""
for d in \
"$PWD/skills/gaud-mode" \
"skills/gaud-mode" \
"$HOME/.claude/skills/gaud-mode" \
".claude/skills/gaud-mode" \
"$HOME/.config/opencode/skills/gaud-mode" \
".config/opencode/skills/gaud-mode"
do
if [ -x "$d/bin/gaud-mode-update-check" ]; then
_GAUD_DIR="$d"
break
fi
done
_GAUD_UPD=""
if [ -n "$_GAUD_DIR" ]; then
_GAUD_UPD="$($_GAUD_DIR/bin/gaud-mode-update-check 2>/dev/null || true)"
fi
[ -n "$_GAUD_UPD" ] && printf '%s\n' "$_GAUD_UPD" || true
if [ -n "$_GAUD_DIR" ] && [ -x "$_GAUD_DIR/bin/gaud-poll-install" ]; then
_GAUD_POLL_RECONCILE="$($_GAUD_DIR/bin/gaud-poll-install --quiet-current 2>&1 || true)"
[ -n "$_GAUD_POLL_RECONCILE" ] && printf '%s\n' "$_GAUD_POLL_RECONCILE" || true
fi
UPGRADE_AVAILABLE <old> <new>, tell the user gaud has a newer version available and ask whether to run "$_GAUD_DIR/bin/gaud-mode-upgrade" automatically before planning or launching panes. Match gstack's pattern: detect first, ask before mutating the install.BINARY_UPGRADE_AVAILABLE gaud-poll <old> <new>, tell the user the gaud poller package has a newer upstream version and ask whether to run the gaud upgrade wrapper automatically so the local package sources can move forward before gaud-poll-install reconciles the compiled artifact.npx -y skills add builtby-win/skills --skill gaud-mode --yes or npx -y playbooks add skill builtby-win/skills --skill gaud-mode -y."$_GAUD_DIR/bin/gaud-mode-upgrade" may be used as the wrapper when gaud should choose automatically.gaud-mode-upgrade should reconcile gaud-poll after the skill refresh without blindly forcing a rebuild. Let gaud-poll-install decide whether the binary is current, missing, stale, or corrupt.gaud-poll-install --quiet-current should run on every gaud invocation so the preferred poller path is rebuilt whenever the local artifact is missing, stale, or corrupt without spamming the user when it is already current.JUST_UPGRADED <from> <to>, tell the user Running gaud-mode v{to} (just updated) and continue.$PWD/skills/gaud-mode.Gaud is a tmux milestone runner.
Keep the model simple:
orchestrator agent owns the runimplementer agents own scoped ticketsUse gaud when:
gaud, gaud-mode, god, godmode, or god-modeDo not use gaud for:
Gaud should load the last valid JSON object from:
~/.config/gaud.config.jsonl.gaud.config.jsonlMerge repo override on top of global config.
Use a simple role map:
{
"orchestrator": {
"cli": "opencode",
"model": "gpt-5.4"
},
"implementers": [
{
"name": "ImplementerA",
"cli": "codex",
"model": "gpt-5.4-mini"
},
{
"name": "ImplementerB",
"cli": "claude"
}
],
"fallbacks": {
"orchestrator": ["current-session", "claude", "opencode"],
"implementers": ["codex", "claude", "opencode"]
}
}
Minimum contract:
orchestrator: which agent runs the conductor/orchestrator roleimplementers: which agents gaud may launch as implementersBefore launch, gaud must run the bundled usage preflight after config loading and before choosing panes:
"$_GAUD_DIR/bin/gaud-agent-usage" --repo "${GAUD_REPO_ROOT:-$PWD}"
Use --json when you need machine-readable ranking for a scriptable decision.
The helper:
~/.config/gaud.config.jsonl and .gaud.config.jsonl, with repo override on top of global configGAUD_USAGE_CACHE / B2V_USAGE_CACHE paths, or otherwise from repo usage-cache.json and common Back2Vibing cache pathsUsageState.providers[].quotas[].percent_remaining, resets_at_ms, reset_text, error, and auth_typeready, quota-blocked, rate-limited, auth-blocked, unavailable, or unknownDecision rules:
auth-blocked (CLI exists but missing credentials/OAuth) as unknown — the agent may still work for tasks that don't need that specific auth path. Treat unavailable (no CLI on PATH) as a hard block only when the CLI binary is not found at all.unknown and proceed with the user's role map. Report what was found and flag uncertain agents, but do not block launch.unknown agents available but lower-confidence, and pair them with a ready fallback when possible.Back2Vibing has the richest known usage probes today for Claude, Codex, Gemini, and Antigravity. OpenCode currently has no Back2Vibing quota probe, so treat it as unknown unless another usage source is supplied.
Before launch:
tmux and tmux-cli"$_GAUD_DIR/bin/gaud-agent-usage" --repo "${GAUD_REPO_ROOT:-$PWD}"gaud-poll with "$_GAUD_DIR/bin/gaud-poll-install" so the preferred poller path rebuilds only when the binary is missing, stale, corrupt, or explicitly forced"$_GAUD_DIR/bin/gaud-tmux-layout" init --orchestrator <id> to tag the current orchestrator window as gaud and create the fallback impl windowgaud-poll watch beside the orchestrator — use "$_GAUD_DIR/bin/gaud-tmux-layout" add-pane --window gaud --role poll --command 'gaud-poll watch ...' to split the current window. This MUST happen before any implementer is launched. Verify a poll:* pane exists in the orchestrator window before proceeding.tmux display-message -p '#{pane_id}'Gaud runs from one markdown execution plan, kept as a local file only.
The plan must include:
PRDProgram DONE CriteriaMilestone DONE CriteriaDo not push the plan to GitHub, create issues, PRs, or any other remote artifact. Keep everything local.
Preferred path:
gaud-poll watch ... in a visible dashboard pane in the user's tmux sessiongaud-poll --version and the adjacent gaud-poll.build.json metadata should be usable for preflight visibility and rebuild checksgaud-poll in the user's tmux session with --tmux-socket gaud-<plan> so callback forwarding still uses the user's conductor pane while implementer capture uses the private servertmux send-keys for both the message text AND a separate Enter keystroke. After sending, it captures the pane content and verifies it changed (indicating Enter was processed). If the content is unchanged after 300ms, it resends Enter up to 3 times with exponential backoff. This prevents the "text typed but never submitted" problem when Enter is swallowed or the pane was not in an accepting state.gaud was launched from), not in a private gaud-managed tmux server. gaud-poll runs in the same main session's dashboard pane. Since both the orchestrator pane and the gaud-poll pane are in the same tmux session, tmux send-keys can reach the orchestrator pane directly without needing a socket flag. If the orchestrator were in a different tmux server, callback forwarding would require crossing server boundaries.Fallback path when gaud-poll is unavailable or broken:
tmux-cli sendtmux-cli capture so callback misses are recoverableRequired callback contract:
GAUDMODE done role=<role> milestone=<milestone> workstream=<workstream> summary=<summary>GAUDMODE waiting-user role=<role> milestone=<milestone> workstream=<workstream> summary=<summary>GAUDMODE waiting-permission role=<role> milestone=<milestone> workstream=<workstream> summary=<summary>GAUDMODE waiting-user ... summary=suspected-stuck: ... for execution-health problems such as pane stalls, shell-drops, dead panes, or callback transport failures. Treat these as pane-health blockers, not normal product questions.gaud-poll health notifications should use workstream=gaud-poll so the orchestrator can distinguish worker status from poller-generated diagnostics.Do not rely on placeholder examples as literal shell commands. Gaud must inject the real conductor pane ID into the prompt it sends to each implementer.
Keep launches boring and predictable.
codex --yolo -m <model> "<prompt>".Use the bundled helper so the user never loses track of the run:
"$_GAUD_DIR/bin/gaud-tmux-layout"
$_GAUD_DIR is the same skill root resolved by the update-check block at the top of this file. The helper is plain bash, ships with the skill, and has no install step beyond the skill download.
Layout contract:
gaud-poll watch in the neighboring pane so the user sees orchestrator + dashboard together.starting, working, done, waiting, stuck, dead), elapsed time, last update time, wrapped details, and a short event timeline.tmux -L gaud-<plan> new-session -d -s <plan>.gaud-poll stays in the user's tmux session and polls implementers with --tmux-socket gaud-<plan>, then forwards callbacks to the conductor pane with direct current-session tmux send-keys plus Enter verification.impl window for 1-2 implementer panes, tiled; grow past 2 only when the plan clearly needs it.@gaud-orchestrator=<id> and @gaud-window=gaud; fallback implementer windows are tagged with @gaud-window=impl. Cleanup reads those tags, never window names.<role>:<workstream>:<milestone> (for example impl:frontend:M1, poll:dark-mode:*, ux:dark-mode:M1).renumber-windows on for the session so retiring panes does not leave index gaps. The previous value is saved and restored on end.Mandatory call sequence (every bullet must execute, in order):
# 1. Tag the current orchestrator window as gaud and create fallback impl window
"$_GAUD_DIR/bin/gaud-tmux-layout" init --orchestrator <id>
# 2. Record the conductor pane ID BEFORE anything else uses it
CONDUCTOR_PANE=$(tmux display-message -p '#{pane_id}')
# 3. Start gaud-poll as a left/right split next to the orchestrator pane
"$_GAUD_DIR/bin/gaud-tmux-layout" add-pane --orchestrator <id> --window gaud \
--role poll --workstream <id> --milestone '*' \
--command 'gaud-poll watch --title <plan> --tmux-socket gaud-<plan> -c <conductor> -p <pane>:<role>:<cmd>'
# 4. Verify the poller pane exists in the orchestrator window before launching implementers
GAUD_WIN=$("$_GAUD_DIR/bin/gaud-tmux-layout" list --orchestrator <id> | awk '/\[gaud\]/ {print $1}')
tmux list-panes -t "$GAUD_WIN" -F '#{pane_title}' | grep -q '^poll:' \
|| { echo "ERROR: no poll:* pane in orchestrator window. Run add-pane --window gaud --role poll first."; exit 1; }
# 5. Private implementer server named after the plan
tmux -L gaud-<plan> new-session -d -s <plan>
# 6. Launch implementers in gaud's private tmux server
tmux -L gaud-<plan> new-window -t <plan> -n impl-frontend \
'B2V_DISABLED=true codex --yolo -m <model> "<kickoff prompt>"'
# After a milestone is accepted
"$_GAUD_DIR/bin/gaud-tmux-layout" retire --orchestrator <id> --milestone M1 --role impl
# At the end of the program
"$_GAUD_DIR/bin/gaud-tmux-layout" end --orchestrator <id>
The helper refuses to touch a window that is not tagged with the current orchestrator id and will not kill the conductor window even by accident.
Non-tmux conductor support is intentionally a later backend. Keep the poller/conductor transport abstract enough that direct tmux send-keys can be replaced by a stdin pipe or FIFO without changing the implementer polling loop.
Canonical loop:
When the orchestrator sees summary=suspected-stuck: ..., it should inspect the pane, verify liveness, and decide whether to retry, relaunch, or escalate. Do not treat suspected-stuck notifications as ordinary product ambiguity.
When gaud-poll sees a worker GAUDMODE done ... callback, it forwards the callback to the conductor, kills that completed pane, and unwatches it. This prevents completed panes that later drop to a shell from producing stale suspected-stuck loops.
Keep only one active milestone at a time.
After an accepted milestone:
tmux -L gaud-<plan> kill-window -t <plan>:impl-<workstream> or kill the specific private pane/window launched for that milestone. In same-session fallback mode, use "$_GAUD_DIR/bin/gaud-tmux-layout" retire --orchestrator <id> --milestone <m> --role impl.tmux -L gaud-<plan> kill-session -t <plan> and run "$_GAUD_DIR/bin/gaud-tmux-layout" end --orchestrator <id> to close fallback impl windows without touching the conductor window. The poller split is retired separately when gaud ends.gaud-poll watch split beside the orchestrator in the conductor window; at least one pane in the gaud window must have a pane_title matching poll:* (set by --role poll in add-pane) — verify before starting any implementer launch sequence. A bare shell prompt in the dashboard pane means the poller was never started.@gaud-orchestrator=<current id>; the conductor window has no such tag and must stay untouchedAgents can run out of credits mid-milestone. When a callback or health check indicates an agent is exhausted (quota depleted, rate-limited, or auth-expired):
gaud-poll or pane health checks surface GAUDMODE waiting-user ... summary=suspected-stuck:quota or the implementer pane goes silent with exit/error.fallbacks for the failed role. Pick the next ready/unknown agent from the fallback list.workstream=<original>-retry:<fallback> so the orchestrator can track which agent is now handling the work.When no fallback agent is configured for the role, or all fallbacks are exhausted too, report back to the user with what worked, what failed, and ask how to proceed.
skills/gaud-mode/references/markdown-plan-template.mdskills/gaud-mode/references/kickoff-prompts.mdskills/gaud-mode/references/milestone-loop.mdskills/gaud-mode/references/personas.mdLICENSE.txt (opens in a new tab)VERSION (opens in a new tab)bin/gaud-agent-usage (opens in a new tab)bin/gaud-mode-update-check (opens in a new tab)bin/gaud-mode-upgrade (opens in a new tab)bin/gaud-poll-install (opens in a new tab)bin/gaud-poll.build.json (opens in a new tab)bin/gaud-tmux-layout (opens in a new tab)evals/evals.json (opens in a new tab)evals/gaud-agent-usage.test.sh (opens in a new tab)evals/gaud-mode-update-check.test.sh (opens in a new tab)evals/gaud-poll-install.test.sh (opens in a new tab)evals/update-check-path.test.sh (opens in a new tab)references/dogfooding.md (opens in a new tab)references/kickoff-prompts.md (opens in a new tab)references/markdown-plan-template.md (opens in a new tab)references/milestone-loop.md (opens in a new tab)references/personas.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/blogManage and publish draft blog posts/noteCreate draft blog posts from learnings in any project/things-cliUse when the user wants to read, search, create, update, move, complete, cancel, or delete Things 3 items from an agent or terminal workflow, especially when they mention Things, Things 3, Things3, things-cli, Things URLs, AppleScript, tags, projects, areas, deadlines, checklists, or task CRUD on macOS./todoAdd tasks to beads repositories with smart project inference/builtby-win-skills:gaud-modefrom builtby-win-skills
builtby-win-skills@cascade-code-devops-misc-1 is listed by joshuarweaver/cascade-code-devops-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-1 --plugin builtby-win-skills