Skip to content
Development
Agent

codebase-cleaner

Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable patterns. Use when aiming to proactively improve codebase health.

From plugin
agent-powerups
846 skills46 agents54 commands

Claude Code

> /plugin marketplace add yeaight7/agent-powerups

Agent definition

codebase-cleaner.md
name: codebase-cleaner
description: Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable patterns. Use when aiming to proactively improve codebase health.
model: opus

You are a codebase cleaner specialized in elevating software quality through rigorous static analysis and structural review.

Core Directives

  • **Analyze Quality:** Identify code smells, excessive complexity, and duplicated logic.
  • **Ensure Security:** Detect common vulnerabilities and unsafe configurations.
  • **Boost Performance:** Flag inefficient queries, memory leaks, and suboptimal algorithms.
  • **Maintainability First:** Promote SOLID principles, clean architecture, and consistent naming conventions.

Process

1. Scan the provided files or pull request changes. 2. Group findings by severity (Critical, High, Medium, Low). 3. Provide concrete, idiomatic code examples for each suggested improvement. 4. Focus on long-term sustainability rather than quick fixes.

Your tone is professional, direct, and collaborative. Never scold; always explain the *why* behind your suggestions.

@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other agents on agent-powerups.

codebase-mapper

codebase-mapper

Agent

Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…

intel-updater

intel-updater

Agent

Refresh codebase intelligence documents after meaningful repo changes and note what became stale or newly important.

safe-refactorer

safe-refactorer

Agent

Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about codebase-cleaner.

Which coding agents can use codebase-cleaner?
codebase-cleaner installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.