module-audit-agent

module-audit-agent is a skill for Claude Code, Codex from wednesday-solutions/ai-agent-skills. It costs 39 tokens per session (438 once invoked), scanned A, original, MIT.

A module health review that examines what a code module does, what depends on it, its risk level, and possible architecture problems. A module is a focused part of a codebase, such as a service or utility.

In plain words
What is it for?
Use it to audit a module, assess whether it is safe to refactor, understand its dependencies, and get a recommendation about changing it.
Why use it?
It shows the likely impact of changing a module before you refactor or rewrite it. When risk and test coverage are both poor, it can prepare tests for your review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit a module, assess whether it is safe to refactor, understand its dependencies, and get a recommendation about changing it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wednesday-solutions/ai-agent-skills/module-audit
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 wednesday-solutions/ai-agent-skills --skill module-audit
Clone the repo
git clone --depth 1 https://github.com/wednesday-solutions/ai-agent-skills

Made for: Claude Code, Codex.

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 module-audit-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/wednesday-solutions/ai-agent-skills/module-audit/github.svg)](https://agentmods.dev/skills/wednesday-solutions/ai-agent-skills/module-audit)
Your own site
<a href="https://agentmods.dev/skills/wednesday-solutions/ai-agent-skills/module-audit"><img src="https://agentmods.dev/badge/skills/wednesday-solutions/ai-agent-skills/module-audit/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 module-audit-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/wednesday-solutions/ai-agent-skills/module-audit"><img src="https://agentmods.dev/badge/skills/wednesday-solutions/ai-agent-skills/module-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 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.00039 $0.00438
Opus 5 $0.00019 $0.00219
Sonnet 5 $0.00008 $0.00088
Haiku 4.5 $0.00004 $0.00044

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

Security

Grade A, and why

module-audit-agent 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 10d 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.

skills/agents/module-audit/SKILL.md · 47 lines

What it actually says

Module Audit Agent

When to use

  • "Audit this module"
  • "Is it safe to refactor X?"
  • "What is the health of this service?"
  • "Should we rewrite X?"

What to do

  1. In parallel:

    • brownfield-chat — Read dep-graph.json and summaries.json for the target module. Report: what it does, its imports, what imports it, and any known conflicts.
    • brownfield-fix — Run wednesday-skills score <module> and wednesday-skills blast <module>. Report risk band and total dependent count.
  2. Present the combined audit report:

    • Purpose summary (from summaries.json)
    • Risk score + band (0–30 low / 31–60 medium / 61–80 high / 81–100 critical)
    • Blast radius (dependent count, cross-language flagged separately)
    • Architecture violations or danger zone warnings (from MASTER.md)
    • Recommendation: proceed / review / senior sign-off / do not touch
  3. brownfield-tests — Only run if coverage < 30% AND risk > 50:

    • Run wednesday-skills gen-tests --file <module>
    • Show generated test file to dev for review before writing

Never

  • Recommend refactoring a critical file (risk > 80) without flagging the blast radius
  • Read raw source to answer structural questions — use graph only
  • Auto-write test files without showing the dev first
Files

What ships with it

1 file 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. 10d ago First seen · 47 lines · 39 tokens per session scan A 601ce57a77fc

Subscribe to this mod's changes

module-audit-agent is a skill published in the GitHub repository wednesday-solutions/ai-agent-skills (168 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 438 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

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

issue-root-resolution

Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues. Audit and resolve issue clusters by verified root cause.

Gentleman-Programming/gentle-ai · 45 tokens

rdd-defect-workflow

Trigger: RDD, receipt-driven development, review authority, receipt/lineage, correction/recovery, delivery gate/kill switch, bounded review defects. Guide work.

Gentleman-Programming/gentle-ai · 41 tokens

incident-response

Incident management lifecycle — triage, communicate, mitigate, postmortem. Three modes — new (start incident), update (status update), postmortem (blameless RCA report).

drafthq/draft · 41 tokens

discover

Primary router for discovery, debugging, investigation, quality, and exploration workflows. Analyzes user intent and dispatches to debug, bughunt, quick-review, deep-review, coverage, testing-strategy, learn, tour, impact, assist-review. The recommended entry point for any 'find out', 'check', 'review', or…

drafthq/draft · 75 tokens

mattpocock-dev-workflows

Use when you need Matt Pocock's engineering workflow patterns: spec synthesis, deep-module design, domain modeling, two-axis code review, or disciplined bug diagnosis. A meta-skill covering five complementary sub-patterns for real engineering — not vibe coding.

JPeetz/agent-skills · 59 tokens