Agent skill

Module Audit Agent

by wednesday-solutions in wednesday-solutions/ai-agent-skills

A skill your agent uses when asked to audit a module, check its health, or assess whether it should be refactored.

MITAuto-check passedTesting & QA

Install Module Audit Agent

skills CLI
$ npx skills add wednesday-solutions/ai-agent-skills --skill module-audit-agent -a claude-code

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

GitHub CLI
$ gh skill install wednesday-solutions/ai-agent-skills module-audit-agent --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/wednesday-solutions/ai-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agents/module-audit .claude/skills/module-audit-agent && 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
module-audit-agent
GitHub stars
170
Token cost
~438 tokens
SKILL.md length
170 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when asked to audit a module, check its health, or assess whether it should be refactored.

  • Works in 3 steps: In parallel → Present the combined audit report → brownfield-tests — Only run if coverage…
  • Asked to audit a module
  • SKILL.md covers When to use, What to do and Never
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Module Audit Agent is an agent skill from wednesday-solutions/ai-agent-skills. Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `agent.yml`).

It sits in Testing & QA, covering Test generation. The repository describes itself as: Pre-configured agent skills for Vibe Coded projects. These skills provide AI coding assistants (Claude Code, Cursor, etc.) with specific guidelines for code quality and design… The licence is MIT.

When your agent uses it

  • Asked to audit a module
  • Check its health
  • Assess whether it should be refactored

Example prompts

  • “/module-audit-agent”

Workflow steps

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

  1. In parallel
  2. Present the combined audit report
  3. brownfield-tests — Only run if coverage < 30% AND risk > 50

What it can do on your machine

Read from SKILL.md and the folder at commit 80fa195. 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.

    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

Module Audit Agent loads about 438 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 170 words of instructions outside code blocks.

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

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

The full file from wednesday-solutions/ai-agent-skills at commit 80fa195, republished under its MIT licence (© wednesday-solutions). 170 words, ~438 tokens.

Download SKILL.mdSave it as .claude/skills/module-audit-agent/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
module-audit-agent
description
Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
license
MIT
metadata.author
wednesday-solutions
metadata.version
1.0
requires
brownfield-chat, brownfield-fix
permissions.allow
Bash(wednesday-skills score *), Bash(wednesday-skills blast *), Bash(wednesday-skills gen-tests *)

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

© wednesday-solutions, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/agents/module-audit of wednesday-solutions/ai-agent-skills.

  • SKILL.md
  • agent.yml

Open the folder on GitHubat commit 80fa195

Compare with similar skills

Module Audit Agent 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.

Module Audit Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Module Audit Agent this skillwednesday-solutions/ai-agent-skills170—~438Automated safety check: PassMIT
Emcaklofas/kicad-happy1.4k1 repos~2.8kAutomated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Generate Test Cases342164796/generate-test-cases1191 repos~2.9kAutomated safety check: PassNone
Verify Cc Safety Netkenryu42/cc-safety-net1.6k—~2kAutomated safety check: PassMIT
Wioworkersio/skills190—~5.8kAutomated safety check: PassMIT

Similar skills

  • Emc

    aklofas/kicad-happy

    EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O filtering, switching harmonics, clock routing, differential pair…

    1.4k GitHub starsUsed in 1 repo~2.8k tokens
    Testing & QAAuto-check passed
  • Swig Test

    swig/swig

    Run SWIG test suite for specific languages. An agent skill from swig/swig.

    6.3k GitHub stars~2.3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Generate Test Cases

    342164796/generate-test-cases

    自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。

    119 GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Verify Cc Safety Net

    kenryu42/cc-safety-net

    Launch and drive the real cc-safety-net CLI — the hook decision path, explain, status/doctor, logs, and the local policy GUI — against an isolated home, capturing evidence.

    1.6k GitHub stars~2k tokensUpdated today
    Testing & QAAuto-check passed
  • Wio

    workersio/skills

    Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.

    190 GitHub stars~5.8k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • File Server

    microsoft/WindowsProtocolTestSuites

    Official

    ALWAYS LOAD THIS SKILL when working with FileServer, SMB, SMB2, SMB3, CIFS, file sharing, MS-SMB2, MS-FSCC, MS-FSA, MS-DFSC, MS-FSRVP, MS-RSVD, MS-SQOS, or any file server protocol test…

    567 GitHub stars~4.1k tokensUpdated 23 days ago
    Testing & QAAuto-check passed

