Cleanup Files — Development skill for Claude Code
Cleanup Claude Files.
How to install Cleanup Files
Installs to ~/.claude/commands/dsifry-goodtogo-cleanup-files.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsifry/goodtogo/HEAD/.claude/commands/cleanup-files.md -o ~/.claude/commands/dsifry-goodtogo-cleanup-files.md Restart Claude Code, or start a new session, for it to be picked up.
What Cleanup Files does
model: claude-haiku-4-5-20251001
Cleanup Claude Files
Remove unnecessary Claude-generated files while preserving important documentation and configurations.
Usage
/project:cleanup-files
Steps
- Review MANAGED_FILES.md - Check the current list of files to preserve
- Audit current files - Find all Claude-related files in the project
- Identify cleanup candidates - Files not listed in MANAGED_FILES.md
- Confirm with user - Before deleting, show what
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- Cleanup Builds — Cleanup Dev Builds 20k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Worktree Cleanup
Remove worktrees and branches that have been merged: $ARGUMENTS
Git Cleanup
Trail of Bits security skill for git cleanup
Defensive Code Cleanup
Clean Defensive Try-Catch Blocks
Repo Cleanup
Hitta verkligt dödkött i repot och föreslå borttagning med bevis. Fas 1 rapporterar bara — radering kräver god
Cleanup Health Check
Execute the cleanup-health-inline skill for inline orchestration. You ARE the orchestrator. Do not spawn a sep
Grok Files
List, prune, or gc Grok (xAI) uploaded files. Cleanup for bridge-owned uploads only.
Related Agents
Flow Git
Use this agent for git operations — atomic commits, rebase, history cleanup, and style detection. Flow detects
Duplicate Detector
Internal agent for finding and consolidating duplicate or near-duplicate memories, rules, and learnings. Spawn
Code Cleanup Optimizer
Remove technical debt, improve quality, eliminate redundancy after implementation is verified. Never use befor