Signalbox

Orchestrate coding work across models, routing each phase to the cheapest pool with room left.

Version
0.2.0
Last updated
Category
Orchestration
Works in
Claude Code, Codex, Cursor, T3 Code
Requires
python3>=3.11, git, gh
Repository
dxbh0517/skill-signalbox

Install

npx skills add dxbh0517/skill-signalbox

Finds the skill folder in the repo and installs it for the agents it detects.

Say this

  • orchestrate this
  • signalbox
  • conduct this across models
  • save my usage limits
  • how much usage is left

Or call it by name where your agent has slash commands: /signalbox.

SKILL.md

namesignalbox
descriptionTurn the current agent into a cheap orchestrator (formerly conductor) that splits coding work into plan, implement, review, CI and merge phases and routes each phase to the most cost-effective model, using live usage readings for Claude Code, Codex and Cursor to skip pools that are running out. Works in Claude Code, Codex, Cursor and T3 Code. Use when the user says "orchestrate", "signalbox", "conductor", "conduct", "split this across models", "route to the cheapest model", "save my usage limits", or asks how much Claude/Codex/Cursor usage is left. Not for a single code review, a multi-model scoring council, merging an already-open PR, or triaging PR comments: those belong to review or PR skills.

Signalbox

You run the signal box: you route the trains, you don't drive them. Your job is to triage, brief, route, verify and ship. Expensive models are spent only where they earn it, and no model is used from a pool that is about to run out.

The signalbox CLI does the bookkeeping. Run it as python3 <this skill's folder>/scripts/signalbox.py <command> (or signalbox if it is on PATH). It reads each vendor's usage with the logins already on this machine and never prints tokens.

CommandUse
usage --save <slug>Once at the start: pool status, recommended mode, and a snapshot
route <phase> [--not-family F]Before every delegation: which model does this phase
delegate --phase <phase> --brief <file>Run a brief on that model's CLI (CLI delegation only)
mark <pool>A child hit a usage limit: mark the pool out for an hour
usage --diff <slug>At the end: what this task consumed

Phases: plan-m, plan-l, implement, review-s, review-m, review-risk, ci-fix. The routes and ladders are in scripts/signalbox/routing.toml; signalbox config init makes an editable copy.

Harness notes

NeedT3 CodeClaude CodeCodex / Cursor / terminal
Delegate a phasedelegate_task (mode:"async")Agent tool for your own model, else signalbox delegatesignalbox delegate; own subagent for your own model
Wait on a PRwatch_pull_request, end turnone background gh pr checks <n> --watchsame; never a sleep loop
Open / merge PRpull_request_create / pull_request_mergegh pr create / gh pr mergesame
CI logs / rerunci_logs / ci_rerungh run view <id> --log-failed / gh run rerun <id> --failedsame
Ask the userquestion toolAskUserQuestionplain question, then stop

Write brief files to the harness scratchpad, else ${TMPDIR:-/tmp}/signalbox/<repo>-<YYYYmmdd-HHMM>/, never into the repo.

0. Setup

  1. Pick how you delegate. See references/hosts.md.
    • T3 Code: native delegate_task, which can reach every provider. Pass --no-host-check to route, then map the pick to a provider with orchestrator_capabilities.
    • Claude Code, Codex, Cursor, or a terminal: signalbox delegate runs the picked model's CLI headless (claude -p, codex exec, cursor-agent -p, opencode run). Use your own subagent tool instead when the pick is your own provider and model.
  2. Check usage: usage --save <task-slug>. Show the user the pool table. The mode is auto unless the user says otherwise ("balanced", "no claude"). The default spares Claude.
  3. Keep a ledger in your messages, updated after each phase:
| # | phase | route (host/model, effort) | pool | result | notes |

Usage rules

  • Run route before every delegation. It re-reads usage (cached 5 min) and skips pools that are out or missing.
  • delegate exits 75 when the child hit a usage or rate limit and marks that pool out. With native delegation, run mark <pool> yourself when a child reports a usage-limit error. Then route again; never retry the same pool.
  • If usage can't be read, the CLI already treats the pool as tight. Say so once and carry on. Do not re-run --fresh in a loop: the Claude endpoint rate-limits frequent reads.

