Cleanup Repo — Security skill for Claude Code
Read-only repo audit for stale/orphaned files, tracked cruft, accidentally-committed secrets, empty files, and gitignore gaps — produces a risk-tiered cleanup plan with evidence per finding (.claude/p.
How to install Cleanup Repo
Installs to ~/.claude/skills/jchigg2000-git-claude-code-dev-cleanup-repo/SKILL.md
mkdir -p ~/.claude/skills/jchigg2000-git-claude-code-dev-cleanup-repo && curl -fsSL https://raw.githubusercontent.com/jchigg2000-git/claude-code-dev/HEAD/commands/cleanup-repo.md -o ~/.claude/skills/jchigg2000-git-claude-code-dev-cleanup-repo/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Cleanup Repo does
description: Read-only repo audit for stale/orphaned files, tracked cruft, accidentally-committed secrets, empty files, and gitignore gaps — produces a risk-tiered cleanup plan with evidence per finding (.claude/plans/cleanup-.md) for a downstream executor agent. Never deletes, modifies, stages, or commits anything. Fire on `/cleanup-repo` or "plan a repo cleanup / audit the repo for stale files." argument-hint: "[optional scope path, defaults to repo root]" allowed-tools: Bash(git:*), B
Alternatives in Security
- Deepsec — Deepsec is a security harness for finding vulnerabilities in your codebase powered by coding agents 7.8k ★
- Security Check — Scan project for security issues — exposed secrets, missing .gitignore entries, unsafe patterns 335 ★
- Roast Repo — Deliver a brutally honest, technically sharp roast of the current repository 186 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Linear Cleanup
Audit Linear issues for problems (missing labels, stale, duplicates, wrong state, orphaned, unactionable) and
Hygiene Audit
Audit repository hygiene — check for stale branches, worktrees, large files, missing metadata, CI health, and
Audit Routing
Audit all Chili Piper concierge routers for coverage gaps, stale rules, empty distributions, and catch-all ove
Review Code Security
Tiered application security audit (T1 pre-commit, T2 feature complete, T3 sprint end) covering OWASP, secrets,
Zorille
Four Claude Code skills for codebase hygiene: codebase-audit (find issues) + plan-fixes (turn issues into PR-s
Cca Audit
Parallel multi-agent code audit + fix pipeline for Claude Code. One tiered /audit-fix command auto-selects FAS
Related Agents
Issues Cleanup
Analyze GitHub issues, find stale/duplicate/orphaned, create cleanup plan
Aps Librarian
Repository organizing, cleanup, documentation filing, archiving stale specs, detecting orphaned files, cross-r
Portfolio Audit
Audits a project against the global portfolio standards (author signature, gitignore, no secrets, no dead code