ClaudSkills / Security / security-misc

Cleanup Code

Quality score: 80/100  ·  Category: Security  ·  Sub-category: security-misc
Comprehensive codebase cleanup across 11 quality dimensions: dead code, duplication, weak types, circular deps, defensive cruft, legacy code, AI slop, type consolidation, security, performance, and async patterns. Analyzes code with confidence scoring and verifies changes with build/test gates. Use when codebase has accumulated tech debt, after major feature work, before releases, or when code quality metrics are declining. Trigger with "/cleanup-code-code", "clean up the codebase", "remove dead code", "fix code quality".

What this skill does

Cleanup Code is a well-rated Claude Code skill (quality score 80/100) in the security-misc sub-category. It ships as a SKILL.md file that Claude Code auto-discovers under ~/.claude/skills/cleanup-code/ and loads when your prompt matches the skill's trigger.

When to invoke it: Use when codebase has accumulated tech debt, after major feature work, before releases, or when code quality metrics are declining. Trigger with "/cleanup-code-code", "clean up the codebase", "remove dead code", "fix code quality".

Who uses this skill

The Cleanup Code skill is built for security engineers, penetration testers, DevSecOps practitioners, and development teams hardening codebases and infrastructure. It is part of the open ClaudSkills registry, a community-curated catalog of 15,000+ capabilities you can install for Claude Code — the Claude CLI agent.

How to install

Free

Manual install (2 steps)

mkdir -p ~/.claude/skills/cleanup-code
curl -L https://claudskills.com/skills/cleanup-code/SKILL.md \
  -o ~/.claude/skills/cleanup-code/SKILL.md

Or just download SKILL.md directly and drop it into ~/.claude/skills/cleanup-code/. Claude Code auto-discovers it on next session.

Skills live at ~/.claude/skills/cleanup-code/SKILL.md on macOS/Linux, or %USERPROFILE%\.claude\skills\cleanup-code\SKILL.md on Windows. See the full install guide for step-by-step instructions.

Pro

One-click install via the desktop app

The ClaudSkills desktop app installs any skill directly into ~/.claude/skills/ with one click — no terminal required. Pro starts at $9/mo or $149 lifetime.

More Security skills

Browse all Security skills in the ClaudSkills registry, or explore these top-rated picks from the same category:

Browse all Security skills → Top 100 skills
Part of ClaudSkills — the open registry for Claude Code skills.  ·  What's New  ·  Install guide  ·  About  ·  llms.txt