paul:audit

paul:audit is a command for Claude Code from ChristopherKahler/paul. It costs 13 tokens per session (460 once invoked), scanned A, original, MIT.

A structured review command for a completed software plan. It checks the plan from both a senior-engineering and compliance perspective before implementation begins.

In plain words
What is it for?
Use it after planning to review PLAN.md, classify findings by urgency, update the plan with important corrections, and create an AUDIT.md report.
Why use it?
It helps catch important design, risk, and compliance issues before work is applied to the codebase.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it after planning to review PLAN.md, classify findings by urgency, update the plan with important corrections, and create an AUDIT.md report.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/christopherkahler/paul/audit
About the project

PAUL is a structured development workflow for Claude Code that organizes AI-assisted work into planning, implementation, and state-reconciliation steps. It is for developers who want acceptance criteria, managed context, and completed plans while building software with Claude Code. Its catalogue entries are commands that implement the workflow.

ChristopherKahler/paul · 1,255 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/ChristopherKahler/paul

Made for: Claude Code.

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 paul:audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/christopherkahler/paul/audit/github.svg)](https://agentmods.dev/commands/christopherkahler/paul/audit)
Your own site
<a href="https://agentmods.dev/commands/christopherkahler/paul/audit"><img src="https://agentmods.dev/badge/commands/christopherkahler/paul/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 paul:audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/christopherkahler/paul/audit"><img src="https://agentmods.dev/badge/commands/christopherkahler/paul/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 460 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.00013 $0.00460
Opus 5.5 $0.00005 $0.00184
Sonnet 5.5 $0.00003 $0.00092
Haiku 4.5 $0.00001 $0.00046

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

Security

Grade A, and why

paul: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 1mo 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.

src/commands/audit.md · 58 lines

What it actually says

When to use: After PLAN phase complete, before APPLY. Optional: Only runs when explicitly invoked or suggested by enterprise_plan_audit config. Who audits: Claude performs the audit assuming the role of senior principal engineer + compliance reviewer.

<execution_context> @~/.claude/paul-framework/workflows/audit-plan.md </execution_context>

@.paul/STATE.md @.paul/config.md

The workflow implements:

  1. Validate preconditions (PLAN exists, loop at PLAN complete)
  2. Load and parse the PLAN.md
  3. Execute enterprise audit (6-section structured review)
  4. Classify findings (must-have, strongly-recommended, can-safely-defer)
  5. Auto-apply must-have and strongly-recommended findings to PLAN.md
  6. Create AUDIT.md report in phase directory
  7. Update STATE.md with audit completion
  8. Present summary and route to APPLY

<success_criteria>

  • PLAN.md audited against enterprise standards
  • Must-have and strongly-recommended findings applied to PLAN.md
  • AUDIT.md report created in phase directory
  • STATE.md updated to reflect audit completion
  • User presented with next action (run APPLY) </success_criteria>

<anti_patterns>

  • Don't invent requirements not implied by the plan
  • Don't assume "future phases" will fix gaps
  • Don't say "this is fine for v1" unless justified
  • Don't optimize for politeness over correctness
  • Don't skip applying findings - the whole point is automatic remediation </anti_patterns>
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. 1mo ago First seen · 58 lines · 13 tokens per session scan A f2628e4c3d5a

Subscribe to this mod's changes

paul:audit is a command published in the GitHub repository ChristopherKahler/paul (1,255 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 460 once invoked, about $0.0001 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-08-30.