alehdezp/alphaswarm-sol/vrs-tool-aderyn
Claude Code and agent skill by alehdezp/alphaswarm-sol
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Run Aderyn static analysis on contracts
Install
npx vskill@latest install alehdezp/alphaswarm-sol/vrs-tool-aderynSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as alehdezp/alphaswarm-sol/vrs-tool-aderyn.
Run Aderyn Analysis
Run Aderyn static analysis on Solidity contracts in isolated context.
Purpose
Aderyn is a Rust-based static analyzer focusing on gas optimization and code quality. This skill:
- Executes Aderyn in forked context to prevent output pollution
- Summarizes findings instead of returning raw output
- Creates beads for HIGH and CRITICAL findings
- Complements Slither with different detector coverage
When to Use
Use this skill for:
- Gas optimization analysis
- Code quality checks
- Detecting patterns Slither might miss
- Supplementing multi-tool analysis
Arguments
When invoking this skill, provide:
- contracts_path: Path to Solidity contracts directory
- severity: (Optional) Minimum severity filter
- If omitted, includes all severities
- Options:
critical,high,medium,low
Execution
Run all detectors:
Filter by severity:
With Foundry project:
Output Processing
The skill processes Aderyn's JSON output and returns:
- Summary statistics:
- Total issues found
- Breakdown by severity
- Affected contracts and functions
- High-impact findings:
- Only HIGH and CRITICAL severity issues
- Contract location
- Detector name
- Brief description
- Bead creation:
- Automatically creates beads for HIGH/CRITICAL findings
- Links bead to Aderyn detector
- Includes location and severity
Example Output
Detector Coverage
Aderyn specializes in:
- Gas optimizations: Inefficient patterns, storage access, loop optimizations
- Access control: Missing modifiers, centralization risks
- Upgradeability: Proxy patterns, storage collisions
- DoS vectors: Unbounded loops, gas griefing
- Best practices: Code style, naming conventions
Integration with VKG
Aderyn findings are integrated with BSKG by:
- Creating beads for manual investigation
- Linking detectors to BSKG patterns
- Cross-referencing with Slither findings (deduplication)
- Using Aderyn data to enrich graph
Performance
Aderyn execution is isolated in forked context to:
- Prevent main conversation context pollution
- Allow parallel analysis with other tools (e.g., Slither)
- Handle large output without context bloat
- Enable cleanup after analysis
Error Handling
- Aderyn not installed: Returns installation instructions with Rust setup
- Compilation errors: Returns compiler output for user to fix
- No contracts found: Validates path and reports error
- Timeout: Configurable timeout with progress reporting
- JSON parse error: Falls back to text parsing
Advanced Options
Exclude specific detectors:
Custom config:
Output to file:
Output Format
JSON output structure for programmatic use:
Comparison with Slither
| Aspect | Slither | Aderyn | |
|---|---|---|---|
| Language | Python | Rust | |
| Speed | Moderate | Fast | |
| Focus | Security vulnerabilities | Gas + security | |
| Coverage | 90+ detectors | 40+ detectors | |
| Upgradeability | Basic | Advanced | |
| Gas optimization | Limited | Extensive |
Best practice: Run both tools for comprehensive coverage. BSKG automatically deduplicates findings across tools.
Security
- Security scanPassed, 90 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 repositoryCheckingexamples/testing/.claude/skills/vrs-tool-aderyn/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
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/alehdezp/alphaswarm-sol/vrs-tool-aderyn)