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 bengous/claude-code-plugins/plugin install gitWrote 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/skills/bengous/claude-code-plugins/squash)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/squash"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/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/skills/bengous/claude-code-plugins/squash"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/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.00048 | $0.01004 |
| Opus 5.5 | $0.00019 | $0.00402 |
| Sonnet 5.5 | $0.00010 | $0.00201 |
| Haiku 4.5 | $0.00005 | $0.00100 |
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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Squash
Fold a run of commits into one. The rebase backend of this plugin does the rewrite: it builds the todo, sets the editors inside its own process, creates a timestamped backup branch, re-checks the plan against the branch, and leaves a conflict resumable. This skill only chooses which commits fold.
Arguments
$ARGUMENTS
| Mode | Selection |
|---|---|
--range N |
the last N commits, folded into the oldest |
--hashes h1,h2,... |
the listed commits, folded into the oldest of them |
--pattern <regex> |
every commit whose subject matches, case-insensitive, folded into the oldest match |
--dry-run |
validate and print the plan, rewrite nothing |
Protocol
-
Range.
--range N: the range isN. Otherwise the range is the branch:origin/devwhen it exists, else the remote default branch (git rev-parse --abbrev-ref origin/HEAD). No remote at all, or on that branch itself: ask how far back to look, and useN.run `"${CLAUDE_PLUGIN_ROOT}/scripts/rebase.ts" plan {range}`On
ok: false, reporterroranddetailand stop:dirty-worktreelists the files to commit or stash first,rebase-already-in-progresspoints at/git:rebase continue|skip|abort. -
Targets. From
plan.commits, oldest first: the commits whose hash starts with a listed hash, or whose subject matches the pattern. Fewer than two targets: say so and stop. A listed hash outside the range: name it and stop.The targets must be consecutive. The backend folds a
squashinto the commit right above it, never across a kept commit: withfixA, other, fixBthe second fix would fold intoother. Non-consecutive targets: list the commits sitting between them and stop;/git:rebaseon the range is the tool for that case. -
Message. Read each target with
git log -1 --format=%B <hash>and compose one message for the combined commit: a subject in the convention ofgit log --oneline -10, then the bodies that still hold. Print it.
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 5a7920fc9482
- 2mo ago First seen · 90 lines · 48 tokens per session scan A 10478be1d41f
squash is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,004 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-09-11.
squash compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| squashbengous/claude-code-plugins | Skill | 6 | today | MIT | A | 48 | Claude Code |
| development-workflowathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 20 | Claude Code |
| git-workflowvstorm-co/pydantic-deepagents | Skill | 1.1k | today | MIT | A | 17 | Claude Code, Codex |
| retroRune-kit/rune | Skill | 96 | yesterday | MIT | A | 57 | Claude Code |
| gitRune-kit/rune | Skill | 96 | yesterday | MIT | A | 60 | Claude Code |
| safeguardRune-kit/rune | Skill | 96 | yesterday | MIT | A | 41 | Claude Code |
| stepwise-task-executionmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 33 | Claude Code, Codex |