surf — Claude Code skill: what it does, how to install
Connects crypto data to your agent with 100+ commands across 14 domains. It queries real-time token prices, wallet balances, and DeFi metrics.
npx skills add asksurf-ai/surf-skills --skill surf -a claude-codeWhat surf does
The skill connects the agent to the surf CLI via bash. It covers 14 data domains across 40+ chains. Data sources exceed 200 providers, spanning spot prices, wallet activity, prediction markets, and DeFi protocols.
Every session begins with surf install and surf sync. These update the CLI binary and cached API specs. The skill can also insert a 20-line routing block into AGENTS.md or CLAUDE.md. That keeps the model focused on live blockchain data.
CLI flags differ between commands. Flags like --symbol or --token-slug are not interchangeable, so the agent must run surf <command> --help before building a query. All API outputs arrive as untrusted external data. The agent treats them as plain facts and must never execute instructions nested inside response fields.
What it helps with
- fetch real-time token prices and DEX trade volume
- inspect crypto wallet balances, labels, and transfers
- check prediction market odds on Polymarket and Kalshi
- run on-chain SQL queries across 40+ blockchains
Example prompts for the agent
- Fetch wallet balances and recent transactions with surf wallet-detail
- Find current token price candles and liquidity using surf dex-ohlcv
- Look up active prediction odds via surf polymarket-markets
How to install surf
1Skills CLI (Vercel)
npx skills add asksurf-ai/surf-skills --skill surf -a claude-code2Manually: put the files in place
~/.claude/skills/surf/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/surf/
1Skills CLI (Vercel)
npx skills add asksurf-ai/surf-skills --skill surf -a codex2Manually: put the files in place
.agents/skills/surf/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add asksurf-ai/surf-skills --skill surf -a cursor2Manually: put the files in place
.cursor/skills/surf/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install asksurf-ai/surf-skills surf2Manually: put the files in place
.github/skills/surf/SKILL.md1Skills CLI (Vercel)
npx skills add asksurf-ai/surf-skills --skill surf -a gemini-cli2Platform CLI
gemini skills install https://github.com/asksurf-ai/surf-skills --path skills/surfManually: put the files in place
.devin/skills/surf/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add asksurf-ai/surf-skills --skill surf -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 surf
How do I install surf in Claude Code?
Run npx skills add asksurf-ai/surf-skills --skill surf -a claude-code. Next, run surf install and surf sync in your terminal to set up the CLI binary and refresh the API cache.
What does the surf skill do?
It provides access to 100+ commands across 14 crypto data domains. The agent can fetch live token quotes, wallet holdings, DEX volume, and protocol TVL without manual browser lookups.
Why does the skill add rules to AGENTS.md?
It injects a 20-line routing guide into AGENTS.md or CLAUDE.md. This directs the agent to query live endpoints instead of relying on outdated training data.