CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cleanup

Find where a disk's space goes, and free disk in a project by removing the git worktrees, Next.js cache folders, local Docker Postgres test databases, idle Bun, npx and uv cache entries and unused anonymous Docker volumes nothing uses, keeping every worktree a session or process works in and every cache a running server holds. Use for /cleanup, /cleanup disk, "clean up worktrees", "free disk space", "what's using my disk", "where did my disk space go", "what is idle", "delete unused worktrees or builds", or when a session-start hint counts old cleanup candidates.

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

63%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.

The skill is highly actionable, with executable commands, explicit re-judging checkpoints, and save-before-delete safety for a genuinely destructive workflow. Its weaknesses are presentation: a ~4,000-token wall of nested prose with no section headers, and the entire verdict-rule catalog inlined in SKILL.md instead of being split into a one-level reference file.

Suggestions

Move the full KEEP/SAFE/ASK taxonomy, the `--landed`/`--remove` semantics, and the restore procedure (steps 1–4 under the SAFE bullet) into a reference file such as references/verdicts.md, keeping SKILL.md to the six workflow steps and the script invocations.

Replace the long enumerated prose conditions (e.g., the multi-clause 'It keeps a worktree...' sentence and the run-folder rules) with tables or tight bulleted lists keyed by verdict, cutting the always-loaded token count substantially.

Add `##` section headers to separate the scan workflow, `/cleanup disk` report, machine cache judging, daily launchd install, and session-start hook, so the model can locate the relevant procedure without re-reading the whole body.

DimensionReasoningScore

Conciseness

The body runs to roughly four thousand tokens of densely nested prose, e.g., "It keeps a worktree git does not list, a locked one, one outside the folders agents make worktrees in, one holding another worktree, the one it runs in, one whose commits git cannot list, one with more than 20,000 ignored files to compare...", and paragraph-length expositions of internal script behavior ("Each file must match byte for byte, except a tracked file another landed patch also edited, whose hunks the checkout's copy must hold"). There is no conceptual fluff, but far more than 'some' of it could be tightened or moved out of the always-loaded file, fitting the 'noticeably verbose' anchor rather than the mostly-efficient one at 3.

2 / 5

Actionability

Guidance is copy-paste executable throughout: "run `node <this skill>/scripts/scan.mjs --repo . --sessions <that file>`", "`git worktree remove --force`", "`git fetch <save>/commits.bundle 'refs/cleanup/*:refs/restored/*'`", "`git worktree add --detach <path> <HEAD>`", "`git apply <save>/changes.patch`", "`node <this skill>/scripts/daily.mjs install`", and `df -h <checkout>` bookends. Concrete commands cover the common cases, including the full restore procedure.

5 / 5

Workflow Clarity

The numbered steps 1–6 form a clear sequence with real validation checkpoints for a destructive batch operation: "It then judges the worktree again and keeps it, deleting the save, when its verdict changed", "--delete judges it once more ... right before removing it", and before/after `df -h` readings. Not 5 because the validate-and-retry loops must be assembled from prose scattered across the intro paragraphs and step-3 sub-bullets rather than being laid out inline with the steps; not 3 because explicit checkpoints are present, so the missing-validation cap does not apply.

4 / 5

Progressive Disclosure

Script references are real, one level deep, and clearly signaled (scan.mjs, disk.mjs, machine.mjs, daily.mjs — all verified present with the flags the body names), but the SKILL.md inlines the entire KEEP/SAFE/ASK verdict taxonomy, `--landed`/`--remove` internals, and restore procedure that belong in a reference file, and the body has no `##` section headers to aid navigation. This fits 'some structure but could be better organized; content that should be separate is inline' rather than 4's 'most content is appropriately placed'.

3 / 5

Total

14

/

20

Passed

Description

92%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.

The description is specific, complete, and distinctive: it states exactly what it removes and what it preserves, and provides an explicit, natural-language trigger list. The only weakness is a few missing common variants of the disk-space phrasing.

DimensionReasoningScore

Specificity

Multiple concrete actions with comprehensive coverage: "Find where a disk's space goes", "removing the git worktrees, Next.js cache folders, local Docker Postgres test databases, idle Bun, npx and uv cache entries and unused anonymous Docker volumes", plus the keep-rules "keeping every worktree a session or process works in and every cache a running server holds". It enumerates the full artifact set this skill targets with no significant gaps, matching the comprehensive anchor rather than the 'minor gaps' anchor at 4.

5 / 5

Completeness

Explicitly answers both questions: the 'what' is the detailed find-and-remove enumeration, and the 'when' is a literal "Use for ..." clause listing concrete trigger phrases. This matches the top anchor exactly; it is clearly above 4 ('when' could be more explicit), since the triggers are enumerated verbatim.

5 / 5

Trigger Term Quality

Strong natural phrasing: "clean up worktrees", "free disk space", "what's using my disk", "where did my disk space go", "delete unused worktrees or builds", plus slash-command triggers "/cleanup, /cleanup disk" and a session-start-hint condition. A few natural variants users would say are missing (e.g., "disk full", "out of space", "reclaim space"), so it fits 'good keyword coverage; a few natural terms missing' rather than the comprehensive synonym coverage of 5.

4 / 5

Distinctiveness Conflict Risk

A clear niche (project-local disk reclamation of worktrees, build caches, test databases, tool caches, anonymous Docker volumes) with distinct triggers unlikely to fire for unrelated skills. Not 4: the enumerated artifacts and phrased triggers give minimal overlap risk with generic cleanup or git skills.

5 / 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

udecode/plate

Path

.agents/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.