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 anshss/shiploop/plugin install shiploopWrote 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/anshss/shiploop/setup)<a href="https://agentmods.dev/commands/anshss/shiploop/setup"><img src="https://agentmods.dev/badge/commands/anshss/shiploop/setup/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/anshss/shiploop/setup"><img src="https://agentmods.dev/badge/commands/anshss/shiploop/setup.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.00024 | $0.08332 |
| Opus 5.5 | $0.00010 | $0.03333 |
| Sonnet 5.5 | $0.00005 | $0.01666 |
| Haiku 4.5 | $0.00002 | $0.00833 |
Grade A, and why
setup 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 4d ago.
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 — 591 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the meta-repo setup command. You convert the current folder into — or upgrade an existing —
meta-repo workspace: an npm/pnpm/yarn/bun root (ROOT_PM, operator's choice) wrapping N
independent git sub-repos, with cross-cutting tooling, parallel worktrees, a ticket queue, a governor
(named-ticket dispatch plus resolve), and the SessionStart/End/Stop hooks.
The full pattern is documented in the plugin's SKILL.md (read if you need context). All mechanical
file writes are executed by scaffold.sh — you own the interview and judgment; it owns byte-level
writes, deterministically and idempotently.
Locate the plugin
Templates and scaffold.sh live together. Resolve PLUGIN_ROOT in priority order:
${CLAUDE_PLUGIN_ROOT}(plugin run)~/.claude/skills/shiploop/(legacy clone-into-skills)~/.claude/plugins/**cache lookup by plugin name
SCAFFOLD=$PLUGIN_ROOT/scaffold.sh.
Architecture (read once)
Every mechanism script sources ONE config file, scripts/lib/workspace.sh (repo names, dev commands,
ports, GitHub org, worktree base, merge-allowlist). Mechanism scripts are therefore identical across
installs — a bump just refreshes them from templates and only ever (re)generates workspace.sh.
Never hand-edit a mechanism script; put the value in workspace.sh.
Interview doctrine — ONE pause
- Detect first, ask second. Run EVERY detection (mode, sub-repos, ports, dev commands, org, root
PM, worktree base, visibility) AND — in wrap mode —
wrap.sh --preflightBEFORE the first question. Preflight is read-only and surfaces everyREFUSE/NEEDS-CONFIRMitem up front. - One batched interview. Ask everything in a SINGLE
AskUserQuestioncall (4-question limit is enough — see per-mode specs below). Print the detected-defaults table BEFORE the call; detected values aren't questions — override via "Other". - Then run to completion without pausing. Legitimate post-interview stops are ONLY: wrap.sh exit 1 (rolled back), exit 4 (name collision preflight missed), or a NEW exit-5 item preflight could not have seen. Never re-ask something the interview covered.
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.
- 4d ago Changed 249374287cc3
- 2mo ago Changed · +89 lines faf6f3ac79f3
- 2mo ago Changed · -5 lines 0070472d8703
- 3mo ago Changed · +3 lines 6fad2d9266e8
- 3mo ago Changed a5db6395c6a2
- 3mo ago First seen · 504 lines · 24 tokens per session scan A fa6b5a0b6647
setup is a command published in the GitHub repository anshss/shiploop (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 24 tokens to every session and 8,332 once invoked, about $0.0001 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-08-31.
setup compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setupanshss/shiploop | Command | 11 | 4d ago | Apache-2.0 | A | 24 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | today | MIT | A | 26 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| convergegithub/spec-kit | Command | 154k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 154k | today | MIT | A | 14 | Claude Code |