0x-shashi/web3-audit-skills/context-detection
Claude Code and agent skill by 0x-shashi/web3-audit-skills
- community
Checking that the SKILL.md file is still in the repository.
Automatically identify the type of protocol being audited to load appropriate checklists, templates, and vulnerability patterns without manual configuration. Use when starting any new audit to classify the protocol (DeFi lending, AMM, bridge, governance, etc.) and surface the most relevant checks.
Install
npx vskill@latest install 0x-shashi/web3-audit-skills/context-detectionSKILL.md
The same SKILL.md was published earlier as 0x-shashi/web3-audit-skills/context-detection.
Context Detection Skill
Purpose
Automatically identify the type of protocol being audited to load appropriate checklists, templates, and vulnerability patterns without manual configuration.
Detection Signals
DeFi Lending Protocol
DEX / AMM
Bridge
Governance
Staking
NFT / Gaming
Vault / Yield
Detection Algorithm
- Scan all contract interfaces (function signatures)
- Scan import statements
- Scan state variable names
- Match against known protocol type signatures
- Return ranked list of protocol types with confidence scores
- Load templates for highest-confidence match
Multiple Protocol Types
Many protocols combine multiple types (e.g., lending + staking + governance). When multiple types detected:
- Load ALL matching templates
- Prioritize by detection confidence
- Add cross-module interaction checks
- Apply comprehensive checklist as baseline
Prerequisites
Context detection requires access to contract source code or verified ABI. The detection algorithm MUST have function signature databases loaded.
Validation
To verify detection accuracy, test against known protocol types:
Behavior Guidelines
- Detection MUST run before loading any protocol-specific templates
- Protocols with confidence below 0.5 should use the comprehensive checklist as fallback
- Multi-type protocols ALWAYS load all matching templates
- Manual override is optionally available when automated detection is uncertain
References
- Context Detection References - Function signature databases and classification trees
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 repositoryCheckingskills/advanced/context-detection/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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
[](https://verified-skill.com/skills/0x-shashi/web3-audit-skills/context-detection)