# grimoire-uniswap

Retrieves Uniswap router addresses, token data, and pool parameters using the Grimoire CLI to prepare spell snapshots.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 6
- Author: franalgaba
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/franalgaba/grimoire/tree/HEAD/skills/grimoire-uniswap/SKILL.md
- Updated: 2026-05-08
- HTML: https://affpapa.org/en/nevibecode/skills/grimoire-uniswap

## What it does

This skill guides coding agents through the `grimoire venue uniswap` CLI. It helps assistants query router contracts across different chains, look up token lists, and inspect liquidity pools. The CLI also includes snapshot commands that format token and pool records into Grimoire `params:` blocks.

Pool lookups read from two potential sources. The command checks The Graph indexers whenever `GRAPH_API_KEY` is present. If subgraph credentials are not supplied, queries fall back to direct factory contract calls using an RPC node URL.

The tool handles metadata only and does not compute real-time swap quotes. When composing swap steps inside `.spell` files, `fee_tier` is strictly required: the adapter throws an immediate error if this value is omitted.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/grimoire-uniswap/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/grimoire-uniswap/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/grimoire-uniswap/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/grimoire-uniswap/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install franalgaba/grimoire grimoire-uniswap
```

2. **Manually: put the files in place**
- File: `.github/skills/grimoire-uniswap/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/franalgaba/grimoire --path skills/grimoire-uniswap
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/grimoire-uniswap/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/franalgaba/grimoire/tree/HEAD/skills/grimoire-uniswap/SKILL.md

## When to use it
- Query Uniswap router addresses across multiple blockchain networks
- Generate params: snapshot blocks for Grimoire automation files
- Find token pair liquidity pools via Subgraph or direct RPC calls
- Validate swap action parameters such as fee tiers and slippage limits

## Example prompts
- Find the Uniswap router addresses on chain 1 using grimoire
- Search for USDC and WETH pools on Base with a 500 fee tier using my RPC URL
- Generate a pool snapshot for USDC and WETH to paste into my spell config

## Similar
- [churn-prevention](https://affpapa.org/en/nevibecode/skills/coreyhaines31-churn-prevention.md) — skill · 121600 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 114000 installs
- [ads](https://affpapa.org/en/nevibecode/skills/ads.md) — skill · 83400 installs
- [pricing](https://affpapa.org/en/nevibecode/skills/pricing.md) — skill · 79900 installs
- [marketing-plan](https://affpapa.org/en/nevibecode/skills/marketing-plan.md) — skill · 68400 installs
- [humanizer](https://affpapa.org/en/nevibecode/skills/blader-humanizer.md) — skill · 10600 installs

From the same set: [franalgaba/grimoire](https://affpapa.org/en/nevibecode/by/franalgaba/grimoire.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