1. Triage

Read the request and just enough of the repo to size it:

SizeSignalsPhases
XStypo, config value, one obvious lineyou fix it → verify → PR
Sone file or function, known approachimplement → review-s → PR
Mseveral files, one feature, a design choiceplan-m → implement → review-m → PR
Lcross-cutting, new subsystem, migration, unclear approachplan-l → slices → implement per slice → review-m per slice → PR(s)

Risk areas (auth, security, permissions, payments, migrations and data loss, concurrency, public API) go up one size and always get review-risk.

Create a feature branch before any child edits code.

2. Plan (M, L)

route plan-m or route plan-l. A self pick means you write the plan (≤20 lines). Otherwise delegate read-only with the plan brief from references/briefs.md. Check the plan against the request, batch product questions for the user, and don't re-plan to polish.

3. Implement

route implement. One child per slice; slices that share files run in sequence. With CLI delegation, give each parallel slice its own git worktree as --cwd. Children commit; they don't open PRs or merge.

Verify cheaply yourself: git log, git diff --stat, the repo's tests. On failure or two failed check runs, route implement --skip <route> and send the escalation brief with the error.

4. Review

The reviewer must be a different family from the author: pass --not-family <author's family> (the family is in route --json). Review is read-only (delegate --read-only, or a read-only brief).

  • Verify each finding against the code before acting.
  • Agreed blocker/should go back to the implementer route. Nits are listed as follow-ups.
  • At most 2 rounds (3 for risk areas). Still disputed: show both sides in 2–3 lines and let the user decide.

5. PR, CI and merge

You own the PR. Open it (description: the problem first, then what changed and how it was verified; short), then stay until required checks are green on the latest head and review comments are handled:

  • Failed check: read the log. A flake gets one rerun. A real failure goes to route ci-fix with the log excerpt.
  • Conflicts or behind: rebase, push with --force-with-lease on this branch only.
  • Review comments: fix the valid ones. To decline one, reply in one or two sentences with the concrete reason (evidence, file:line), no apology, then resolve the thread.
  • Merge only when the user authorized it. "full send" or "ship it" means merge once the gate passes and run post-merge steps. "full stop" (or a closing "Full stop.") means stop at the gate: PR ready, never merged.
  • Wait on CI with the tool from Harness notes; never sleep in a loop.
  • Optional hand-offs, if installed: ship for the merge-and-deploy run, pr-triage for a long review-comment backlog, council for a multi-model score of a risky plan or diff.

End the PR description with one line naming the models and harness that did the work, from the ledger.

6. Report

After merge (or at the gate, or a hard blocker): PR link and status, the ledger, usage --diff <slug>, mode switches and usage-limit hits, declined findings, and how the change was verified.

Ground rules

  • You write at most trivial fixes (≈10 lines, one file). Delegate the rest.
  • Every brief is self-contained: absolute repo path, branch, goal, constraints, files, done-when, how to report. Children get no history.
  • Children never open PRs, merge, watch CI or start their own delegates.
  • Ask the user only for product decisions, missing credentials, or steps outside what they authorized.
  • Never put secrets in a brief.

Files

Changelog

[0.2.0] - 2026-11-28

Added

  • skill.json hub metadata, evals/triggers.json trigger evals and the vendored tools/check_skill.py validator, run in CI.
  • Harness notes table in SKILL.md with Claude Code, Codex and Cursor fallbacks for every T3 Code tool.
  • Inlined "full send" / "full stop" meanings, PR description and declined-review-reply rules, so the skill runs on its own.
  • Optional hand-offs to ship, pr-triage and council when installed.

Changed

  • Repository renamed to dxbh0517/skill-signalbox; all URLs updated.
  • Description sharpened with should/should-not trigger cues; keeps the "orchestrate", "conduct" and "conductor" triggers (formerly conductor).
  • Brief files go to the scratchpad or ${TMPDIR:-/tmp}/signalbox/.

[0.1.0] - 2026-11-26

Added

  • First release: usage, route, delegate, mark, install, doctor and config commands; agent skill; PyPI release workflow.