auditor:audit-cycle

auditor:audit-cycle is a command for coding agents from solanabr/auditor-skill. It costs 67 tokens per session (1,999 once invoked), scanned A, original, MIT.

An automated end-to-end security-audit process that reviews a repository from initial scope through a client-ready report.

In plain words
What is it for?
Use it to pin the reviewed Git commit, record assumptions, run the audit phases, and deliver a Markdown report with an optional PDF.
Why use it?
It organizes discovery, code analysis, manual-style review, reconciliation, and reporting into one repeatable workflow, while stating that it is not a human-firm audit replacement.

Command

Part of the auditor plugin — 1 skill, 15 commands, 8 agents 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 commands/solanabr/auditor-skill/audit-cycle
Clone the repo
git clone --depth 1 https://github.com/solanabr/auditor-skill

Or install auditor, the plugin that ships this one along with the rest of its 1 skill, 15 commands, 8 agents.

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 auditor:audit-cycle

README.md
[![agentmods](https://agentmods.dev/badge/commands/solanabr/auditor-skill/audit-cycle.svg)](https://agentmods.dev/commands/solanabr/auditor-skill/audit-cycle)
Your own site
<a href="https://agentmods.dev/commands/solanabr/auditor-skill/audit-cycle"><img src="https://agentmods.dev/badge/commands/solanabr/auditor-skill/audit-cycle.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,999 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.00067 $0.01999
Opus 5 $0.00034 $0.01000
Sonnet 5 $0.00013 $0.00400
Haiku 4.5 $0.00007 $0.00200

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

Security

Grade A, and why

auditor:audit-cycle 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 4d 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.

commands/audit-cycle.md · 47 lines

How it starts

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

auditor-skill — Flow A: Automated Audit Cycle → Client Report

Arguments: $ARGUMENTS

Run the full audit-firm lifecycle autonomously, from intake to a deliverable report. Read OUTPUT-RULES.md first (mandatory format, severity 1-10, the Rule 5b validation gate) and references/audit-lifecycle/methodology.md (the firm-spine → skill-mechanism mapping this flow follows). Do not pause for a human — where a firm would ask the client, use the QUESTIONS.md defaults and record the assumption in the report.

Lifecycle

  1. Scope / intake (Rule 0 + commit-pin). Discover the repo, declare scope (SKILL.md → SCOPE-GATED LOADING), and honor --scope. Pin the audited commit (git rev-parse HEAD) so the report names exactly what was reviewed. If no human is present to answer intake, apply QUESTIONS.md defaults and list every assumed answer under "Scope & Assumptions". Persist the intake as audit_<n>/intake.md (the /intake artifact) so every later phase and the report read one source of truth.

  2. Context reconstruction (Phase 0.5). Spawn context-builder (sonnet). It produces the instruction matrix, state model, and per-function worksheets in audit_<n>/worksheets/context/. No verdicts yet — understanding only. These worksheets are the shared substrate every later phase reuses (avoids re-reconstruction cost).

2b. Threat model. Spawn threat-modeler (opus) → audit_<n>/threat-model.md: asset inventory, an actor×capability table (what each actor must NOT be able to do), and the trust boundaries, built from the context worksheets + intake.md. This seeds report §4.4/§4.6/§4.7 and hands the reviewers concrete attacker goals to test — not verdicts.

  1. Tool-assisted first pass (tools up-front). If vendor/trailofbits/plugins is present (test -d vendor/trailofbits/plugins), run ToB static-analysis (SAST) over the in-scope languages and fold the SARIF as evidence that clears the mechanical surface and directs manual attention — not as verdicts (references/orchestration/boundary-map.md). This follows Trail of Bits' precedent of running the toolset (Clippy pedantic, cargo-audit, cargo-outdated) at engagement start so linter/advisory noise is dispatched before the deep human read. If absent, run the discovery/grep-commands.md native scanners and note the tooling gap. Load in-scope references/methodologies/* per their protocol markers (SKILL.md reference table) so domain review has the right playbook.

Read the full file on GitHub · 47 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. 4d ago First seen · 47 lines · 67 tokens per session scan A 2f79d66efc4e

Subscribe to this mod's changes

auditor:audit-cycle is a command published in the GitHub repository solanabr/auditor-skill (52 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 1,999 once invoked, about $0.0003 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.