auditing-codebase

auditing-codebase is a skill for Claude Code from jpicklyk/task-orchestrator. It costs 127 tokens per session (1,858 once invoked), scanned A, original, MIT.

A broad codebase assessment that uses version-control history and code-structure checks to find costly areas to improve. It ranks findings as act now, plan it or watch.

In plain words
What is it for?
Use it to assess a repository or selected area, find design problems and check for inconsistent project terminology.
Why use it?
It helps focus maintenance work on parts of the repository where changes are likely to be hardest or most expensive. It reports candidates without editing code or creating work items.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the task-orchestrator plugin — 32 skills, 5 agents shipped together

Good fit Use it to assess a repository or selected area, find design problems and check for inconsistent project terminology.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpicklyk/task-orchestrator/auditing-codebase
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.

Any agent
npx skills add jpicklyk/task-orchestrator --skill auditing-codebase
Clone the repo
git clone --depth 1 https://github.com/jpicklyk/task-orchestrator

Made for: Claude Code.

Or install task-orchestrator, the plugin that ships this one along with the rest of its 32 skills, 5 agents.

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 auditing-codebase

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/auditing-codebase/github.svg)](https://agentmods.dev/skills/jpicklyk/task-orchestrator/auditing-codebase)
Your own site
<a href="https://agentmods.dev/skills/jpicklyk/task-orchestrator/auditing-codebase"><img src="https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/auditing-codebase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auditing-codebase

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpicklyk/task-orchestrator/auditing-codebase"><img src="https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/auditing-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00127 $0.01858
Opus 5.5 $0.00051 $0.00743
Sonnet 5.5 $0.00025 $0.00372
Haiku 4.5 $0.00013 $0.00186

Measured 6d ago against content hash c4410077d946, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auditing-codebase 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 6d ago.

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.

claude-plugins/task-orchestrator/skills/auditing-codebase/SKILL.md · 58 lines

How it starts

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

Auditing a codebase

An audit answers one question: where would effort spent on the structure of this code pay back soonest? It looks at code that exists, so it is a different job from reviewing a change or planning one. It is broad and rare; a review of one diff stays targeted and does not run this method.

The audit reports candidates. It files no work items and edits no source: each candidate is written so that someone else can turn it into one item.

Scope first

The scope is the path or area you were given, or the whole repository when none was. An auditor handed one area audits that area only, and says in the report what it did not look at. An auditor handed one entry of a candidate list judges that entry only: whether it is a cost-of-change problem, why, and the move. Document files are audited by auditing-documentation; comments inside source stay here, and so does text the project ships to drive an agent (skill files and their references, agent definitions, rules, prompt strings), because it changes behaviour as code does. A file that tells an agent about the project it works in, such as CLAUDE.md or AGENTS.md, is a document. Do not widen the scope to look thorough, and do not shrink it because the tree is large: the next step is what makes a large tree tractable.

Method

The method is language-neutral: it needs no language-specific tool. A project's own analyzer may add exact numbers, and those are used as evidence like any other.

  1. Read what the project says about itself. Its written conventions, its glossary and its decision records (often a docs/decisions or adr folder). They set what counts as a problem here. A documented decision is a reason, not a finding. Write down the intended architecture they state (layers, allowed dependency directions, ownership of state); step 5 compares the code with it.
  2. Measure. Fix the two windows once, collect churn, complexity, coupling and the module graph, and keep the numbers for the later steps. The numbers come from a digest or metrics file you were handed, from the metrics script, or by hand, in that order. Sources, the meaning of each number and its limits: measuring.
  3. Find the hot spots. A hot spot is a file high in both churn and complexity. Code that is ugly but never touched costs nothing; code that changes every week and is hard to change costs every week. Drop churn that is there by design (the list is in hotspots). When the numbers include a candidate list, take its entries as leads, in rank order, beside the hot set. A lead is a hot file, a dependency cycle, an unstable module, or two files in different modules that change together. A lead becomes a candidate of the audit only when reading ties it to a cost; say which leads were dropped. Every other file can be a hot spot, whatever its kind: a configuration table, a registry, or prompt or skill text is ranked like code when its history shows a cost of its own. A document file that is hot on its own is named in the report and left to auditing-documentation. A file that changes only because one hot file changed is that file's partner, a document included. The hot set is judged against the whole repository even when the scope is one area. Definition, commands, the partner test and the by-hand ranking: hotspots. With no history (a fresh clone with one commit, an export), say so and fall back to size and fan-in, and mark every ranking as lower confidence.
  4. Look closely at the hot spots only. For each, in order of score, read it and apply the design signals in design-signals and the entries of slop-catalog that apply to code that exists, except vocabulary drift, which step 6 checks. A file outside the hot set gets a look only because a hot file depends on it or changes together with it; it is named on the hot file's line as a partner, and is not ranked as a candidate of its own.
  5. Run the architecture pass. Compare the module graph and its cycles with the architecture step 1 recorded, and take an inventory of the patterns the code uses for the same job. Method: architecture. Its findings are ranked like any other and must be tied to a cost.
  6. Check vocabulary drift. See the next section.
  7. Weigh each candidate against the project's own record. If a decision record, a convention or a comment explains the shape, drop the candidate, or keep it only with the decision's cost shown: what that choice now makes expensive, with evidence from the history. A candidate that touches a record is flagged as such on its line, whichever way you rank it.
  8. Rank. Sort and rate by ranking, and write the output below.

Read the full file on GitHub · 58 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +6 lines · +6 tokens per session c4410077d946
  2. 7d ago First seen · 52 lines · 121 tokens per session scan A 8ec71ffb227a

Subscribe to this mod's changes

auditing-codebase is a skill published in the GitHub repository jpicklyk/task-orchestrator (215 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 1,858 once invoked, about $0.0005 per session on Opus 5.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-11-23.

Related

auditing-codebase compared with skills from other repositories

auditing-codebase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditing-codebasejpicklyk/task-orchestratorSkill215todayMITA127Claude Code
code-reviewiliaal/ai-skillsSkill46yesterdayMITA78Claude Code, Codex
receiving-code-reviewiliaal/ai-skillsSkill46yesterdayMITA44Claude Code, Codex
security-privacy-threat-modelingKyaniteLabs/checkyourselfSkill76d agoApache-2.0A64Claude Code, Codex
deep-reviewzahardev/aicontextSkill22mo agoMITA39Claude Code
reviewzahardev/aicontextSkill22mo agoMITA40Claude Code
gh-review-checkzahardev/aicontextSkill22mo agoMITA12Claude Code