Agent skill

Codebase Health Auditor

by dralgorhythm in dralgorhythm/claude-agentic-framework

Runs a user-invoked, swarm-style audit of a whole codebase for SOLID and DRY violations, code smells, complexity, dead code and pattern consistency, with a prioritized report.

No licenceAuto-check passedDevelopment

Install Codebase Health Auditor

skills CLI
$ npx skills add dralgorhythm/claude-agentic-framework --skill code-check -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dralgorhythm/claude-agentic-framework code-check --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dralgorhythm/claude-agentic-framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/code-check .claude/skills/code-check && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-check
GitHub stars
124
Token cost
~980 tokens
SKILL.md length
358 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
None found

At a glance

Runs a user-invoked, swarm-style audit of a whole codebase for SOLID and DRY violations, code smells, complexity, dead code and pattern consistency, with a prioritized report.

  • Works in 6 steps: Swarm — Launch parallel worker-reviewer… → SOLID — Audit for principle violations → DRY — Detect knowledge duplication → …
  • Running a periodic health check across an entire codebase
  • SKILL.md covers MCP Tools, Audit Workflow, Parallel Analysis Pattern and Audit Dimensions, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

This skill launches parallel worker-reviewer agents, one per audit dimension, to review a codebase as a whole rather than one diff at a time. The dimensions are SOLID and DRY violations, checked against the project's own code-quality rules file and, for duplication, with AST-based tools like jscpd rather than plain grep patterns; code smells from Fowler's catalog such as long methods, large classes, feature envy, data clumps and primitive obsession; and pattern consistency across error handling, async usage, naming, imports and type versus interface usage.

It also covers cyclomatic complexity and function or class size, measured with language-appropriate tools such as radon for Python, gocyclo for Go or cargo-geiger for Rust, and dead code, found with tools like knip or depcheck for TypeScript, vulture for Python, or cargo-udeps for Rust, verified before deletion because dynamic imports can produce false positives.

A scope-adherence dimension reapplies a sibling skill's review lens, normally used per diff, across the whole codebase instead, watching for unrequested refactors, drive-by edits and orphaned dead code, deferring to that sibling skill for the full perspective rather than restating it; workers can also use a sequential-thinking MCP tool for complex trade-off analysis. The result is a prioritized findings report with remediation suggestions, assembled into a single Codebase Health Report.

When your agent uses it

  • Running a periodic health check across an entire codebase
  • Finding SOLID and DRY violations beyond what a single PR diff would show
  • Locating dead code and unused exports safely, with false positives checked
  • Auditing consistency of error handling, naming and async patterns project-wide

Example prompts

  • “Run a full codebase health audit and give me a prioritized report.”
  • “Check this codebase for DRY violations using an AST-based duplication tool, not just grep.”
  • “Find dead code and unused exports, but verify before suggesting deletion.”
  • “Audit naming and async pattern consistency across the whole project.”

Requirements

  • Language-appropriate static analysis tools such as jscpd, radon, gocyclo or cargo-geiger
  • A multi-agent runner able to launch parallel worker-reviewer agents

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Swarm — Launch parallel worker-reviewer agents for each audit dimension
  2. SOLID — Audit for principle violations
  3. DRY — Detect knowledge duplication
  4. Smells — Identify code smells from Fowler's catalog
  5. Consistency — Check pattern consistency across codebase
  6. Report — Generate prioritized findings with remediation

What it can do on your machine

Read from SKILL.md and the folder at commit 6436a20. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codebase Health Auditor loads about 980 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~980

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 358 words (~980 tokens).

“Regular codebase review for Clean Code, SOLID, DRY principles and consistency.”

— opening of SKILL.md by dralgorhythm
name
code-check
argument-hint
[scope: all | path/to/dir | glob]
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/code-check of dralgorhythm/claude-agentic-framework.

Open the folder on GitHubat commit 6436a20

Compare with similar skills

Codebase Health Auditor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codebase Health Auditor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Health Auditor this skilldralgorhythm/claude-agentic-framework124—~980Automated safety check: PassNone
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Code Refactoring Workflowluongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT
Tech Debt Analyzerailabs-393/ai-labs-claude-skills4542 repos~3.9kAutomated safety check: PassMIT
FIXME Resolvertailcallhq/forgecode7.6k—~1.1kAutomated safety check: PassApache-2.0
DesloppifyGit-on-my-level/codex-autorunner875—~3.4kAutomated safety check: PassMIT

Similar skills

  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Tech Debt Analyzer

    ailabs-393/ai-labs-claude-skills

    This skill should be used when analyzing technical debt in a codebase, documenting code quality issues, creating technical debt registers, or assessing code maintainability.

    454 GitHub starsUsed in 2 repos~3.9k tokens
    DevelopmentAuto-check passed
  • FIXME Resolver

    tailcallhq/forgecode

    Finds every FIXME comment in a codebase, groups related ones across files into one task, implements the work they describe and removes the comments once it is done.

    7.6k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Desloppify

    Git-on-my-level/codex-autorunner

    Codebase health scanner and technical debt tracker. An agent skill from Git-on-my-level/codex-autorunner.

    875 GitHub stars~3.4k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Code Quality Gate

    fengshao1227/ccg-workflow

    Scans code for complexity, long functions, duplicated blocks, naming problems and code smells with a Node script, then reports and suggests refactors.

    5.9k GitHub stars~593 tokensUpdated 22 days ago
    DevelopmentAuto-check: notes

