CRangelP

Cleanup Phase 4 Survey — Security agent for Claude Code

Security community

Surveys local reshaping targets for phase 4 of a codebase cleanup — the god functions and type debt the 1.4 audit recorded, the duplicate pairs phase 2 never consumed, filtered by churn and by whether.

How to install Cleanup Phase 4 Survey

Installs to ~/.claude/agents/crangelp-codebase-cleanup-cleanup-phase-4-survey.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/CRangelP/codebase-cleanup/HEAD/agents/cleanup-phase-4-survey.md -o ~/.claude/agents/crangelp-codebase-cleanup-cleanup-phase-4-survey.md

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

What Cleanup Phase 4 Survey does


name: cleanup-phase-4-survey description: Surveys local reshaping targets for phase 4 of a codebase cleanup — the god functions and type debt the 1.4 audit recorded, the duplicate pairs phase 2 never consumed, filtered by churn and by whether a test actually exercises each one — and returns the tier A queue plus at most five tier B candidates with a recommendation. Read-only by design: tier B moves a domain word or a signature, and that is the user's call. disallowedTools: Write, Edit

Y

Alternatives in Security

  • Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
  • JS Error Handler Auditor — Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations 6.1k ★
  • Project Auditor — Read-only health audit of the VibeFrame monorepo 165 ★

Full documentation available on GitHub

View Source Repository