audit

audit is a skill for Claude Code, Codex from telus-labs/stagecraft. It costs 103 tokens per session (6,490 once invoked), scanned A, original, MIT.

A read-only review of an existing codebase that examines its structure, health, security, performance, tests, and documentation.

In plain words
What is it for?
Use it before joining a project, planning a refactor, reviewing security, or checking overall project health.
Why use it?
It helps you understand an unfamiliar project and turn scattered problems into a ranked list of work, without changing the code.

Skill for Claude CodeCodex

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/telus-labs/stagecraft/audit
Any agent
npx skills add telus-labs/stagecraft --skill audit
Clone the repo
git clone --depth 1 https://github.com/telus-labs/stagecraft

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 audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/telus-labs/stagecraft/audit.svg)](https://agentmods.dev/skills/telus-labs/stagecraft/audit)
Your own site
<a href="https://agentmods.dev/skills/telus-labs/stagecraft/audit"><img src="https://agentmods.dev/badge/skills/telus-labs/stagecraft/audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00103 $0.06490
Opus 5 $0.00051 $0.03245
Sonnet 5 $0.00021 $0.01298
Haiku 4.5 $0.00010 $0.00649

Measured 5d ago against content hash 44353b01ed38, 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 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Direct evidence only:** `verified_by` must name what was checked. Good examples: `rg -n "functionName" src/`, `node --test tests/foo.test.js`, `curl ... returned 403`, or `read src/auth.js:42-91 and traced caller in
skills/audit/SKILL.md · 467 lines

How it starts

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

Audit a Codebase

A four-phase analysis pass over an existing codebase. Different from Stagecraft's 18-stage pipeline — the pipeline builds features through staged production; an audit is read-only analysis of code that already exists. The output is a prioritized roadmap, not a deployable change.

When to use this vs the pipeline

  • Audit: "I want to understand this codebase and find what to fix." Read-only. Produces docs/audit/00-project-context.md through docs/audit/10-roadmap.md. Use before joining a project, before a refactor, before a security review, or as a periodic health check.
  • Pipeline (devteam stage <name>): "I want to ship a feature through structured production." Writes code. Produces gate JSON and artifacts under pipeline/. Use for any change with acceptance criteria.

If the user asks to "fix things found in the audit", that's the implement skill against docs/audit/10-roadmap.md items — not this skill.

Two entry points

  • /audit — full audit, Phases 0 through 3. Produces 11 output files. ~30–60 minutes wall-clock on a medium codebase. Includes human checkpoints between phases so you can correct course before deep analysis.
  • /audit-quick — Phases 0–1 only. Produces 6 output files (no security / performance / code-quality / roadmap). ~5–15 minutes wall-clock. Good for fast onboarding or pre-review orientation. The user can run /audit --resume later to complete the deep analysis.

Both commands read this file and execute the phases below.

Inputs

  • The target codebase you're auditing (the user's project, not the Stagecraft framework).
  • Optional scope constraint: /audit src/backend/ focuses on one subtree.
  • Optional <target-project>/docs/audit-extensions.md — project-specific checks appended to each phase. Read once per phase if present. Operators create this in the projects they audit; it does not live in the Stagecraft repo.
  • Optional docs/audit/status.json — for --resume, names the last completed phase.

Read the full file on GitHub · 467 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. 5d ago First seen · 467 lines · 103 tokens per session scan A 44353b01ed38

Subscribe to this mod's changes

audit is a skill published in the GitHub repository telus-labs/stagecraft (6 stars, last pushed 2d ago), licensed MIT. It adds 103 tokens to every session and 6,490 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

semantix

Install and use the semantix memory kernel as a middleware in your agent: extract user preferences / workflows / experience from past sessions, retrieve and inject them on demand. One binary + your agent's own tools.

Gnosil/semantix · 47 tokens

semantix-guide

Troubleshoot and configure Semantix capabilities: Skills (project/custom/global/builtin priority, discovery dirs), Commands (override order, /dir:file naming), Hooks (11 events, automatic project loading, matchers, timeouts), MCP (semantix-agent.toml + .mcp.json + plugin packages, autostart), plugin packages…

Gnosil/semantix · 115 tokens

intuitive-tests

Use this skill whenever the user asks about unit test best practices, test organization, flat test suites, redundant tests, test refactors, pytest/JUnit/Jest/xUnit layout, test taxonomy, flaky tests, coverage quality, fixtures, mocks, parametrization, pruning existing UTs, or "which tests are worth keeping." It…

MiaoDX/intuitive-flow · 154 tokens

intuitive-flow

Stable execution/change router after an approved plan, preflight contract, or tiny concrete task. Refactor-shaped work delegates to intuitive-refactor, and durable work runs through staged planning, review, GSD handoff, implementation, cleanup, and verification while keeping plan ledgers and active capsules compact by…

MiaoDX/intuitive-flow · 98 tokens

intuitive-preflight

Turn a vague task, plan, issue, or "LGTM/go ahead" request into an approval-ready preflight contract before implementation starts. Use when the user wants prompt preflight, clearer scope, non-goals, context package, acceptance criteria, definition of done, verification, stop gates, the exact execution command, or…

MiaoDX/intuitive-flow · 112 tokens

intuitive-squash

Squash local GSD or agent-generated commit history into a clean, reviewable story while preserving important fixes. Use when the user asks to squash commits, clean git history, compress phase commits, prepare a branch before PR, compare aggressive vs moderate squash options, or preserve hotfix/security commits during…

MiaoDX/intuitive-flow · 73 tokens