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/bengous/claude-code-pluginsWrote 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/bengous/claude-code-plugins/squash)<a href="https://agentmods.dev/commands/bengous/claude-code-plugins/squash"><img src="https://agentmods.dev/badge/commands/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/commands/bengous/claude-code-plugins/squash"><img src="https://agentmods.dev/badge/commands/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.00012 | $0.00693 |
| Opus 5 | $0.00006 | $0.00347 |
| Sonnet 5 | $0.00002 | $0.00139 |
| Haiku 4.5 | $0.00001 | $0.00069 |
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 6d 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Squash (No Editor)
Squash git commits interactively without vim. Supports pattern matching, specific hashes, or simple ranges.
Arguments
$ARGUMENTS
Usage Examples
# Squash all commits matching a pattern (e.g., "shellcheck", "fix:", "WIP")
/squash --pattern "shellcheck"
# Squash specific commits by hash
/squash --hashes "abc123,def456,ghi789"
# Squash last N commits (simple case, all contiguous)
/squash --range 5
# Add --backup to create backup branch automatically
/squash --pattern "refactor" --backup
# Dry run to preview (no changes)
/squash --pattern "test" --dry-run
How It Works
- Analyze commits and identify targets to squash
- Show preview of what will be squashed
- Ask for confirmation using AskUserQuestion
- (Optional) Create backup branch
- Execute rebase using
GIT_SEQUENCE_EDITOR(no vim!)
Mode Details
Pattern mode:
- Pattern matching is case-insensitive
- First matching commit becomes the base (keep)
- All subsequent matching commits are squashed into it
- Non-matching commits in between are preserved
Hashes mode:
- First hash is the base (keep)
- Remaining hashes are squashed into first
- Order matters!
Range mode:
- Simple
git reset --soft HEAD~N+ new commit - All N commits must be contiguous at HEAD
- Fast and safe for simple cases
Requirements
- Clean working directory (no uncommitted changes)
- Must be on a branch (not detached HEAD)
Implementation
Parse the arguments and execute the appropriate strategy:
For --range N:
# Create backup if requested
git branch backup-$(date +%s) HEAD
# Soft reset and recommit
git reset --soft HEAD~N
git commit -m "Squashed N commits"
For --pattern or --hashes:
# 1. List commits to find matches
git log --oneline HEAD~50..HEAD
# 2. Find the base commit (oldest matching)
# 3. Generate a sed script that changes "pick" to "squash" for target commits
# 4. Execute: GIT_SEQUENCE_EDITOR="sed -i '<script>'" git rebase -i <base>^
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.
- 6d ago First seen · 101 lines · 12 tokens per session scan A d0bf521aa5c7
squash is a command published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 693 once invoked, about $0.0001 per session on Opus 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-03.
Other commands, from other repositories
commit-push-pr
An automated Git workflow that checks a project, synchronizes documentation, commits changes, and can create or merge a GitHub pull request. A pull request is a request for teammates to review and add changes to a shared codebase.
quick-commit
A quick Git command for committing and pushing a small code change. Git is the tool that records code versions and sends them to a shared repository.
release
Verify, sweep docs, cut a version — then hand the release sequence back.
ship
Encodes the "stage and commit" ritual: verify (receipt gate) → scope → branch → write the commit message from what is actually staged → commit → push → open PR to the default branch → move the Jira issue to In Review. NO merge (merging is the reviewer's call). NO tag (deploys are project-specific and out of scope).
release-isparto
You are the Team Lead. The user has run /release-isparto to publish a new version.
trio-ship
Manually recover an orphaned SHIP verdict — performs the Evaluator's retirement commit (product + mailbox) for a SHIP whose commit: lines are missing. No subagent, no model config.