spring-cleaning

spring-cleaning is a skill for Claude Code from tessaryai/plugins. It costs 69 tokens per session (998 once invoked), scanned A, original, MIT.

An internal workflow step for finding small, evidence-backed cleanup opportunities such as dead code, unused dependencies, stale TODOs, or orphaned files.

In plain words
What is it for?
It is used inside the crew workflow to inspect a codebase, propose bounded cleanups, and prepare changes for review. It is not meant to be selected directly by users.
Why use it?
It helps a larger crew workflow remove clutter without broad rewrites, while checking the result against the project's tests.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the crew plugin — 11 skills, 5 agents shipped together

Good fit It is used inside the crew workflow to inspect a codebase, propose bounded cleanups, and prepare changes for review. It is not meant to be selected directly by users.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add tessaryai/plugins
Claude Code
/plugin install crew

Made for: Claude Code.

Or install crew, the plugin that ships this one along with the rest of its 11 skills, 5 agents.

Wrote 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.

agentmods badge for spring-cleaning

README.md
[![agentmods](https://agentmods.dev/badge/skills/tessaryai/plugins/spring-cleaning/github.svg)](https://agentmods.dev/skills/tessaryai/plugins/spring-cleaning)
Your own site
<a href="https://agentmods.dev/skills/tessaryai/plugins/spring-cleaning"><img src="https://agentmods.dev/badge/skills/tessaryai/plugins/spring-cleaning/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.

agentmods 80×15 button for spring-cleaning

Your own site · 80×15
<a href="https://agentmods.dev/skills/tessaryai/plugins/spring-cleaning"><img src="https://agentmods.dev/badge/skills/tessaryai/plugins/spring-cleaning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00998
Opus 5.5 $0.00028 $0.00399
Sonnet 5.5 $0.00014 $0.00200
Haiku 4.5 $0.00007 $0.00100

Measured 1mo ago against content hash 6c7d47acb39c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spring-cleaning 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.

plugins/crew/skills/spring-cleaning/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

spring-cleaning

Internal crew primitive — dispatched by /crew:run. You are running because the orchestrator selected this as one step of a larger workflow; carry out the work below. This skill is not meant to be invoked on its own — user requests go to /crew:run.

You perform bounded, evidence-backed cleanup. You never make sweeping rewrites — each cleanup is small, justified, and validated. Your ceiling is a review-ready PR — never merge.

Optional argument is the scope: dead-code, unused-deps, stale-todos, orphaned, or all (default: ask the user, or dead-code if unattended).

0. Load config

python3 "${CLAUDE_PLUGIN_ROOT}/lib/load_config.py"

Obey guardrails.protected_paths (never touch these), commands.* (to validate), and labels.{agent_pr,cleanup}.

Then read ${CLAUDE_PLUGIN_ROOT}/reference/work-model.md and resolve the mode before any gh call. Detection and validation are identical in both modes; only the output differs (step 4).

1. Detect (read-only first)

Pick detectors by language — use what the repo already has before installing anything:

  • dead code / unused exports: knip or ts-prune (JS/TS), ruff check --select F401
    • vulture (Python), go vet / deadcode (Go), cargo +nightly udeps (Rust).
  • unused dependencies: depcheck (JS/TS), comparing manifest vs imports otherwise.
  • stale TODOs: grep -rn "TODO\|FIXME\|XXX" and cross-reference with git blame age.
  • orphaned files: files with no inbound references / not in any build graph.

Gather evidence for each candidate (e.g. "no inbound references", "import removed in PR #X"). Do not act on anything you can't justify.

2. Propose a bounded set

For the chosen scope, select the high-confidence, evidence-backed changes. Exclude anything matching protected_paths. When unsure, leave it and note it in the PR description as a candidate for human judgment.

If the cleanup is huge. If detection turns up far more justified cleanup than fits a single bounded PR — it naturally breaks down module by module or across many categories — don't silently truncate to the cap and don't sprawl. Add a decomposition plan to your report back to the orchestrator: a numbered list of independent units (e.g. one per module or category), each with description, target (the files/module it owns), primitive: spring-cleaning, and any depends_on. Flag the report scale-out-recommended. The orchestrator decides whether to fan it out, always confirming with the user first (see ${CLAUDE_PLUGIN_ROOT}/reference/scale-out.md for the unit shape). You only recommend — you never spawn anything.

Read the full file on GitHub · 86 lines

Changes

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.

  1. 1mo ago First seen · 86 lines · 69 tokens per session scan A 6c7d47acb39c

Subscribe to this mod's changes

spring-cleaning is a skill published in the GitHub repository tessaryai/plugins (3 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 998 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-31.

Related

Other skills, from other repositories

ghost-decode

Use when a video hides text in moving dots or noise — "ghost font" clips, motion-defined text, random-dot kinematograms, TV-static videos with a secret message, text readable only while playing but invisible in any paused frame, or the user asks what a ghost-font video says.

haroontrailblazer/ghost-font-decoder · 64 tokens

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens