grimoire-uniswap — Claude Code skill: what it does, how to install
Retrieves Uniswap router addresses, token data, and pool parameters using the Grimoire CLI to prepare spell snapshots.
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a claude-codeWhat grimoire-uniswap 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.
What it helps with
- 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 for the agent
- 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
How to install grimoire-uniswap
1Skills CLI (Vercel)
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a claude-code2Manually: put the files in place
~/.claude/skills/grimoire-uniswap/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/grimoire-uniswap/
1Skills CLI (Vercel)
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a codex2Manually: put the files in place
.agents/skills/grimoire-uniswap/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a cursor2Manually: put the files in place
.cursor/skills/grimoire-uniswap/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install franalgaba/grimoire grimoire-uniswap2Manually: put the files in place
.github/skills/grimoire-uniswap/SKILL.md1Skills CLI (Vercel)
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a gemini-cli2Platform CLI
gemini skills install https://github.com/franalgaba/grimoire --path skills/grimoire-uniswapManually: put the files in place
.devin/skills/grimoire-uniswap/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add franalgaba/grimoire --skill grimoire-uniswap -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about grimoire-uniswap
How do I install grimoire-uniswap in Claude Code?
Run npx skills add franalgaba/grimoire --skill grimoire-uniswap -a claude-code in your terminal. This command downloads and links the skill configuration.
What does grimoire-uniswap do?
It provides CLI workflows for inspecting Uniswap tokens, routers, and pool metadata to build DeFi spells in Grimoire.
Does grimoire-uniswap calculate live swap quotes?
No, the tool only fetches contract addresses and pool metadata, leaving transaction routing and quote execution to on-chain engines.