audit

audit is a skill for Claude Code, Codex from jlifyio/wyx. It costs 81 tokens per session (1,693 once invoked), scanned A, original, MIT.

A read-only project audit command for wyx specifications. It looks for documents describing concepts, data-processing pipelines, and synchronization rules, then identifies areas without coverage.

In plain words
What is it for?
Use it to scan a whole project or one folder, find existing CONCEPT.md, PIPELINE.md, and SYNCS.md files, detect possible pipeline or synchronization candidates, and create an ordered list of commands to run.
Why use it?
It shows where project behavior has no written specification and helps decide what should be documented next. It does not create specifications.

Skill for Claude CodeCodex

Part of the wyx plugin — 5 skills, 3 hooks 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/jlifyio/wyx/audit
Any agent
npx skills add jlifyio/wyx --skill audit
Clone the repo
git clone --depth 1 https://github.com/jlifyio/wyx

Made for: Claude Code, Codex.

Or install wyx, the plugin that ships this one along with the rest of its 5 skills, 3 hooks.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,693 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 $0.00081 $0.01693
Opus 5 $0.00041 $0.00847
Sonnet 5 $0.00016 $0.00339
Haiku 4.5 $0.00008 $0.00169

Measured 3d ago against content hash 28a7c842bb27, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit 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 3d 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/audit/SKILL.md · 162 lines

How it starts

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

Project Audit & Command Planner

Scan project for wyx spec coverage and generate a prioritized action plan. This skill does NOT generate specs — it identifies what needs specs and outputs commands to run. Unlike SessionStart (which reports counts), this adds: pattern-based pipeline/sync candidate detection and dependency-ordered command sequences.

Tool constraint: Prefer Glob, Grep, and Read for all discovery and counting; do NOT use subagents. Degraded mode — some harnesses expose no Glob/Grep tools at all; when they are unavailable, fall back to read-only shell via Bash for discovery only (find / ls / grep -r to list and read files). Never use Bash to write, edit, move, or generate files — audit stays strictly read-only on every discovery path: it reports, it never produces artifacts.

How to interpret $ARGUMENTS

  • Path (e.g. src/lib/server/): Scope the audit to this subtree only.
  • No arguments: Audit the entire project.

Step 1: Discover Existing Specs

Glob for all wyx spec files (scoped to path if given):

  • **/CONCEPT.md
  • **/PIPELINE.md
  • **/SYNCS.md

Read each spec's first heading to extract the concept/pipeline/sync name.

For each spec, also check for boundary-contributing sections (the sections the PreToolUse hook extracts): CONCEPT.md should have ## interactions or ## dependencies; PIPELINE.md should have ## data boundary. Note any spec missing all its expected boundary sections.

Step 2: Identify Uncovered Modules

Find directories with more than 2 source files lacking any colocated spec (CONCEPT.md, PIPELINE.md, or SYNCS.md). This matches the SessionStart hook's exclusion set — any of the three spec types protects a directory from being flagged. Prefer Glob; if no Glob tool exists in the harness, use read-only shell (find / ls) for discovery only — never to write or modify files.

How to count source files per directory using Glob:

  1. Run Glob for **/*.{ts,js,tsx,jsx,svelte,vue,py,rs,go,java} (scoped to path if given)
  2. From the results, group files by their parent directory and count per directory
  3. Directories with more than 2 source files and no colocated spec are candidates

Read the full file on GitHub · 162 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. 3d ago First seen · 162 lines · 81 tokens per session scan A 28a7c842bb27

Subscribe to this mod's changes

audit is a skill published in the GitHub repository jlifyio/wyx (3 stars, last pushed 25d ago), licensed MIT. It adds 81 tokens to every session and 1,693 once invoked, about $0.0004 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-31.