ln-22-codebase-auditor

ln-22-codebase-auditor is a skill for Claude Code from levnikolaevich/claude-code-skills. It costs 38 tokens per session (2,655 once invoked), scanned A, original, MIT.

A broad, read-only review of a codebase's health across security, delivery, maintenance, dependencies, debugging, concurrency, and system lifecycle. It checks findings against an evidence-based checklist.

In plain words
What is it for?
Use it to audit production code, map the repository and technology stack, investigate cross-cutting risks, and report what was proven, cleared, or left unverified.
Why use it?
It helps uncover risks that do not belong to one specialist review and separates proven problems from unverified possibilities.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the codebase-audit-suite plugin — 5 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/levnikolaevich/claude-code-skills/ln-22-codebase-auditor
Any agent
npx skills add levnikolaevich/claude-code-skills --skill ln-22-codebase-auditor
Clone the repo
git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills

Made for: Claude Code.

Or install codebase-audit-suite, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ln-22-codebase-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-22-codebase-auditor.svg)](https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-22-codebase-auditor)
Your own site
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-22-codebase-auditor"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-22-codebase-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.02655
Opus 5 $0.00019 $0.01327
Sonnet 5 $0.00008 $0.00531
Haiku 4.5 $0.00004 $0.00265

Measured today against content hash cb0e95212285, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ln-22-codebase-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/codebase-audit-suite/skills/ln-22-codebase-auditor/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codebase Auditor

Goal: Perform a broad, read-only production-code health audit. Find concrete cross-cutting failure, security, delivery, and maintenance risks without turning detector matches or personal style preferences into findings. Do not substitute for documentation trust, test-portfolio, whole-architecture, or persistence-specific review.

Execution contract: The ordered checkboxes are the Definition of Done. Track every item internally as PENDING, PROVEN with concrete evidence, CLEARED with evidence that its condition is absent, or UNPROVEN with a gap; reading, delegation, or tool failure is not proof. Reconcile items after each section. Before returning, resolve all PENDING and count only PROVEN and CLEARED; apply the skill's verdict and approval rules to every gap. Preserve user intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. Scale depth to material risk without silently skipping checks. Preserve dependency and safety ordering; otherwise choose the verification method appropriate to each obligation.

Tool Routing

Need Preferred tool Use it when Fallback
Repository map and stack detection Native file listing, manifests, build files, and repository instructions Establishing scope, generated areas, entrypoints, supported runtimes, and commands Targeted tree inspection and known entrypoints
Symbols, callers, ownership, and data flow Language server or host-native code intelligence A finding depends on symbol identity, references, overrides, route wiring, or cross-file behavior Narrow text search plus direct inspection of every relevant match
Current changes and historical context Git status, diff, log, and blame Separating current work, regressions, intentional constraints, and dead compatibility paths Current implementation and explicit decision records
Delivery health Repository-defined build, lint, type, test, and smoke commands Establishing whether the project can ship in its documented environment Inspect CI and scripts; mark execution unavailable
Dependency and security state Native package-manager audit, manifests, lockfiles, and official advisories Checking known vulnerabilities, unsupported versions, and dependency health Official registry and vendor sources; never guess severity
Runtime evidence Existing logs, metrics, traces, profiles, and diagnostics Static analysis cannot establish frequency, reachability, or operational impact Call-path analysis with an explicit static-only limitation
Current external behavior Official specifications, vendor documentation, and release notes A finding depends on current API, runtime, or standard behavior Primary-source web research; otherwise mark UNVERIFIED

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -18 lines · -5 tokens per session cb0e95212285
  2. 7d ago First seen · 131 lines · 43 tokens per session scan A 89af89b6f097

Subscribe to this mod's changes

ln-22-codebase-auditor is a skill published in the GitHub repository levnikolaevich/claude-code-skills (557 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 2,655 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

review-loop

Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…

sangrokjung/claude-forge · 100 tokens

semgrep-rule-creator

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

waybarrios/opencode-power-pack · 37 tokens

variant-analysis

Find similar vulnerabilities and bugs across codebases using pattern-based analysis. Use when hunting bug variants, building CodeQL/Semgrep queries, analyzing security vulnerabilities, or performing systematic code audits after finding an initial issue.

waybarrios/opencode-power-pack · 45 tokens

vuln-report

Turn one confirmed security finding into a disclosure-ready GitHub advisory with root cause, proof of concept, impact, and source evidence. Use for reporting an established vulnerability, not discovering or validating one.

waybarrios/opencode-power-pack · 44 tokens

fp-check

Systematically verifies suspected security bugs to eliminate false positives. Produces TRUE POSITIVE or FALSE POSITIVE verdicts with documented evidence for each bug.

waybarrios/opencode-power-pack · 32 tokens

huggingface-spaces

Build, deploy, debug, or maintain a Hugging Face Space using Gradio, Docker, or Static SDKs. Use for general Space hosting and configuration; use huggingface-zerogpu for ZeroGPU runtime constraints and lora-space-builder for LoRA demos.

waybarrios/opencode-power-pack · 60 tokens