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 msshives-gif/claude-plugins/plugin install compact-managerWrote 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/msshives-gif/claude-plugins/detach)<a href="https://agentmods.dev/commands/msshives-gif/claude-plugins/detach"><img src="https://agentmods.dev/badge/commands/msshives-gif/claude-plugins/detach/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/msshives-gif/claude-plugins/detach"><img src="https://agentmods.dev/badge/commands/msshives-gif/claude-plugins/detach.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.00008 | $0.00519 |
| Opus 5.5 | $0.00003 | $0.00208 |
| Sonnet 5.5 | $0.00002 | $0.00104 |
| Haiku 4.5 | $0.00001 | $0.00052 |
Grade B, and why
detach scanned grade B with 1 finding 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
itself: `find ~/.claude/plugins -maxdepth 8 -type f -name What it actually says
Stop the managed-mode watcher attached to the current Claude Code session.
- Locate the compact-manager CLI. The path in the later steps
normally reads as an absolute path (script installs write it in).
If it instead still says
${CLAUDE_PLUGIN_ROOT}literally — plugin installs may not substitute command markdown — find the CLI file itself:find ~/.claude/plugins -maxdepth 8 -type f -name compact-manager -path "*/bin/*" 2>/dev/null(this handles versioned cache layouts, where a directory merely NAMED compact-manager has no bin/). If several paths match, use the most recently modified (ls -t). - Identify this session's id. If your environment exposes one
directly (e.g. a
CLAUDE_SESSION_IDenv var, or a session id in a path you already know, like your transcript or scratchpad path), prefer that — it is authoritative. Otherwise use the overview heuristic in step 3. - Heuristic fallback. State files are written by a PostToolUse hook
AFTER each tool result, so on your first tool call of a session
your own row does not exist yet. Therefore: (a) first run any
trivial command (e.g.
echo priming) — completing it writes your state file; (b) then run"${CLAUDE_PLUGIN_ROOT}/bin/compact-manager" overviewand read theupdatedages. Expect YOUR row marked>, seconds old. (The overview prints session ids shortened to 8 characters;stopaccepts an unambiguous prefix, so the short id is usable as-is.) Do NOT proceed on the heuristic alone — show the row and ask the user to confirm — if ANY of: the top row is not seconds-old, its age saysFUTURE-MTIME, two rows are under ~2 minutes old (a parallel active session), or only a single session row exists and you could not confirm the id from your environment in step 2. - Run
"${CLAUDE_PLUGIN_ROOT}/bin/compact-manager" stop <session-id>and report the result. If no watcher held this session, say so — that is a normal outcome, not an error.
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.
- 1mo ago First seen · 39 lines · 8 tokens per session scan B 9a57d18ac28d
detach is a command published in the GitHub repository msshives-gif/claude-plugins (2 stars, last pushed 7d ago), licensed MIT. It adds 8 tokens to every session and 519 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
init
First-time Archcore setup — wire host configs, measure the authored context, compose the full first-day seed in one preview, and create it on one confirm; import converts CLAUDE.md, AGENTS.md, rule files, ADRs, and docs into native documents; refresh adds new facts or drills into one domain.
document
Record the present state by mode — decision (ADR, RFC, rule), code (spec, doc, guide, scenario), or research (a ready report or one external material); a gate picks the document type.
mainframe-tickets-verify
This is a user-invocable command. Execute it only because the current invocation explicitly selected it. It takes no arguments: every invocation processes the complete current project queue awaiting independent verification.
lint-status
Show AgentLint status — coverage, effective policy, session activity.
edit
An interview-style command for editing the trigger words used by existing personas. Personas are predefined viewpoints, such as a developer, designer, or lawyer, that guide how work is approached.
update
Update Slime to the latest version.