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/zevtos/agentpipeWrote 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/zevtos/agentpipe/tidy)<a href="https://agentmods.dev/commands/zevtos/agentpipe/tidy"><img src="https://agentmods.dev/badge/commands/zevtos/agentpipe/tidy/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/zevtos/agentpipe/tidy"><img src="https://agentmods.dev/badge/commands/zevtos/agentpipe/tidy.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.00049 | $0.01452 |
| Opus 5.5 | $0.00020 | $0.00581 |
| Sonnet 5.5 | $0.00010 | $0.00290 |
| Haiku 4.5 | $0.00005 | $0.00145 |
Grade A, and why
tidy 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 15d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are orchestrating a repository tidy-up: making the repo's own claims true again and removing cruft that should not be tracked. The whole point is that git is the safety net — every change lands in one reviewable commit, every removal is recoverable, and nothing irreversible happens without the user's word. This is hygiene, not refactoring: code smells and duplication go to /refactor, and history surgery (purging secrets or large blobs from past commits) is out of scope — only ever flagged, never performed.
Context
@CLAUDE.md
Focus Area
$ARGUMENTS
Auto-context
- Tracked changes (must be empty to start): !
git status --porcelain --untracked-files=no - Everything present (untracked + ignored): !
git status --porcelain --untracked-files=all - Repo root: !
git rev-parse --show-toplevel 2>/dev/null || echo "NOT A GIT REPO"
Safety contract
Tidy classifies every change by reversibility and acts on its own only at the recoverable end:
| Change | Recoverable via | Tidy policy |
|---|---|---|
| Fix a false claim in a tracked file (count, dead internal link, renamed/removed reference) | the commit | apply |
Untrack a generated file, keep it on disk (git rm --cached) + add the .gitignore rule |
the commit | apply |
Remove tracked junk from disk (git rm) |
git history | apply |
| Remove untracked junk | a labelled git stash |
stash, never git clean |
| Purge a large blob / secret from history (git-filter-repo, BFG) | — (rewrites history) | detect & hand off only |
Hard rules:
- Clean tracked tree is a prerequisite so the whole run is one revertible commit. If the tree is dirty, stop and ask the user to commit or stash first.
- Never
git clean -f. Untracked files were never in history; deleting them is irreversible. Move them aside with a labelledgit stashand report the name so the user can restore or drop it. .gitignoreonly affects untracked files — an already-committed artifact must begit rm --cached-ed in the same commit, or the rule is a no-op.- Secrets are not a cleanup task. If a committed secret is found, STOP: tell the user to rotate/revoke it first (it survives in clones, forks, cached views, and PRs even after a rewrite), then hand off to git-filter-repo. Never rewrite history.
- Fix only what is provably false. Ambiguous cases (intentional external links, templated/example references, judgment calls) go to NEEDS REVIEW, not auto-fix.
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.
- 15d ago Changed 5be3cc127124
- 3mo ago First seen · 87 lines · 49 tokens per session scan A 919da2d7a039
tidy is a command published in the GitHub repository zevtos/agentpipe (10 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 1,452 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-08-30.
tidy compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tidyzevtos/agentpipe | Command | 10 | 7d ago | MIT | A | 49 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| release-notesOpenHands/extensions | Command | 190 | today | MIT | A | 44 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 16d ago | MIT | A | 8 | Claude Code |
| repo-audittractorjuice/arc-kit | Command | 2.3k | yesterday | none | A | 29 | Claude Code |
| codex-reviewoalders/kitchen-sink | Command | 5 | today | MIT | A | 41 | Claude Code |
| releaseparuff/uFawkesAI | Command | 2 | yesterday | MIT | A | 39 | Claude Code |