Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add MadAppGang/magus/plugin install orchestratorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/madappgang/magus/start-ticket)<a href="https://agentmods.dev/commands/madappgang/magus/start-ticket"><img src="https://agentmods.dev/badge/commands/madappgang/magus/start-ticket/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/madappgang/magus/start-ticket"><img src="https://agentmods.dev/badge/commands/madappgang/magus/start-ticket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01590 |
| Opus 5.5 | $0.00021 | $0.00636 |
| Sonnet 5.5 | $0.00010 | $0.00318 |
| Haiku 4.5 | $0.00005 | $0.00159 |
Grade A, and why
start-ticket scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/orchestrator:start-ticket
Start ticket $ARGUMENTS in a new tmux window or herdr tab. Do every step yourself, and
never run git pull, a plugin update or a worktree command in your own Bash: the window runs
them.
Only triage runs this. Triage alone starts ticket sessions; in a manager or child session the hook refuses it and names triage as the route.
One ticket at a time. The window's git pull, plugin update and worktree creation all
work on one main checkout, so two starts together race. With several tickets, finish steps
1 to 7 for the first before beginning the next. Never run two launcher calls in parallel,
not as two Bash calls in one message and not as background jobs. The launcher also holds a
lock per checkout, so a start from another session waits for the one before it.
The tracker, its four actions and the script below are specified in the "Tracker" section of
${CLAUDE_PLUGIN_ROOT}/references/three-levels.md. Read that section before step 1.
-
Find the tracker. Use the one the product repo's
CLAUDE.mdnames. Otherwise runbun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/ticket-ref.ts" '<ticket-ref>' --dir <the repo's main checkout>with the reference single-quoted: unquoted,
#123starts a shell comment.and take the tracker from its
trackerfield as the Tracker section says. A bare key with no single Linear MCP server, or exit 1 (a reference it does not recognise): ask the user once and store the answer as that section says. -
Read the ticket through the tracker: title, URL, state, labels. Done or Canceled in Linear, or
CLOSEDon GitHub: stop and say so. -
Get the colour and name from the script, with the ticket's labels and 2 to 4 words from the title that say what the ticket is:
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/ticket-ref.ts" '<ticket-ref>' --dir <main checkout> \ --labels "<labels, comma-separated>" --words "<w1> <w2> <w3>"Use its
colourandnameas printed. For example, issue#229"a slot that writes its answer to a file is reported empty", labelledbug, givesredandgh-229-slot-file-answer. Anullcolour: ask once (red = bug fix, green = feature, blue = improvement), add a label of that kind through the tracker, and run the script again. Exit 1 on the words: choose fewer or shorter ones. -
Build the prompt:
/orchestrator:manager <id> <url> — <title>, with the script'sidand the ticket's real URL. The manager picks the workflow from the same colour. -
Open the window with one foreground Bash call and
timeout: 600000:bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/ticket-window.ts" --name <name> --colour <colour> \ --ticket '<id>' --ticket-url '<url>' \ --prompt "/orchestrator:manager <id> <url> — <title>"--ticketand--ticket-urlgo into the launch claim, so the new session starts as this ticket's manager in your family and the status band lists it at once. Single-quote both.Inside tmux it opens a window in the current session; inside herdr, a tab in the current workspace that does not take focus. Either way it sits at the main checkout of the current repo; pass
--dir <main checkout>when the ticket's repo is another one.--sessionis tmux only. When both are in play (herdr inside tmux, or tmux with herdr installed) the launcher follows the answer triage stored. SetORCHESTRATOR_MULTIPLEXER=tmux(orherdr) only when the user asks for the other one.The window runs
git pull --ff-only, thenmagus syncwhen magus is installed, then starts Claude Code in a new worktree. The call first waits, up to 16 minutes, while another start in the same checkout holds the lock, and returns once the window is open. A detached second stage waits for Claude Code to come up, releases the lock, types the prompt, and logsSENT,TIMEOUT,GONEorUNTRUSTEDto the launcher's log in its state directory ($ORCHESTRATOR_STATE_DIR, else~/.claude/orchestrator/).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed da381b29d37e
- 20d ago Changed · +1 lines 96db82b5fb12
- 21d ago Changed · +12 lines 53676e382d03
- 24d ago First seen · 92 lines · 52 tokens per session scan A 5779a0d8bad0
start-ticket is a command published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,590 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.
start-ticket compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| start-ticketMadAppGang/magus | Command | 16 | today | MIT | A | 52 | Claude Code |
| session-reportdamusix/atomic-claude | Command | 117 | 2d ago | MIT | A | 31 | Claude Code |
| standupvvedantb/eva | Command | 100 | today | MIT | A | 0 | Claude Code |
| pr-riskkumaran-is/claude-code-onboarding | Command | 37 | today | MIT | A | 0 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 15d ago | MIT | A | 8 | Claude Code |
| gitazrtydxb/procoder | Command | 212 | 22d ago | Apache-2.0 | A | 20 | Claude Code |
| git-workflowHermeticOrmus/LibreUIUX-Claude-Code | Command | 115 | 1mo ago | MIT | A | 14 | Claude Code |