لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

Smart contract analyzer

آزاد تازه‌وارد تاییدشده امن

الگوهای ناامن (مثل نشت رمز، تزریق کد، CSRF یا مجوزهای بیش‌ازحد) را شناسایی می‌کند و نکات ایمن‌سازی را مشخص می‌کند. (شامل ۱۰ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Claude Code وابسته است. مشاهدهٔ جدول سازگاری

مخزن اصلی در گیت‌هاب ↗ مطابق مجوز، دانلود مستقیم فایل غیرفعال است

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: smart-contract-analyzer
description: 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.
license: MIT License
metadata:
    author: https://x.com/mnedelchev_
    version: "1.0"
---

# 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](./references/local-agents/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 project `analyzer-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 report
```

### Scope 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*.sol` or `*Mock*.sol`
- Ignore smart contracts defined by the `--OOS` parameter _(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.
<!-- ‹guest · 2026-11-26› -->

### Step 1: Perform static analysis check
Spawn the [static-analyzer.md](./references/local-agents/static-analyzer.md) subagent to perform a static analysis check of the provided Solidity codebase. The subagent runs Slither, Solhint, Aderyn and 4naly3er one after another, all with the same Out-of-scope rules. 4naly3er ships with the skill at [references/4naly3er](./references/4naly3er).

**Everything reported by Slither, Solhint, Aderyn and 4naly3er 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](./references/local-agents/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](./references/local-agents/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](./references/local-agents/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](./references/local-agents/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](./references/local-agents/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
1. 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 |
    |:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|
2. Take into account if command parameter `--report-output` has been provided and apply it.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Diagnosing Superpowers

«Diagnosing Superpowers» دستورالعمل دقیقی برای «مدیریت هوشمند حافظه و کانتکست» در اختیار دستیار هوش مصنوعی می‌گذارد تا …

⚡ /diagnosing-superpowers SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