More from wednesday-solutions/ai-agent-skills

All 10 skills in this repo
  • Brownfield Drift

    wednesday-solutions/ai-agent-skills

    Enforces architecture boundaries defined in PLAN.md. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~669 tokensUpdated 4 mo ago
    Auto-check passed
  • Greenfield

    wednesday-solutions/ai-agent-skills

    Parallel persona planning for new projects. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~914 tokensUpdated 4 mo ago
    Auto-check passed
  • PR Review

    wednesday-solutions/ai-agent-skills

    Fix engine for PR review comments. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~661 tokensUpdated 4 mo ago
    Auto-check passed
  • Standards Kit

    wednesday-solutions/ai-agent-skills

    Unified development and design standards. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~436 tokensUpdated 4 mo ago
    Auto-check passed
  • Wednesday Git

    wednesday-solutions/ai-agent-skills

    Unified Git workflow. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~702 tokensUpdated 4 mo ago
    Auto-check passed
  • Onboard Dev Agent

    wednesday-solutions/ai-agent-skills

    A skill your agent uses when a dev is new to the project, asks for an overview, or wants to get oriented quickly.

    170 GitHub stars~445 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Module Audit Agent

What does Module Audit Agent do?

A skill your agent uses when asked to audit a module, check its health, or assess whether it should be refactored. Module Audit Agent is an agent skill from wednesday-solutions/ai-agent-skills. Use when asked to audit a module, check its health, or assess whether it should be refactored.

When should I use Module Audit Agent?

Module Audit Agent fits situations like: asked to audit a module; check its health; assess whether it should be refactored.

How do I install Module Audit Agent in Claude Code?

Run `npx skills add wednesday-solutions/ai-agent-skills --skill module-audit-agent -a claude-code`. Or copy the skill folder (skills/agents/module-audit in wednesday-solutions/ai-agent-skills) into .claude/skills/module-audit-agent in your project. Claude Code loads it when a task matches its description.

How do I install Module Audit Agent in Codex?

Run `npx skills add wednesday-solutions/ai-agent-skills --skill module-audit-agent -a codex`. Or copy the skill folder (skills/agents/module-audit in wednesday-solutions/ai-agent-skills) into .agents/skills/module-audit-agent in your project. Codex loads it when a task matches its description.

Can I use Module Audit Agent 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 wednesday-solutions/ai-agent-skills --skill module-audit-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/module-audit-agent, .gemini/skills/module-audit-agent, .github/skills/module-audit-agent and .opencode/skills/module-audit-agent in your project.

What does Module Audit Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Module Audit Agent is instructions for the agent only.

Does Module Audit Agent 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 Module Audit Agent 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 Module Audit Agent use?

Module Audit Agent is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Module Audit Agent use?

About 438 tokens (SKILL.md is roughly 1.8k 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 Module Audit Agent?

Skills that share tags, products or a category with Module Audit Agent: Emc (aklofas/kicad-happy, 1.4k stars), Swig Test (swig/swig, 6.3k stars), Generate Test Cases (342164796/generate-test-cases, 119 stars) and Verify Cc Safety Net (kenryu42/cc-safety-net, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Module Audit Agent?

wednesday-solutions (a GitHub organization) maintains it in wednesday-solutions/ai-agent-skills, which has 170 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on May 26, 2026.

Source: wednesday-solutions/ai-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.