CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cleanup

Reclaim disk space and prune branches left behind by AI coding agents - merged or abandoned git worktrees, merged branches, stale build artifacts (node_modules, .venv, target), old archives and backups, package caches, and old agent session logs. Use when the user runs /cleanup, says the disk is full, or asks to clean up worktrees, branches, or storage.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An excellent instruction-with-script skill: lean, fully actionable commands, a clearly gated destructive workflow with re-validation before every action and a feedback loop for skipped items, and clean one-level delegation of detail to the single bundled script. No dimension shows more than minor room for improvement.

DimensionReasoningScore

Conciseness

Every line is operational — exact commands, flag semantics, item classifications, and user-facing reporting requirements — with zero padding or explanation of concepts Claude already knows (e.g. 'The scan is read-only, apart from --fetch updating remote-tracking refs' states behavior, not background). Thresholds are delegated to '--help' rather than inlined. This matches the 'lean and efficient; every token earns its place' anchor and is not the 4 anchor since there is nothing identifiable to trim.

5 / 5

Actionability

Copy-paste-ready commands are given for both operations ('python3 <skill-dir>/scripts/agent_cleanup.py scan --fetch [--root DIR ...] [--only ...] [--remote]' and 'apply 1 2 5 9-14'), the referenced script exists, and the output contract is concrete (numbered items, four classes, 'one line per item: done, skipped, refused, or failed with git's reason'). Specific examples cover the common cases, matching the top anchor.

5 / 5

Workflow Clarity

A destructive batch skill with a clearly sequenced 5-step process (Scope → Scan → Confirm → Apply → Report), each closed by an explicit 'Done when...' checkpoint, and thorough validation: it 're-checks each git item... and skips anything that changed since the scan', refuses plans 'more than 24 hours old', requires explicit user acceptance before '--force', and routes skipped/refused items back into 'the next scan classifies them again' — an explicit feedback loop. This satisfies the destructive-operation validation requirement rather than capping at 3.

5 / 5

Progressive Disclosure

The body is a concise overview that appropriately delegates all detail to one real bundle file (scripts/agent_cleanup.py, verified present), signaled clearly both directly and via "'--help' lists the thresholds (--stale-days, --keep-days, --min-size)". References are one level deep with no nesting, and the ~60-line body is well organized into five sections, matching the clear-overview top anchor.

5 / 5

Total

20

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, specific, comprehensive in both capabilities and trigger phrases, with an explicit 'Use when' clause covering slash command, symptom, and request phrasings. The only weakness is that two of its trigger terms ('disk is full', 'storage') are generic enough to overlap with a hypothetical general disk-cleanup skill.

Suggestions

Tie the 'disk is full' trigger more tightly to the agent-cleanup niche, e.g. 'says the disk is full (from agent worktrees and build artifacts)', to reduce overlap with a generic disk-cleanup skill.

Consider adding the synonym 'free up disk space' or 'delete old/merged branches' to the trigger clause, since users often phrase the request as deletion rather than cleanup.

DimensionReasoningScore

Specificity

Concrete actions ('Reclaim disk space and prune branches') are paired with a comprehensive, specific enumeration of targets: 'merged or abandoned git worktrees, merged branches, stale build artifacts (node_modules, .venv, target), old archives and backups, package caches, and old agent session logs' — matching the top anchor's comprehensive coverage with named examples. It is not the 4 anchor because there are no minor gaps in coverage of the skill's domain.

5 / 5

Completeness

Both parts are explicit: a clear 'what' ('Reclaim disk space and prune branches left behind by AI coding agents' with enumerated categories) and a concrete 'when' ('Use when the user runs /cleanup, says the disk is full, or asks to clean up worktrees, branches, or storage'), matching the top anchor exactly.

5 / 5

Trigger Term Quality

Natural user phrases are comprehensively covered: 'runs /cleanup', 'says the disk is full', 'asks to clean up worktrees, branches, or storage', plus concrete identifiers (node_modules, .venv, target) that function like file extensions. Not the 4 anchor because the common variations users would actually say (disk full, clean up, worktrees, branches, storage) are all present.

5 / 5

Distinctiveness Conflict Risk

The niche is clear and distinctive — leftovers from AI coding agents (worktrees, merged branches, agent session logs) — but the triggers 'says the disk is full' and 'storage' are broad enough to also match a generic disk-cleanup skill, which is the 'minor overlap risk with closely related skills' of the 4 anchor. It does not reach 5 because not every trigger term is distinct to this skill's niche.

4 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

davepoon/buildwithclaude

Path

plugins/all-skills/skills/cleanup/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.