purpleailab/vigilo/audit
Claude Code and agent skill by purpleailab/vigilo
- community
Checking that the SKILL.md file is still in the repository.
Smart contract security audit orchestrator. Use when user says "audit", "security review", "find vulnerabilities", "Code4rena audit", or starts an audit workflow. Automatically executes all phases: scope → recon → analysis → PoC → report.
Install
npx vskill@latest install purpleailab/vigilo/auditSKILL.md
The same SKILL.md was published earlier as purpleailab/vigilo/audit.
Smart Contract Security Audit
Orchestrates the complete audit workflow from scope resolution to final report.
Directory Structure
At audit start, create:
Workflow
Data Flow:
- Phase 0: Resolve scope.txt
- Phase 1: Recon agents output to .vigilo/recon/
- Phase 2: Auditors READ recon results → SELECT auditors by protocol type → WRITE findings
- Phase 3: PoC validates findings
- Phase 4: Generate reports
CRITICAL: Execute ALL phases automatically without waiting for user input.
Phase 0: Scope Resolution
Resolve Scope
See scope-resolution.md for detailed logic.
→ IMMEDIATELY proceed to Phase 1
Phase 1: Reconnaissance (Parallel)
Launch both agents in parallel:
Output:
- .vigilo/recon/code-findings.md
- .vigilo/recon/docs-findings.md
→ IMMEDIATELY proceed to Phase 2 when both complete
Phase 2: Deep Analysis (Parallel, Max 3 Auditors)
Step 1: Read Recon Results
Read the recon outputs:
- .vigilo/recon/code-findings.md
- .vigilo/recon/docs-findings.md
Extract from recon:
- Protocol Type: AMM/Lending/Vault/Governance/Bridge/Staking
- Key Entry Points: Main functions to audit
- Identified Risks: Preliminary vulnerability hints
Step 2: Select Auditors Based on Protocol Type
| Protocol Type | Auditors | |
|---|---|---|
| AMM/DEX | flashloan-auditor, oracle-auditor, reentrancy-auditor | |
| Lending | oracle-auditor, logic-auditor, flashloan-auditor | |
| Vault/ERC4626 | logic-auditor, reentrancy-auditor, defi-auditor | |
| Governance | flashloan-auditor, access-control-auditor, logic-auditor | |
| Bridge | cross-chain-auditor, access-control-auditor, reentrancy-auditor | |
| Staking | logic-auditor, reentrancy-auditor, defi-auditor |
See auditor-selection.md for detailed guidance.
Step 3: Launch 3 Auditors in Parallel
CRITICAL: Include recon context in prompt so auditors use the gathered information.
Launch Task for each auditor with prompt containing:
- Protocol Type: (from recon)
- Key Entry Points: (from recon)
- Instructions to read recon from .vigilo/recon/
- Instructions to write findings to .vigilo/findings/{severity}/{auditor-type}/
Example prompt for sub-auditor:
Launch all 3 auditors in a single message (parallel execution).
CRITICAL: Auditors write attack scenarios only, NO PoC code.
Output: .vigilo/findings/{severity}/{auditor}/
→ IMMEDIATELY proceed to Phase 3 when all complete
Phase 3: PoC Validation (Sequential)
For each High/Medium finding:
- Read finding from .vigilo/findings/{severity}/{auditor}/
- Invoke Skill(vigilo:poc) with finding path
- PoC generates test →
test/poc/{Severity}-{id}-{title}.t.sol - Validation log →
.vigilo/poc/{Severity}-{id}-{title}.md - Run forge test, handle failures (max 3 retries)
- Validate: Test pass + assertions prove impact → VALIDATED
File Naming Convention: {Severity}-{id}-{kebab-case-title}
CRITICAL: Test passing ≠ VALIDATED. PoC must prove the claimed impact.
→ IMMEDIATELY proceed to Phase 4 when all findings processed
Phase 4: Report Generation
Invoke Skill(vigilo:report)
Generates submission-ready reports:
- .vigilo/reports/submissions/H-01-donation-attack-inflated-collateral.md
- .vigilo/reports/submissions/M-01-stale-price-check.md
Each report is copy-paste ready for target platform (default: Code4rena).
Iron Laws
| Rule | Description | |
|---|---|---|
| SCOPE FIRST | Always check scope.txt before analyzing code | |
| NO POC WITHOUT SCENARIO | Auditors write scenarios, main agent generates PoC | |
| TEST PASS ≠ VALIDATED | PoC must prove claimed impact, not just pass | |
| AUTO-CONTINUE | No waiting for user between phases |
See iron-laws.md for complete rules.
References
| File | When to Load | |
|---|---|---|
| scope-resolution.md | Phase 0: Scope resolution details | |
| auditor-selection.md | Phase 2: Protocol-specific auditor selection | |
| iron-laws.md | All phases: Critical rules |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/claude/skills/audit/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 15
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/purpleailab/vigilo/audit)