More from dralgorhythm/claude-agentic-framework

All 20 skills in this repo
  • Swarm Coordination

    dralgorhythm/claude-agentic-framework

    Rules for several agents sharing one repository: an orchestrator tracks work in two tiers, workers write to scratch files, and every handoff leaves a pointer to an artifact.

    124 GitHub stars~1.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Threat Modeling

    dralgorhythm/claude-agentic-framework

    Finds security threats in a design with a STRIDE pass per component, rates severity and records fixes, with extra checks for AI agent and tool risks.

    124 GitHub stars~581 tokensUpdated 2 mo ago
    Auto-check passed
  • Architecture Decision Record Writer

    dralgorhythm/claude-agentic-framework

    Writes Architecture Decision Records with title, status, context, decision, rationale and consequences for significant technical choices, kept short and numbered.

    124 GitHub stars~529 tokensUpdated 2 mo ago
    Auto-check passed
  • Dependency Upgrade Protocol

    dralgorhythm/claude-agentic-framework

    Sequences safe dependency upgrades: read the changelog, verify the version exists upstream, pin it, and keep major bumps in separate commits behind a full gate run.

    124 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Designing Systems

    dralgorhythm/claude-agentic-framework

    Produces this framework's ADR and system-design artifacts from bundled templates with trade-off analysis.

    124 GitHub stars~458 tokensUpdated 2 mo ago
    Auto-check passed
  • Land The Plane

    dralgorhythm/claude-agentic-framework

    Lands in-flight work: quality gates, atomic commit, rebase, push, verified remote sync, then handoff — a user-invoked finish-line workflow.

    124 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Codebase Health Auditor

What does Codebase Health Auditor do?

Runs a user-invoked, swarm-style audit of a whole codebase for SOLID and DRY violations, code smells, complexity, dead code and pattern consistency, with a prioritized report. This skill launches parallel worker-reviewer agents, one per audit dimension, to review a codebase as a whole rather than one diff at a time. The dimensions are SOLID and DRY violations, checked against the project's own code-quality rules file and, for duplication, with AST-based tools like jscpd rather than plain grep patterns; code smells from Fowler's catalog such as long methods, large classes, feature envy, data clumps and primitive obsession; and pattern consistency across error handling, async usage, naming, imports and type versus interface usage.

When should I use Codebase Health Auditor?

Codebase Health Auditor fits situations like: running a periodic health check across an entire codebase; finding SOLID and DRY violations beyond what a single PR diff would show; locating dead code and unused exports safely, with false positives checked; auditing consistency of error handling, naming and async patterns project-wide.

How do I install Codebase Health Auditor in Claude Code?

Run `npx skills add dralgorhythm/claude-agentic-framework --skill code-check -a claude-code`. Or copy the skill folder (.claude/skills/code-check in dralgorhythm/claude-agentic-framework) into .claude/skills/code-check in your project. Claude Code loads it when a task matches its description.

How do I install Codebase Health Auditor in Codex?

Run `npx skills add dralgorhythm/claude-agentic-framework --skill code-check -a codex`. Or copy the skill folder (.claude/skills/code-check in dralgorhythm/claude-agentic-framework) into .agents/skills/code-check in your project. Codex loads it when a task matches its description.

Can I use Codebase Health Auditor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dralgorhythm/claude-agentic-framework --skill code-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-check, .gemini/skills/code-check, .github/skills/code-check and .opencode/skills/code-check in your project.

What does Codebase Health Auditor need to run?

SKILL.md names no scripts, command-line tools or credentials: Codebase Health Auditor is instructions for the agent only. Our summary lists: Language-appropriate static analysis tools such as jscpd, radon, gocyclo or cargo-geiger; A multi-agent runner able to launch parallel worker-reviewer agents.

Does Codebase Health Auditor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codebase Health Auditor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codebase Health Auditor use?

No licence was found for Codebase Health Auditor or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codebase Health Auditor use?

About 980 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codebase Health Auditor?

Skills that share tags, products or a category with Codebase Health Auditor: Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Code Refactoring Workflow (luongnv89/claude-howto, 42k stars), Tech Debt Analyzer (ailabs-393/ai-labs-claude-skills, 454 stars) and FIXME Resolver (tailcallhq/forgecode, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Health Auditor?

dralgorhythm (a GitHub user) maintains it in dralgorhythm/claude-agentic-framework, which has 124 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on July 24, 2026.

Source: dralgorhythm/claude-agentic-framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.