Cleanfiles banner
michaelhazza michaelhazza

Cleanfiles

Security community

Description

--- description: "Sweep the repo's accumulating working files: audit first, apply only after operator confirmation, one reviewable commit." --- # /cleanfiles Tidy the repo's "working memory" files. These accumulate by design (KNOWLEDGE.md is append-only, todo.md collects items, every build leaves artifacts) and gradually bloat the context every session loads. This command reclaims that space WITHOUT destroying knowledge: every removal is either an archival-with-pointer or covered by git histor

Installation

Installs to ~/.claude/commands/michaelhazza-claude-code-framework-cleanfiles.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/michaelhazza/claude-code-framework/HEAD/.claude/commands/cleanfiles.md -o ~/.claude/commands/michaelhazza-claude-code-framework-cleanfiles.md

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

Full documentation available on GitHub

View Source Repository