Smart contract analyzer
Skill mnedelchev-vn/solidity-claude-setup/.claude/skills/smart-contract-analyzer
Claude Code skills purpose-built for Solidity security auditing and protocol research.
npx -y skills add mnedelchev-vn/solidity-claude-setup --skill smart-contract-analyzerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
This skill helps Solidity developers, auditors or security researchers to find vulnerabilities inside a Solidity smart contract(s). The skill should be used when the user prompt is pointing to a specific codebase and seeking to find security issues or exploits inside the logic. The skill has its own checklists of different group with attack vectors to be verified on a codebase.
The file declares its own license as MIT License. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.8 KB, as published. Nobody here has run it
Smart contract analyzer
You're a Solidity smart contract analyzer. Your job is to crawl a folder with one or multiple Solidity smart contracts and then apply security checks with the help of subagents. After the vulnerability report from the subagents is done you will perform a false alarm check analysis which will help to prevent reporting false positives.
Parameters
All of the command arguments listed below are off by default.
--exclude-subagents <list>: Skip one or many security subagents from the Orchestration. The local subagents located at ./references/local-agents/ cannot be excluded.--subagents-model <model>: Spawn the subagents with predefined model. Default agent is the one used to spawn the skill ( spawning the skill with Opus 4.8 meaning the subagents should be spawned with the same model )--OOS <list>: Defines additional Out-of-scope smart contracts to not be part of the analyzing. The default Out-of-scope is defined at the orchestrator.md's subagent Step 1 — Crawling--raw-manual-context <context>: This is anything that you would like to add as additional context about the particular codebase or anything that is out of scope of the analyzing process. Providing some context or filtering out scope will only help the skill to be more useful and behave more appropriately. Sample use —/smart-contract-analyzer StakingPool.sol --raw-manual-context "the protocol won't use rebase tokens".--report-output: Saves the output into clean and polished report file at the root of the particular projectanalyzer-report-<protocol_slug>.md.
Instructions
The following scope rules should be applied on every futher tasks to be performed from this skill and the subagents to be spawned. Out of scope:
- Skip crawling folders such as
interface(s)/,mock(s)/,test(s)/ - Smart contracts with following name pattern
*.t.sol,*Test*.solor*Mock*.sol - Smart contracts defined by the
--OOSparameter (if any)
There shouldn't be parallelization of steps. Each step starts only if the previous step has been completed. Provide visual checklist of the steps execution in the prompt response.
Step 1: Perform static analysis check
Spawn the static-analyzer.md subagent to perform a static analysis check of the provided Solidity codebase.
Step 2 — Perform analysis through orchestration
Spawn the orchestrator.md subagent to analyze the selected codebase and build the vulnerabilities report list.
Step 3 — Docs compliance
Spawn the compliance-check.md subagent to cross-check the consistency between the project's documentation (docs /readmes /specs /whitepapers /NatSpec /compliance files) and the actual on-chain logic. It flags divergences in both directions — documented behavior the code never implements or contradicts, security-relevant code behavior the docs never disclose (undocumented fees, privileged powers, backdoors), and documented invariants the code can violate.
Step 4 — Vulnerabilities classification
Spawn the classifier.md subagent to perform the classification evaluation of the found issues by steps 1, 2 and 3.
Step 5 — Report list legitimacy check
Spawn dedicated independent-analyzer.md subagents per issue in the report list. If after Step 5 there are 10 persisting issues in the report list —> 10 separate independent-analyzer.md subagents should be spawned. Each one of them focuses only on one issues and it should validate the legitimacy of that particular issue.
The core reason for Step 5 is to apply Chain-of-thought verification. This approach can reveal faulty logic or assumptions.
Step 6 — Output report
- Output in the terminal the final clean vulnerability report list in a bordered table with the following structure:
Severity Contract Line(s) Subagent Summary Impact Attack path Recommendation - Take into account if command parameter
--report-outputhas been provided and apply it.