surf

surf is a skill for Claude Code, Codex from BlockRunAI/ClawRouter. It costs 130 tokens per session (3,654 once invoked), scanned A, original, MIT.

A local API skill for retrieving cryptocurrency data across exchanges, blockchains, wallets, prediction markets, and social sources. It provides 83 HTTP endpoints, including market lookups and on-chain SQL queries, with payment handled through an x402 USDC wallet.

In plain words
What is it for?
Use it to retrieve prices, rankings, order books, candles, wallet details, social data, prediction-market data, blockchain records, and on-chain query results.
Why use it?
It gives coding agents one documented interface for varied crypto-data sources and clarifies required parameters, request methods, and pricing tiers.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/blockrunai/clawrouter/surf
Any agent
npx skills add BlockRunAI/ClawRouter --skill surf
Clone the repo
git clone --depth 1 https://github.com/BlockRunAI/ClawRouter

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 surf

README.md
[![agentmods](https://agentmods.dev/badge/skills/blockrunai/clawrouter/surf.svg)](https://agentmods.dev/skills/blockrunai/clawrouter/surf)
Your own site
<a href="https://agentmods.dev/skills/blockrunai/clawrouter/surf"><img src="https://agentmods.dev/badge/skills/blockrunai/clawrouter/surf.svg" alt="Measured on agentmods" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,654 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00130 $0.03654
Opus 5 $0.00065 $0.01827
Sonnet 5 $0.00026 $0.00731
Haiku 4.5 $0.00013 $0.00365

Measured 4d ago against content hash 1a977464e6b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

surf scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl 'http://127.0.0.1:8402/v1/surf/wallet/detail?address=vitalik.eth'
skills/surf/SKILL.md · 248 lines

How it starts

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

Surf — Unified Crypto Data API (via ClawRouter)

Surf bundles 83 endpoints across 12 domains into one paid HTTP API. ClawRouter exposes them at http://127.0.0.1:8402/v1/surf/*, paid through the same x402 USDC wallet that funds LLM calls. No Surf account, no API key — settlement lands directly in Surf's Base treasury. Upstream lives at api.asksurf.ai/gateway/v1 — ClawRouter forwards transparently.

Pricing tiers (per call):

  • Tier 1 — $0.001 — prices, rankings, lists, news, simple reads
  • Tier 2 — $0.005 — orderbooks, candles, search, wallet details, social
  • Tier 3 — $0.020 — on-chain SQL queries, structured queries, schema introspection

The legacy surf-1.5 chat surface is intentionally NOT exposed yet — it's held until per-token settlement is wired. Trying /v1/surf/chat/completions returns 404 ("Unknown Surf endpoint"), no payment is taken.

All requests use GET unless the table below says otherwise. Path parameters that look like ?symbol= are query params on a GET. POST endpoints take a JSON body. ClawRouter forwards the wallet's x402 payment header transparently.

Required-param pre-check. 56 of the 83 endpoints have required query params (e.g. pair, symbol, address, chain, q, interval). The route validates them before settlement — call with missing params and you get 400 { missing_params, all_required, docs } and the wallet is NOT charged. Check each row in the catalog below for the correct param name (e.g. mindshare is q + interval, not project + window).

When to use this skill

  • "What is the current BTC price?" → /surf/market/price?symbol=BTC (cheaper + more reliable than scraping)
  • "Who holds the most USDC on Ethereum?" → /surf/token/holders?address=0xA0b8...&chain=ethereum
  • "How many Ethereum transactions in the last hour?" → POST /surf/onchain/sql { sql: 'SELECT count() FROM ethereum.transactions WHERE block_timestamp >= now() - INTERVAL 1 HOUR' }
  • "Label this list of wallets." → /surf/wallet/labels/batch?addresses=0xabc,0xdef,...
  • "Is HYPE mindshare peaking?" → /surf/social/mindshare?q=hyperliquid&interval=30d
  • "Find the canonical metadata for 'ethena'." → /surf/search/project?q=ethena

Read the full file on GitHub · 248 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. 4d ago First seen · 248 lines · 130 tokens per session scan A 1a977464e6b8

Subscribe to this mod's changes

surf is a skill published in the GitHub repository BlockRunAI/ClawRouter (6,578 stars, last pushed today), licensed MIT. It adds 130 tokens to every session and 3,654 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.