0x-shashi/web3-audit-skills/commands

Claude Code and agent skill by 0x-shashi/web3-audit-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install 0x-shashi/web3-audit-skills/commands

SKILL.md

The same SKILL.md was published earlier as 0x-shashi/web3-audit-skills/commands.

Commands Skill

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-scanner → methodology/comprehensive-audit → checklists → report-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-scan → severity/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.md → scoring/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.md → variant-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.md → variant-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.md → variant-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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
46
Repository forks
6
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0x-shashi/web3-audit-skills/commands/badge)](https://verified-skill.com/skills/0x-shashi/web3-audit-skills/commands)

Something wrong with this skill or its page? Tell us.