/auditagent:aa-results-analysisfrom auditagent
Review, explain, and act on a finished AuditAgent smart contract scan's results (findings, invariants, audit_score). Use when the user asks to go through, triage, or fix findings from AuditAgent's `scan_results`.
Ships in auditagent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AuditAgent utilizes AI to perform its security scans and is provided as a "pre-audit" service. Therefore you must keep in mind that the scan_results output you get from it, is AI-assisted — it is not a formal audit and not a confirmed exploit list.
This file contains detailed instructions on how you can best utilize the scan results.
Once the results from a scan are available and you want to:
Use it only when the user asks. While a scan is unfinished, scan_results returns just scan_status, message, and progress; there is nothing to analyze yet.
The result structure is as follows:
| Field | Use |
|---|---|
scan_id | UUID for this scan |
scan_number | Human-readable scan index in the workspace |
scan_type | Scan quality display name (MCP scans are "Auditor Scan") |
summary | AI-generated summary of the project |
total_vulnerabilities | The total number of vulnerabilities found in the scan |
total_lines_of_code | The total number of lines of code analyzed |
contract_files | Files included in the scan |
findings | Reported issues |
date | Completion date string when available |
duration_seconds | Wall-clock duration of the scan |
audit_score | 0–100 directional score (see below) |
source_name | ZIP upload name (typical for MCP scans) |
repository_name | Repo / project name when present (if available) |
organization / branch_name / commit_hash | GitHub-oriented metadata; empty for ZIP/MCP scans |
chain / ethereum_address | This is for on-chain scans; empty for ZIP/MCP scans |
invariants | Properties that were detected from the code or docs that can be used to write tests |
The findings are the issues that were detected in the codebase. They are structured as follows (they include more fields than the ones listed here, but you can ignore those):
issue — short titledescription — Markdown explanation of the issue, with supporting source excerpts and no recommendationsseverity — The severity of the issue: High | Medium | Low | Info | Best Practicescontracts — project-relative file paths (not bare contract names) the issue affectscategory — vulnerability class: reentrancy, access_control, integer_overflow_underflow, denial_of_service, unchecked_call, front_running, config_dependent, business_logic, precision_loss, centralization_risk, otherindex — serves as an ID for the issue, it doesn't necessarily match the order of the finding in the array it's inexcluded — matched a user-defined exclusion pattern (this means the user previously saw a similar issue and decided it should be ignored / excluded and is a non-issue)excluded: true unless the user asks for dismissed items.contracts paths and read the code before recommending a fix. Results are hints, not proof.An invariant is a condition that should hold they are generated from the code and the docs. If violated under realistic execution, there is a logic flaw. Treat AuditAgent invariants as reusable security properties for your test suite — not as filed bugs.
| Field | Meaning |
|---|---|
description | Plain-English property |
condition | Checkable condition — candidate for fuzzing, invariant tests, or formal verification |
function | Function scope, or "Contract-wide" |
path | File path, or "Protocol-wide" |
invariant_* / fuzz tests, Echidna, or assertions. Cairo / Rust (Starknet / Solana): use the project's existing test / fuzz framework rather than assuming Foundry.condition, use both for the test and the fix."Contract-wide" and "Protocol-wide" are broader than one function; design tests accordingly.excluded: true do not count, and excluding or restoring one recalculates the score.AI-generated orientation for the codebase. Useful at the start of a review; verify claims against the code.
Structure
scan_id, scan_type, duration, LOC; audit_score as context only).invariants, with a concrete test approach for the project's stack.Tone
Example next steps
contracts/Vault.sol at the withdraw path in finding #3; check external call order against the reported reentrancy pattern."condition: total supply equals sum of balances after any deposit/withdraw sequence."scan_id does not update in place. A new scan needs a new price quote and your approval."What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (nethermindeth/auditagent-plugin) — no native marketplace selected
npx claudepluginhub p/nethermindeth-auditagent