ChristophNoetel

Cleanup Scratch — Development skill for Claude Code

Development community

Scan a scratch directory for stale files, categorize by type, report size, and delete with confirmation.

How to install Cleanup Scratch

Installs to ~/.claude/skills/christophnoetel-claude-code-skills-cleanup-scratch/SKILL.md

Terminal
mkdir -p ~/.claude/skills/christophnoetel-claude-code-skills-cleanup-scratch && curl -fsSL https://raw.githubusercontent.com/ChristophNoetel/claude-code-skills/HEAD/skills/cleanup-scratch.md -o ~/.claude/skills/christophnoetel-claude-code-skills-cleanup-scratch/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Cleanup Scratch does

Scan a scratch directory for stale files, categorize by type, report size, and delete with confirmation.

Alternatives in Development

  • Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
  • Comfy Rickroll — The user wants to be rick rolled 178 ★
  • Categorize CSV — Categorize transactions in normalized CSV files based on descriptions 90 ★

Full documentation available on GitHub

View Source Repository