Commands Skill

SkillDev tools

Structured command patterns for invoking audit capabilities through slash commands. Use when triggering /audit, /scan, /checklist, /report, /severity, /patterns, or other slash commands that map to underlying skills and load the correct context for each workflow.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Commands Skill skill

What this skill tells your AI

The instructions your AI receives, as published by 0x-shashi/web3-audit-skills in skills/commands/SKILL.md and read by ahel’s review.

Purpose

Provides structured command patterns for invoking audit capabilities through the plugin. Each command maps to one or more underlying skills, loads the correct context, and executes the appropriate workflow.

Command Reference

/audit <contract|directory>

Purpose: Run a full comprehensive security audit.

ParameterRequiredExampleDescription
<target>YesVault.sol, src/Contract file or directory to audit
--chainNoethereum, arbitrumTarget chain (default: ethereum)
--typeNodefi, nft, bridgeProtocol type for checklist selection
--depthNoquick, comprehensiveAudit depth (default: comprehensive)

Skills invoked: solidity-scannermethodology/comprehensive-auditchecklistsreport-writer

Example:

/audit src/Vault.sol --chain arbitrum --type defi

Output: Full audit report with findings grouped by severity, root cause analysis, PoC code, and fix recommendations.


/scan <contract>

Purpose: Fast 15–20 minute vulnerability scan for triage or contest warm-up.

ParameterRequiredExampleDescription
<target>YesToken.solContract file to scan
--focusNoreentrancy, accessNarrow scan to specific area

Skills invoked: solidity-scanner/workflows/quick-scanseverity/SKILL.md

Example:

/scan src/LendingPool.sol --focus reentrancy

Output: Prioritized list of potential vulnerabilities with severity estimates and quick-fix suggestions.


/checklist <protocol-type>

Purpose: Load a protocol-specific security checklist.

ParameterRequiredExampleDescription
<type>Yeserc20, erc4626, amm, lending, bridgeProtocol or token standard
--formatNomarkdown, interactiveOutput format

Available checklists:

TypeDescriptionItems
erc20ERC-20 token compliance + securityTransfer, approval, supply checks
erc721NFT contract securityMinting, ownership, royalty checks
erc4626Tokenized vault securityShare math, first depositor, inflation
ammAutomated market makerSlippage, oracle, MEV, pool manipulation
lendingLending protocolLiquidation, interest, collateral, oracle
bridgeCross-chain bridgeMessage verification, replay, finality
governanceDAO governanceFlash loan voting, quorum, timelock
stakingStaking contractsReward calculation, withdrawal, unbonding
proxyUpgradeable contractsStorage layout, initialization, access

Skills invoked: checklists/ → protocol-specific checklist file

Example:

/checklist erc4626

/report

Purpose: Generate formatted audit report from collected findings.

ParameterRequiredExampleDescription
--formatNomarkdown, pdf, jsonReport format (default: markdown)
--templateNostandard, contest, clientReport template
--include-gasNoflagInclude gas optimization findings

Skills invoked: report-writer/SKILL.md

Output structure:

1. Executive Summary
2. Scope and Methodology
3. Findings (Critical → High → Medium → Low → Informational)
4. Each finding: Title, Severity, Description, Impact, PoC, Recommendation
5. Appendix: Tool outputs, gas analysis

Example:

/report --format markdown --template contest

/severity <finding-description>

Purpose: Classify a finding's severity using structured criteria.

ParameterRequiredExampleDescription
<description>Yes"unchecked return value in withdraw"Brief description of the finding
--contextNo"vault holds 10M USDC"Additional context for severity

Skills invoked: severity/SKILL.mdscoring/SKILL.md

Assessment criteria applied:

  1. Impact: What can go wrong? (fund loss, DoS, governance)
  2. Likelihood: How likely is exploitation? (attacker cost, prerequisites)
  3. Scope: Who is affected? (single user, all users, protocol)
  4. Existing mitigations: Any guards already in place?

Example:

/severity "reentrancy in withdraw() allows drain" --context "vault holds 10M USDC"

Output: Severity rating (Critical/High/Medium/Low) with detailed justification and comparable historical findings.


/patterns <category>

Purpose: Browse the vulnerability pattern catalog for a specific category.

