pool-finder

pool-finder is a skill for Claude Code, Codex from ccashwell/evm-cortex. It costs 54 tokens per session (6,882 once invoked), scanned A, original, MIT.

Tools and patterns for finding and inspecting Uniswap liquidity pools. Uniswap is a decentralized exchange where pools hold token pairs and determine swap pricing and liquidity.

In plain words
What is it for?
Use it to discover pools, query their state, inspect fees and parameters, analyze total value locked and volume, or compare swap routes.
Why use it?
It avoids relying on guessed pool addresses or incomplete data when analyzing prices, liquidity, trading activity, or swap routes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to discover pools, query their state, inspect fees and parameters, analyze total value locked and volume, or compare swap routes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccashwell/evm-cortex/pool-finder
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 pool-finder
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 pool-finder

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccashwell/evm-cortex/pool-finder/github.svg)](https://agentmods.dev/skills/ccashwell/evm-cortex/pool-finder)
Your own site
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/pool-finder"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/pool-finder/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 pool-finder

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/pool-finder"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/pool-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,882 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.00054 $0.06882
Opus 5.5 $0.00022 $0.02753
Sonnet 5.5 $0.00011 $0.01376
Haiku 4.5 $0.00005 $0.00688

Measured 17d ago against content hash 9f8913158fef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pool-finder 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 17d 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/pool-finder/SKILL.md · 635 lines

How it starts

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

Uniswap Pool Discovery & Analysis

Key Addresses (Ethereum Mainnet)

Contract Address
V3 Factory 0x1F98431c8aD98523631AE4a59f267346ea31F984
V3 QuoterV2 0x61fFE014bA17989E743c5F6cB21bF9697530B21e
V3 SwapRouter02 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45
V3 NonfungiblePositionManager 0xC36442b4a4522E871399CD717aBDD847Ab11FE88
V4 PoolManager 0x000000000004444c5dc75cB358380D2e3dE08A90
V4 StateView 0x7fFE42C4a5DEeA5b0feC41C94C136Cf115597227

V3 Pool Discovery

Factory Query

import {IUniswapV3Factory} from "@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol";

IUniswapV3Factory factory = IUniswapV3Factory(0x1F98431c8aD98523631AE4a59f267346ea31F984);

// Fee tiers and their tick spacings:
//   100  (0.01%) — tickSpacing 1   — stablecoin pairs
//   500  (0.05%) — tickSpacing 10  — correlated pairs, high volume
//   3000 (0.30%) — tickSpacing 60  — standard pairs
//  10000 (1.00%) — tickSpacing 200 — exotic / low-volume pairs
address pool = factory.getPool(tokenA, tokenB, fee);

Using cast

# Find ETH/USDC 0.3% pool on Ethereum mainnet
cast call 0x1F98431c8aD98523631AE4a59f267346ea31F984 \
  "getPool(address,address,uint24)(address)" \
  0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 \
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
  3000

# Read pool slot0 — returns (sqrtPriceX96, tick, observationIndex, observationCardinality,
#   observationCardinalityNext, feeProtocol, unlocked)
cast call <pool_address> "slot0()(uint160,int24,uint16,uint16,uint16,uint8,bool)"

# Active liquidity in the current tick range
cast call <pool_address> "liquidity()(uint128)"

# Pool configuration
cast call <pool_address> "fee()(uint24)"
cast call <pool_address> "tickSpacing()(int24)"
cast call <pool_address> "token0()(address)"
cast call <pool_address> "token1()(address)"

# Oracle observation buffer size
cast call <pool_address> "slot0()(uint160,int24,uint16,uint16,uint16,uint8,bool)" | \
  awk '{print "observationCardinality:", $4}'

Read the full file on GitHub · 635 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. 17d ago Changed · +20 lines 9f8913158fef
  2. 1mo ago First seen · 615 lines · 54 tokens per session scan A 7443895b0271

Subscribe to this mod's changes

pool-finder is a skill published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 17d ago), licensed MIT. It adds 54 tokens to every session and 6,882 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.