smart-contract-analyzer
Skill2 starsChanged 4 months agoMITView on GitHub
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.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- 0xbadal/Skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- 0xbadal/Skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
All of the command arguments listed below are off by default.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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. The default model 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
There shouldn't be parallelization of steps. Each step starts only if the previous step has been completed. Provide visual checklist info of the steps execution in the prompt response on each step. The checklist should be updated after each step is completed. The checklist should be in the following format:
[ ] Step 1 — Perform static analysis check
[ ] Step 2 — Perform analysis through orchestration
[ ] Step 3 — Docs compliance
[ ] Step 4 — Vulnerabilities classification
[ ] Step 5 — Report list legitimacy check
[ ] Step 6 — Output reportScope rules
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:
- Ignore folders such as
interface(s)/,mock(s)/,test(s)/( and any file/folder that is inside them ) - Ignore smart contracts with the following name pattern
*.t.sol,*Test*.solor*Mock*.sol - Ignore smart contracts defined by the
--OOSparameter (if any)
Scope rules are very strict and should be applied on every subagent spawned by this skill. The subagents should not analyze any smart contract that is out of scope even if they targeted codebase is a directory with out-of-scope smart contracts. The skill and the subagents should only analyze the in-scope smart contracts.
Step 1: Perform static analysis check
Spawn the static-analyzer.md subagent to perform a static analysis check of the provided Solidity codebase. The subagent runs Slither first and then Solhint, both with the same Out-of-scope rules.
Everything reported by Slither and Solhint is only a LEAD — never a proven vulnerability. The static analysis report is used for two purposes only: (1) visibility and context for the orchestrator on which subagents to spawn and (2) unverified leads that the spawned subagents must validate on their own. Do not add static analysis leads to the vulnerabilities report list and do not present them as findings — only issues validated by a subagent can become part of the report.
Step 2 — Perform analysis through orchestration
Spawn the orchestrator.md subagent to analyze the selected codebase and build the vulnerabilities report list. Pass to it the full leads report from Step 1 and state clearly that those are leads, not proven vulnerabilities.
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 2 and 3. The Step 1 static analysis leads are not issues and are not part of the list — only the ones that were validated by a subagent in Step 2 are there.
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