ParameterRequiredExampleDescription
<category>Yesreentrancy, oracle, access, token, mathPattern category
--chainNosolana, moveChain-specific patterns

Available categories:

CategoryPatterns Covered
reentrancySingle, cross-function, cross-contract, read-only, ERC777, ERC721
oracleSpot price, stale price, reserve-based, circular dependency, decimal mismatch
accessMissing modifier, unprotected init, wrong role, delegatecall bypass
tokenFee-on-transfer, rebasing, non-standard decimals, approve race, blacklist
mathRounding, first depositor, precision loss, overflow, fee calculation
mevSandwich, missing deadline, missing slippage, permit front-running
signatureReplay, malleable, missing nonce, missing chainId, ecrecover zero
proxyStorage collision, uninitialized impl, UUPS missing guard, selector clash
dosUnbounded loop, external call revert, griefing, self-destruct force-send

Skills invoked: patterns/SKILL.mdvariant-analysis/resources/variant-patterns.md

Example:

/patterns reentrancy

/chain-guide <chain>

Purpose: Load chain-specific security considerations and audit context.

ParameterRequiredExampleDescription
<chain>Yesethereum, solana, move, cosmosTarget chain
--focusNogas, consensus, bridgesSpecific area within chain

Supported chains:

ChainScannerKey Differences
Ethereum / EVMsolidity-scanner/Baseline — reentrancy, MEV, gas
Solanasolana-scanner/Account model, PDA, CPI, no reentrancy guard
Move (Aptos/Sui)move-scanner/Resource model, abilities, module publish
Cairo (Starknet)cairo-scanner/Felt252, storage proofs, Sierra
CosmWasmcosmos-scanner/IBC, message handling, gas metering
Fuel (Sway)fuel-scanner/UTXO, predicates, scripts
TON (FunC/Tact)ton-scanner/Actor model, async messages, bouncing
Aztec (Noir)aztec-scanner/Privacy, encrypted state, kernel proofs

Skills invoked: chain-guides/ → chain-specific scanner SKILL.md

Example:

/chain-guide solana --focus accounts

/fix-review <finding-id>

Purpose: Review a proposed fix to verify it correctly addresses the vulnerability.

ParameterRequiredExampleDescription
<finding>YesH-01, reentrancy in withdrawFinding ID or description
--diffNofix-branch..mainGit diff to review

Skills invoked: fix-review/SKILL.mdvariant-analysis/SKILL.md

Checks performed:

  1. Root cause addressed (not just symptom)
  2. No new vulnerabilities introduced
  3. All variant instances also fixed
  4. Edge cases covered
  5. Tests added for the vulnerability
  6. No regressions to existing functionality

Example:

/fix-review H-01 --diff fix/reentrancy..main

/variant <bug-description>

Purpose: Run variant analysis from a known bug to find all related instances.

ParameterRequiredExampleDescription
<description>Yes"reentrancy in withdraw()"Bug description to hunt variants for
--scopeNoall, contract, moduleSearch scope (default: all)

Skills invoked: variant-analysis/SKILL.mdvariant-analysis/workflows/variant-hunt.md

Example:

/variant "unchecked return value in transfer" --scope all

/exploit <protocol-name>

Purpose: Load historical exploit forensics for a protocol or exploit category.

ParameterRequiredExampleDescription
<name>Yeseuler, curve, reentrancyProtocol name or exploit category

Skills invoked: exploit-forensics/ → specific case study file

Example:

/exploit euler

Command Chaining

Commands can be logically chained for complex workflows:

/scan Vault.sol                          → Find initial vulnerabilities
/variant "reentrancy in withdraw()"      → Find all variants
/severity "reentrancy across 3 functions" → Classify aggregate severity
/report --template contest               → Generate contest submission

Error Handling

ErrorResponse
Unknown commandSuggest closest matching command
Missing required parameterPrompt with parameter description and example
Unsupported chainList all supported chains
No findings foundReport clean result with confidence level and areas covered
File not foundPrompt for correct path with workspace file listing

Resources

Signals

GitHub stars
60
Forks
10
Last commit
Feb 2026
Advanced
Catalog kind
skill
Gateway key
commands
Source
github.com/0x-shashi/web3-audit-skills