tillmeier

Cleanup Docs — Security skill for Claude Code

Security community

Audit and clean up a repo's Claude documentation — measure the always-on tier first (CLAUDE.md + nested + .claude/rules/ + the auto-memory index), then merge redundancy, cut derivable and model-obsole.

How to install Cleanup Docs

Installs to ~/.claude/skills/tillmeier-claude-code-guardrails-cleanup-docs/SKILL.md

Terminal
mkdir -p ~/.claude/skills/tillmeier-claude-code-guardrails-cleanup-docs && curl -fsSL https://raw.githubusercontent.com/tillmeier/claude-code-guardrails/HEAD/commands/cleanup-docs.md -o ~/.claude/skills/tillmeier-claude-code-guardrails-cleanup-docs/SKILL.md

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

What Cleanup Docs does


name: cleanup-docs description: Audit and clean up a repo's Claude documentation — measure the always-on tier first (CLAUDE.md + nested + .claude/rules/ + the auto-memory index), then merge redundancy, cut derivable and model-obsolete content, demote misplaced tiers, fix cross-refs. Verifies every fact survives before cutting; asks before destructive operations; reports byte deltas.

Cleanup and Optimize Claude Documentation

Audit the Claude documentation in this repo and leave it sma

Alternatives in Security

  • Tier 3 Code Refinement Report — Date: 2026-03-20 Status: ALL 54 FINDINGS IMPLEMENTED Scope: Full codebase (18 plugins, 888 files, ~266K lines) 222 ★
  • Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
  • Audit Docs — Scan documentation for staleness — broken links, outdated counts, stale version references, and inconsistencie 95 ★

Full documentation available on GitHub

View Source Repository