audit — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited audit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Orchestrate a comprehensive project audit by spawning a team of parallel research agents, deduplicating their findings, and producing a scored audit report.
Parse $ARGUMENTS for these flags:
--lanes <comma-separated>: Which audit lanes to run. Valid values: infra, frontend, plugins, arch, tests, deps, security. Default: all lanes.--previous <path>: Path to a previous audit report. When provided, the writer agent adds Fixed Since Last Audit, New Findings, and Regressions sections.--include-stash: When present, also spawn the git-stash-auditor agent.--drop-stashes: Used with --include-stash during the fix phase. Tells the ops-cleanup agent to git stash drop all stashes instead of just cataloging them.--fix: After the audit completes, automatically run the planning + fix pipeline (Phase 2.5 through Phase 6).--fix-only: Skip audit recon entirely. Read the existing docs/AUDIT_FINDINGS.md and go straight to the planning + fix pipeline. Requires a prior audit report to exist.--deep: Enhanced audit using installed CLI tools. The default audit uses grep/glob (fast). --deep adds tool-assisted scanning per lane.All research agents MUST use this rubric when categorizing findings:
Each research agent produces a markdown table (max 50 lines) with these columns:
| Finding | Severity | Location | Expected | Actual |
|---|
Rules for all research agents:
Create a team called project-audit. The main agent (team lead) stays lean -- it only spawns agents, routes messages, and summarizes. It never reads files or does research itself.
Spawn all applicable research agents with run_in_background: true. Each agent gets the severity rubric and output format above in their prompt.
Lane: infra Task: Audit infrastructure configs against documentation.
Lane: frontend Task: Audit the frontend against the backend API.
Lane: plugins Task: Audit the plugin system for compliance and completeness.
Lane: arch Task: Verify that claims in architecture documentation match actual code.
Lane: arch Task: Find code that exists but is NOT documented in architecture docs.
Lane: tests Task: Audit test coverage against the actual module tree.
pytest --co -q) to list all collected test cases__init__.py)Lane: deps Task: Audit declared dependencies against actual usage.
Lane: N/A (optional) Task: Audit git stash entries. RECON ONLY -- never pop or apply stashes.
git stash list to enumerate all stash entriesgit stash show <stash-ref> to see what files are affectedgit status)security in --lanes)Lane: security Task: Perform security-focused auditing of the codebase.
gitleaks detect to scan for leaked secrets (if available)semgrep --config auto {source_dir}/ for SAST findings (if available)bandit -r {source_dir}/ if availableActivation: This agent only runs when --deep flag is set OR when security is explicitly included in --lanes.
The team lead tracks agent completion. If 75% of research agents have reported back and any agent has NOT reported:
-v2) and shut down the originalBlocked by: All Phase 1 research agent tasks
Task: Deduplicate and cross-reference findings from all research agents.
Blocked by: dedup-agent task
Task: Write the final audit report to docs/AUDIT_FINDINGS.md.
Report structure:
# Project Audit Findings
**Date**: [current date]
**Lanes**: [which lanes were run]
**Agents**: [count of research agents that completed]
## Executive Summary
[5-6 lines max. Overall project health assessment. Count of findings by severity.]
## Critical Findings
[Runtime breaks or legal liability. Each finding includes: description, location, expected behavior, actual behavior, recommended fix.]
## Major Findings
[Silent failures or multi-subsystem impact. Same format as Critical.]
## Minor Findings
[Cosmetic, tech debt, no user impact. Same format but can be more concise.]
## Git Stash Cleanup
[Only if --include-stash was used. List stash entries with recommendations: keep, drop, or apply-and-resolve.]
## What's Working Well
[Positive findings -- things that are correctly implemented, well-tested, or properly documented. Important for morale and to avoid audit fatigue.]If `--previous` flag was provided, also add these sections after "What's Working Well":
## Fixed Since Last Audit
[Findings from the previous report that are now resolved.]
## New Findings
[Findings in this audit that were NOT in the previous report.]
## Regressions
[Findings that were marked as fixed in the previous report but have reappeared.]Create all tasks upfront with proper blockedBy dependencies:
Phase 1 (parallel):
infra-auditor-task
frontend-auditor-task
plugins-auditor-task
arch-accuracy-task
arch-coverage-task
test-coverage-task
dependency-auditor-task
security-auditor-task (only if --deep or security in --lanes)
git-stash-task (only if --include-stash)
Phase 2:
dedup-task (blocked by all Phase 1 research tasks)
Phase 2.5 (only if --fix):
priority-planner-task (blocked by dedup-task)
execution-planner-task (blocked by dedup-task)
-> human-decision-gate (blocked by both planners)
Phase 3:
writer-task (blocked by dedup-task)
Phase 3-fix (only if --fix, after human decision gate):
batch-1-fix-agents (Critical fixes, parallel + watchdog)
batch-1-validation (blocked by batch-1-fix-agents)
Phase 4-fix:
batch-2-fix-agents (Major fixes, parallel + watchdog)
batch-2-validation (blocked by batch-2-fix-agents)
Phase 5-fix:
batch-3-fix-agents (Minor fixes, parallel + watchdog)
batch-3-validation (blocked by batch-3-fix-agents)
Phase 6-fix:
final-validation-task (blocked by all batch validations)The team lead (main agent) MUST:
The team lead MUST NOT:
When --deep is set, research agents augment their grep/glob analysis with installed CLI tools:
| Tool | Command | Lane(s) | What it finds |
|---|---|---|---|
| vulture | vulture {source_dir}/ | arch, deps | Dead/unused code |
| gitleaks | gitleaks detect | security | Leaked secrets in git history |
| deptry | deptry . | deps | Missing/unused/transitive dependencies |
| complexipy | complexipy {source_dir}/ | arch | Cognitive complexity scoring per function |
| semgrep | semgrep --config auto {source_dir}/ | security | SAST rule violations |
| bandit | bandit -r {source_dir}/ | security | Python security issues |
Research agents in the corresponding lanes should run these tools when --deep is active and incorporate findings into their standard output tables.
Activated by --fix flag (runs after audit) or --fix-only flag (reads existing report, skips audit).
Spawn 2 planner agents that collaborate:
priority-planner: Reads deduplicated findings (or docs/AUDIT_FINDINGS.md for --fix-only) and batches them into 3 tiers using the severity rubric:
execution-planner: Takes the priority planner's batched list and produces:
Both planners produce their output as structured markdown.
After both planners complete, the team lead collects the human decisions list and presents ALL decisions that need user input BEFORE spawning any fix agents. Format:
## Decisions Needed Before Fixing
1. [Finding description] -- [What needs deciding] -- Options: A / B / C
2. [Finding description] -- [What needs deciding] -- Options: A / B / C
...
Please answer each decision so fix agents can proceed.Wait for the user's answers. Incorporate them into the fix plan before proceeding.
Execute batches sequentially (Batch 1 -> Batch 2 -> Batch 3). Within each batch:
isolation: "worktree" UNLESS the target file has unstaged changes (detected via git status), in which case route to main treeAfter all 3 batches complete and pass validation:
docs/AUDIT_FINDINGS.md to mark fixed itemsgit status for unstaged changes in the target file. If unstaged changes exist, route that agent to the main tree instead.When --fix-only is passed:
docs/AUDIT_FINDINGS.md directlydocs/AUDIT_FINDINGS.md does not exist, abort with error: "No existing audit report found. Run audit first or use --fix instead of --fix-only."~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.