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 melodic-software/claude-code-plugins/plugin install code-tidyingWrote 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/melodic-software/claude-code-plugins/tidy)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/tidy"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/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/skills/melodic-software/claude-code-plugins/tidy"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/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.00079 | $0.07475 |
| Opus 5.5 | $0.00032 | $0.02990 |
| Sonnet 5.5 | $0.00016 | $0.01495 |
| Haiku 4.5 | $0.00008 | $0.00747 |
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 yesterday.
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 — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Recent commits,
git log --oneline -5 - Working tree status (empty = clean),
git status --porcelain | head -20
Pre-computed context
Open chore/tidy-* PRs: !${CLAUDE_SKILL_DIR}/scripts/open-pr-count.sh 2>/dev/null | grep -E '^(Open tidy|Throttle)' || echo unknown
Comment settings (team then personal layer, one line per key): !${CLAUDE_SKILL_DIR}/scripts/comment-settings.sh 2>/dev/null | grep -E '^comment_(posture|keep_list)' || echo "(settings unavailable)"
Variables
Arguments: $ARGUMENTS
HARD path exclusions: ${user_config.hard_exclusions} (unexpanded, empty, or any value outside enforce and advisory means enforce).
Comment posture: comment_posture resolves through four layers, lowest first, a later one winning:
the default auto, userConfig (${user_config.comment_posture}), the team file
<home>/comment-policy.yaml over the org baseline <home>/comment-policy.org.yaml (tighten-only)
and the personal override <home>/comment-policy.local.yaml (<home> the
repository's bound convention home, else docs/conventions), the files from the settings line
above (${CLAUDE_SKILL_DIR}/scripts/comment-settings.sh). auto means necessary; strict, balanced and conservative read as explanatory, aggressive as
necessary. An unexpanded or empty userConfig value is unset, and any other value outside auto,
none, necessary, explanatory is named with its layer and dropped. The posture decides what
tidyings Beck 14 and P-5 may add (reference/tidyings.md).
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- areas/docs-prose.md 6.1 KB
- areas/self-update.md 4.2 KB
- areas/shell-tooling.md 5.0 KB
- evals/evals.json 4.3 KB
- reference/bundled-simplify.md 2.7 KB
- reference/exclusions.md 16 KB
- reference/scope-budget.md 5.3 KB
- reference/tidyings.md 14 KB
- scripts/comment-settings.sh 146 B runs code
- scripts/open-pr-count.sh 1.9 KB runs code
- scripts/open-pr-count.test.sh 4.0 KB runs code
- scripts/upkeep-setting.sh 1.2 KB runs code
- templates/apps-area.template.md 1.6 KB
- templates/dependency-root-area.template.md 2.0 KB
- templates/host-wiring-area.template.md 1.8 KB
- templates/polyglot-services-area.template.md 1.5 KB
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.
- yesterday Changed · +1 lines · -33 tokens per session b1b644cc3efa
- 3d ago Changed · +3 tokens per session 4cb2285bc89d
- 5d ago Changed 8b1995d5ce60
- 6d ago Changed · +2 lines d32bb34f34fd
- 8d ago Changed · -1 lines b2a9e02b7f1e
- 9d ago Changed · +33 lines eeca8456b70b
- 12d ago Changed d018d91cd050
- 13d ago Changed dfced4ca974b
- 14d ago Changed · +10 lines 2125dbd3a52b
- 17d ago First seen · 243 lines · 109 tokens per session scan A ae932d9505cd
tidy is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 7,475 once invoked, about $0.0003 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 skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tidymelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 79 | Claude Code |
| refactor-decompose-functionjimmc414/claude-code-plugin-marketplace | Skill | 4 | yesterday | MIT | A | 28 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |