CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cleanup

Free disk in a project by removing the git worktrees and Next.js cache folders nothing uses, keeping every worktree a session or process works in and every cache a running server holds. Use for /cleanup, "clean up worktrees", "free disk space", "what's using my disk", "delete unused worktrees or builds", or when a session-start hint counts old cleanup candidates.

Quality

86%

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

77%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 body is highly actionable and the workflow is exceptionally well-validated for a destructive batch operation, with the real decision logic correctly delegated to the bundled scan.mjs. It is held back by heavy duplication between the opening paragraph and the numbered steps, extreme run-on density, and a monolithic headerless structure that inlines policy detail a reference file should carry.

Suggestions

Cut or drastically compress the opening paragraph — its mode, patch-saving, and KEEP-rule detail is restated almost verbatim in steps 3 and 4, so the body could lose roughly a third of its tokens with no loss of guidance.

Move the KEEP/SAFE/ASK verdict policy (the step-3 sub-bullets and the run-folder rules) into a references/verdicts.md file and keep a one-line summary per verdict in SKILL.md, since scripts/scan.mjs already makes every verdict.

Add section headers (e.g. ## Modes, ## Workflow, ## Verdict rules, ## Troubleshooting) so the ~1,700-word body is navigable without reading it end to end.

DimensionReasoningScore

Conciseness

The ~450-word opening paragraph restates the --landed/--remove mode, patch-saving, and KEEP-rule details that steps 3–4 repeat, and the relentless run-on clause chains (e.g. "It keeps a worktree git does not list, a locked one, one outside the folders agents make worktrees in...") could be materially tightened — mostly efficient but with real duplication, fitting anchor 3 rather than 4's minor trimming.

3 / 5

Actionability

Every step carries an executable command — `df -h <checkout>`, `node <this skill>/scripts/scan.mjs --repo . --sessions <file>`, `git worktree remove --force`, `git worktree lock --reason "<why>" <path>`, `next telemetry disable` — and the decision logic is delegated to a real bundled script, with the telemetry edge case given a concrete PID/command diagnostic.

5 / 5

Workflow Clarity

Steps 1–6 are clearly sequenced with explicit validation for this destructive batch operation: the session list is re-saved and items re-judged right before --delete, "a failed removal turns that row into ASK", ASK rows require owner confirmation, and df is recorded before and after to verify the outcome — feedback loops are present, so the destructive-operation cap does not apply.

5 / 5

Progressive Disclosure

The verdict logic is properly externalized to scripts/scan.mjs (a real file, clearly referenced), but the SKILL.md body is a ~1,700-word wall of prose with no section headers, and the ~700 words of KEEP/SAFE/ASK policy in step 3 are reference material that could live in a separate file — matching anchor 3's inlined-should-be-separate content rather than 4's minor organization gaps.

3 / 5

Total

16

/

20

Passed

Description

91%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: concrete, third-person, with an explicit Use-for clause and an unusually thorough set of natural trigger phrases. Its only weaknesses are a minor coverage gap (run folders are unmentioned) and slightly generic disk-space triggers that could collide with a general cleanup skill.

DimensionReasoningScore

Specificity

"removing the git worktrees and Next.js cache folders nothing uses, keeping every worktree a session or process works in and every cache a running server holds" lists several concrete actions with explicit preservation conditions, but omits the run-folders/artifacts category the skill also handles — a minor coverage gap that fits anchor 4 rather than the comprehensive coverage of 5.

4 / 5

Completeness

The what is explicit ("Free disk in a project by removing the git worktrees and Next.js cache folders nothing uses...") and the when is an explicit "Use for..." clause with concrete trigger phrases and a session-start-hint condition, clearly matching the anchor-5 example pattern.

5 / 5

Trigger Term Quality

Six natural trigger phrasings are given — /cleanup, "clean up worktrees", "free disk space", "what's using my disk", "delete unused worktrees or builds" — covering command, imperative, and question forms a user would actually say, matching comprehensive coverage; not 4 because no common variant is obviously missing.

5 / 5

Distinctiveness Conflict Risk

The worktree/Next.js-cache niche is distinct and mostly clearly scoped, but the generic triggers "free disk space" and "what's using my disk" would also be claimed by a general disk-cleanup skill, giving minor overlap risk — anchor 4 rather than 5's minimal conflict risk.

4 / 5

Total

18

/

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.