slither-analysis

slither-analysis is a skill for Claude Code, Codex from ccashwell/evm-cortex. It costs 42 tokens per session (1,484 once invoked), scanned A, original, MIT.

A guide to using Slither, a static-analysis tool that scans Solidity source code for possible vulnerabilities, unsafe patterns, and gas improvements.

In plain words
What is it for?
Use it to run scans on contracts, select detectors, review severity levels, check upgradeable code, export reports, and integrate analysis into CI.
Why use it?
It helps find issues early and provides a way to filter, assess, and automate analysis results in development or continuous integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run scans on contracts, select detectors, review severity levels, check upgradeable code, export reports, and integrate analysis into CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccashwell/evm-cortex/slither-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ccashwell/evm-cortex --skill slither-analysis
Clone the repo
git clone --depth 1 https://github.com/ccashwell/evm-cortex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slither-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccashwell/evm-cortex/slither-analysis/github.svg)](https://agentmods.dev/skills/ccashwell/evm-cortex/slither-analysis)
Your own site
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/slither-analysis"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/slither-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slither-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/slither-analysis"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/slither-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01484
Opus 5.5 $0.00017 $0.00594
Sonnet 5.5 $0.00008 $0.00297
Haiku 4.5 $0.00004 $0.00148

Measured 1mo ago against content hash 519108381dd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

slither-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/slither-analysis/SKILL.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slither Static Analysis

Installation

pip3 install slither-analyzer
# or
pipx install slither-analyzer

# Verify
slither --version

Running Slither

# Basic analysis
slither .

# Target specific contract
slither src/MyContract.sol

# JSON output for CI
slither . --json slither-report.json

# Specific detectors only
slither . --detect reentrancy-eth,reentrancy-no-eth,uninitialized-state

# Exclude detectors
slither . --exclude naming-convention,pragma

# With Foundry remappings
slither . --foundry-out-directory out

Severity Levels

Level Meaning Action
High Likely exploitable vulnerability Fix immediately
Medium Potential vulnerability or bad practice Fix before deploy
Low Minor issue or informational Review and decide
Informational Style or optimization suggestion Nice to fix
Optimization Gas optimization opportunity Fix if meaningful

Key Detectors

Critical / High

Detector Description
reentrancy-eth Reentrancy with ETH transfer
reentrancy-no-eth Reentrancy without ETH
arbitrary-send-eth Unprotected ETH send
arbitrary-send-erc20 Unprotected token transfer
suicidal Unprotected selfdestruct
uninitialized-state State variable not initialized
unprotected-upgrade Missing upgrade auth check
delegatecall-loop Delegatecall in loop

Medium

Detector Description
divide-before-multiply Precision loss from order of operations
reentrancy-benign Reentrancy without direct exploit
tx-origin Using tx.origin for auth
unchecked-transfer Return value not checked
locked-ether Contract can receive but not send ETH
controlled-delegatecall User-controlled delegatecall target

Low / Informational

Detector Description
missing-zero-check No zero address validation
calls-loop External calls in loop
timestamp Block.timestamp usage
assembly Inline assembly usage

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 252 lines · 42 tokens per session scan A 519108381dd4

Subscribe to this mod's changes

slither-analysis is a skill published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 17d ago), licensed MIT. It adds 42 tokens to every session and 1,484 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.