Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/dsswift/ionWrote 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/dsswift/ion/squash)<a href="https://agentmods.dev/commands/dsswift/ion/squash"><img src="https://agentmods.dev/badge/commands/dsswift/ion/squash/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/dsswift/ion/squash"><img src="https://agentmods.dev/badge/commands/dsswift/ion/squash.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.00025 | $0.04955 |
| Opus 5.5 | $0.00010 | $0.01982 |
| Sonnet 5.5 | $0.00005 | $0.00991 |
| Haiku 4.5 | $0.00003 | $0.00496 |
Grade A, and why
squash 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 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.
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 — 501 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/squash
Rebuild the current branch's unlanded commits (on main, the commits above
origin/main; in a worktree, the commits above its source branch) into clean
conventional commits without changing tracked content. This command is history-only and fully autonomous.
No human interaction
Never call AskUserQuestion. Never pause for approval, confirmation, or
disambiguation at any point. Emit the plan, then execute it in the same turn
without waiting. Every decision has a deterministic rule below; when a rule
fires, apply it, log it as a plan revision, and continue.
The only stop conditions are the Phase A guards (§2), a pre-reset target mismatch (§6), and verified content loss (§8b). Once the rebuild starts it always runs to completion (§7b) — a plan that proves unimplementable is revised, never abandoned. Any stop is automatic and reported; it never asks.
Absolute invariants
Two, both mandatory. Neither is ever traded for the other.
I1 — Content. Final
HEAD^{tree}must equal startingHEAD^{tree}byte-for-byte.I2 — Scope. Every result commit must touch at most one package in
release-please-config.json, and itstype(scope):tag must be that package's scope (or a repo-level scope when it touches no package).
I2 is not cosmetic. The release tool (release-damnit, configured by
release-please-config.json) versions each component by the paths a commit
touches, and takes the commit's type and subject as that component's changelog
entry. So a commit spanning two release
units bumps both and files the same subject under both changelogs — one of
them a lie. A commit whose tag disagrees with its paths ships a correct version
under a misleading entry. Both are defects equal in severity to losing content.
release-please-config.json keeps the tag and the paths in agreement, which is
why scope is always resolved from paths and never taken from the plan's subject
line. There is no "report the mismatch and move on" path: a scope violation is
prevented before commit (§7c) and repaired after commit (§8a).
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 Changed 08da728e32e5
- 1mo ago Changed · +9 lines · +8 tokens per session d31284266099
- 2mo ago Changed · +3 lines ae9abce6b75a
- 2mo ago Changed · +33 lines 9e9318db8ece
- 2mo ago Changed · +1 lines f108c9348d40
- 3mo ago First seen · 455 lines · 17 tokens per session scan A 3b2bd65cbcb7
squash is a command published in the GitHub repository dsswift/ion (5 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 4,955 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.
squash compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| squashdsswift/ion | Command | 5 | 3d ago | MIT | A | 25 | Claude Code |
| session-reportdamusix/atomic-claude | Command | 117 | 2d ago | MIT | A | 31 | Claude Code |
| commitdamusix/atomic-claude | Command | 117 | 2d ago | MIT | A | 55 | Claude Code |
| undo-commitdamusix/atomic-claude | Command | 117 | 2d ago | MIT | A | 31 | Claude Code |
| refactor-check.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| repo-guard.templateevan043/claude-cli-advanced-starter-pack | Command | 62 | 4mo ago | MIT | A | 0 | Claude Code |
| workflowjoshidikshant/devsquad | Command | 7 | 1mo ago | MIT | A | 32 | Claude Code |