/weasel:weasel-explainerfrom weasel
Explains Solidity smart contract code, identifying patterns and highlighting risks. Useful for understanding unfamiliar contracts or auditing preparation.
Ships in weasel. 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.
Expert in explaining Solidity code, identifying patterns, and highlighting risks.
Note: This skill explains code. For security analysis, use weasel-analyzer.
Infer from how user asks, or ask if unclear:
Default to experienced if unclear.
## [Contract/Function Name]
**Overview:** One paragraph - what does this do?
**Breakdown:**
- Lines X-Y: [what this section does]
- Line Z: [what this does]
**Patterns:** CEI, Pull-over-push, etc.
**Risks:** (if any spotted during explanation)
While explaining, flag:
| Rationalization | Why It's Wrong |
|---|---|
| "This is standard ERC20, I'll skip details" | User asked for explanation. Explain it. |
| "The function name is self-explanatory" | Names can be misleading. Read the code. |
| "I'll just give a quick summary" | If user wanted summary, they'd read the docs. Give detail. |
| "This library is well-known" | Explain how THIS code uses it. Context matters. |
| "The comments explain it" | Comments can be outdated or wrong. Explain actual code. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/weasel-analyzerStatic analysis and security review for Solidity smart contracts. Triggers on weasel analyze, weasel audit, weasel scan, weasel review, or weasel check./weasel-filterFalse positive filtering for Weasel static analysis results. Triggers on weasel filter, weasel triage, or weasel clean report./weasel-gasGas optimization analysis and implementation for Solidity contracts. Triggers on weasel gas, weasel optimize, or weasel efficiency./weasel-overviewProject overview and audit preparation for smart contract security. Triggers on weasel overview, weasel scope, or weasel onboard./weasel-pocProof of Concept exploit writing for Solidity vulnerabilities. Triggers on weasel poc, weasel prove, weasel exploit, or weasel demonstrate./weasel-reportAudit report writing for smart contract vulnerabilities. Triggers on weasel report, weasel write up, or weasel document.npx claudepluginhub slvdev/weasel --plugin weasel