Install any skill in seconds. Free to start, no credit card required.
Get Started Free →GenTech Labs' integration patterns for BlockRun MCP from Hermes Agent. Covers daily usage patterns, cost-optimized workflows, multi-tool pipelines, and reliable error handling for BlockRun's full toolset.
.claude/skills/blockrunai-gentech-blockrun/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 726% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 122% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 173% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 205% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 64% | 0% |
Real-world patterns from running BlockRun MCP in production across 32 cron jobs and daily agent operations.
bash# Set up BlockRun wallet (one-time) blockrun_wallet(action="setup") # → Follow the QR to fund the wallet with USDC
python# Set a global budget cap so spending never surprises you blockrun_wallet(action="budget", budget_action="set", budget_amount=10.0) # Spawn child agents with delegate budgets blockrun_wallet(action="delegate", agent_id="researcher", agent_limit=2.0) blockrun_wallet(action="delegate", agent_id="data-poller", agent_limit=0.50)
pythonblockrun_wallet(action="status") # → Two wallets: Base + Solana. Active chain shown. Check before expensive runs.
Crypto, FX and commodity quotes cost nothing — blockrun_price is free for those categories (only stocks/usstock is paid, at $0.0020). Use them liberally, and do not pay $0.0085 to blockrun_surf for a quote you can get for $0.
python# Single price blockrun_price(action="price", category="crypto", symbol="BTC-USD") # Batch of prices blockrun_price(action="price", category="crypto", symbol="ETH-USD") blockrun_price(action="price", category="crypto", symbol="SOL-USD") # Free — discover available symbols blockrun_price(action="list", category="crypto", query="sol")
Cost: $0 — crypto/FX/commodity price and list calls are both free. Only category:"stocks" is paid ($0.0020).
Start with the free tools, then pay only for what they cannot answer.
python# 1. Free — DEX liquidity + volume (free endpoint) blockrun_dex({ query: "SOL" }) # 2. FREE — CEX price (crypto category is free) blockrun_price(action="price", category="crypto", symbol="SOL-USD") # 3. $0.0060 each — Protocol TVL blockrun_defi({ path: "protocols" }) blockrun_defi({ path: "protocol/jupiter" }) # 4. $0.0060 — Chain TVL blockrun_defi({ path: "chains" })
Total: ~$0.018 per full token analysis (2 free calls + 3 x $0.0060 DefiLlama). Replace CoinGecko/CMC tabs entirely.
Use Exa (neural search) + BlockRun Chat (second opinion) for thorough research.
python# 1. $0.0110 — Neural web search with Exa blockrun_exa({ path: "search", body: { query: "latest AI agent infrastructure developments 2026", numResults: 10, category: "research paper" }}) # 2. per-token — Get second opinion from GLM-5 (excellent for technical details) blockrun_chat({ mode: "glm", message: "Summarize the key trends..." })
Cost-conscious tip: Use mode: "free" on blockrun_chat for zero-cost generation (NVIDIA models).
Use blockrun_wallet + agent_id for multi-agent cost tracking.
python# Allocate budget per agent group blockrun_wallet(action="delegate", agent_id="research", agent_limit=2.0) blockrun_wallet(action="delegate", agent_id="content", agent_limit=1.0) # Pass agent_id on every call blockrun_surf({ path: "market/price", params: { symbol: "BTC" }, agent_id: "research" }) blockrun_search({ body: { query: "latest news", sources: ["web"] }, agent_id: "research" }) # Audit at end of day blockrun_wallet(action="report")
python# 1. TVL & protocol health ($0.0060) blockrun_defi({ path: "protocol/aave-v3" }) # 2. Yield pools ($0.0060) blockrun_defi({ path: "yields" }) # 3. Token price (FREE — crypto category) blockrun_price(action="price", category="crypto", symbol="AAVE-USD") # 4. DEX activity (free) blockrun_dex({ token: "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9" })
python# 1. Current holdings (free — local data or blockrun_rpc) blockrun_rpc({ network: "base", method: "eth_getBalance", params: ["0xabc...", "latest"] }) # 2. Token prices (FREE — crypto category) blockrun_price(action="price", category="crypto", symbol="ETH-USD") blockrun_price(action="price", category="crypto", symbol="USDC-USD") # 3. Prediction market positions ($0.0085) blockrun_markets({ path: "polymarket/positions" })
python# 1. Research ($0.0110) blockrun_exa({ path: "search", body: { query: "agentic commerce trends", numResults: 5 }}) # 2. Image generation for post ($0.01675 cheapest to $0.106 quality) blockrun_image({ prompt: "AI agent futuristic dashboard with neon grids" }) # 3. Voiceover for video ($0.0535/1k chars) blockrun_speech({ input: "Your narration text here...", voice: "sarah" }) # 4. Music track ($0.1585) blockrun_music({ prompt: "upbeat synthwave background" }) # 5. Short video clip ($0.421) blockrun_video({ prompt: "animated data visualization", duration_seconds: 8 })
| Call Type | Price | Frequency | |-----------|-------|-----------| | blockrun_price (list) | FREE | daily discovery | | blockrun_dex | FREE | unlimited | | blockrun_rpc | $0.0030 | on-chain reads (batch: $0.002/element + $0.001) | | blockrun_wallet (status/report) | FREE | before every session | | blockrun_price (quote) | FREE | crypto/FX/commodity; stocks $0.0020 | | blockrun_defi | $0.0060 | protocol/chain analysis ($0.0020 for prices/) | | blockrun_chat (free mode) | $0 | NVIDIA-backed chat | | blockrun_chat (glm mode) | per-token | Zhipu GLM-5 coding — billed on tokens used, not a flat rate | | blockrun_exa (search) | $0.0110 | deep research (contents: $0.002/URL + $0.001) | | blockrun_surf | $0.0085 | crypto data, wallets/candles/search, on-chain SQL (flat) | | blockrun_speech | $0.0535/1k chars | TTS | | blockrun_image | $0.01675–0.106 | image generation | | blockrun_music | $0.1585 | music tracks | | blockrun_video | $0.421+ | short video clips (per-second × duration) | | blockrun_markets | $0.0085 | prediction market data, wallet analytics (flat) | | blockrun_modal | $0.0020–$192 | remote sandbox execution — timeout drives the price, see the modal skill | | blockrun_phone | $0.0110–$5.001 | lookups; number buy/renew is $5.001 |
yaml# ~$0.30/day typical Daily budget: Free tools: unlimited (price quotes, dex, list, wallet status) Crypto data: ~$0.10 (surf + markets, flat $0.0085 each; defi $0.0060) AI calls: ~$0.10 (chat free mode, occasional glm) Media: ~$0.10 (occasional image/speech) Total: ~$0.30/day
Set a $5/week budget cap and never hit it with typical usage.
python# When the wallet is FUNDED, x402 handles this automatically: the SDK # signs the payment challenge and retries — no action needed. # # When the wallet is EMPTY, the 402 / insufficient-balance surfaces to you. # Check status and fund FIRST — don't blindly retry the failing tool: blockrun_wallet(action="status") # then action="setup" / "deposit"
python# Before a batch of expensive calls: balance = blockrun_wallet(action="status") if float(balance["usdcBalance"]) < 0.50: blockrun_wallet(action="deposit") # → opens Coinbase Onramp link
python# For async operations (video, music): # They auto-poll until complete. If timeout, no charge. # Retry with same parameters.
BlockRun calls are cheap but not free. Cache results that don't change minute-to-minute:
blockrun_price are FREE.GenTech's approach: Don't bother caching prices (crypto/FX/commodity quotes are FREE). Cache TVL and wallet labels aggressively.
python# Default is Base. Switch to Solana for Solana-native tools: blockrun_wallet(action="chain", chain="solana") # Switch back: blockrun_wallet(action="chain", chain="base") # Check which is active: blockrun_wallet(action="chain")
Note: Base is required for music, speech, video, and realface. Solana works for price, wallet, dex, rpc, surf, etc.
_Contributed by GenTech Labs, from real production usage of BlockRun MCP._
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 16,364 | 8,627 | -47% | 1 | 1 | 0% | 3,116 | 3,381 | +9% | 0 | 0 | — |
case-02 | fail→pass | 9,123 | 9,389 | +3% | 1 | 1 | 0% | 546 | 4,508 | +726% | 0 | 0 | — |
case-03 | fail→fail | 16,777 | 8,908 | -47% | 1 | 1 | 0% | 2,383 | 3,354 | +41% | 0 | 0 | — |
case-04 | fail→pass | 10,213 | 6,177 | -40% | 1 | 1 | 0% | 1,760 | 3,914 | +122% | 0 | 0 | — |
case-05 | fail→pass | 7,403 | 3,648 | -51% | 1 | 1 | 0% | 1,209 | 3,297 | +173% | 0 | 0 | — |
case-06 | pass→pass | 9,533 | 3,136 | -67% | 1 | 1 | 0% | 1,414 | 3,349 | +137% | 0 | 0 | — |
case-07 | fail→pass | 6,944 | 3,120 | -55% | 1 | 1 | 0% | 1,097 | 3,347 | +205% | 0 | 0 | — |
case-08 | fail→pass | 13,734 | 4,468 | -67% | 1 | 1 | 0% | 2,210 | 3,628 | +64% | 0 | 0 | — |
case-09 | fail→pass | 10,189 | 8,049 | -21% | 1 | 1 | 0% | 1,746 | 4,088 | +134% | 0 | 0 | — |
case-10 | fail→pass | 10,113 | 3,396 | -66% | 1 | 1 | 0% | 1,431 | 3,358 | +135% | 0 | 0 | — |
case-11 | fail→pass | 12,724 | 6,183 | -51% | 1 | 1 | 0% | 2,006 | 3,708 | +85% | 0 | 0 | — |
case-12 | fail→pass | 12,326 | 5,330 | -57% | 1 | 1 | 0% | 2,046 | 3,707 | +81% | 0 | 0 | — |
case-13 | fail→pass | 12,365 | 4,753 | -62% | 1 | 1 | 0% | 1,908 | 3,517 | +84% | 0 | 0 | — |
case-14 | fail→pass | 8,340 | 2,024 | -76% | 1 | 1 | 0% | 1,447 | 3,127 | +116% | 0 | 0 | — |
case-15 | fail→pass | 9,436 | 2,336 | -75% | 1 | 1 | 0% | 1,530 | 3,059 | +100% | 0 | 0 | — |
case-16 | fail→pass | 13,291 | 2,901 | -78% | 1 | 1 | 0% | 1,917 | 3,259 | +70% | 0 | 0 | — |
case-17 | fail→fail | 10,655 | 4,700 | -56% | 1 | 1 | 0% | 1,622 | 3,533 | +118% | 0 | 0 | — |
case-18 | fail→pass | 7,694 | 2,665 | -65% | 1 | 1 | 0% | 1,235 | 3,225 | +161% | 0 | 0 | — |
case-19 | fail→pass | 8,584 | 2,723 | -68% | 1 | 1 | 0% | 1,263 | 3,260 | +158% | 0 | 0 | — |
case-20 | pass→pass | 15,045 | 12,664 | -16% | 1 | 1 | 0% | 2,904 | 5,119 | +76% | 0 | 0 | — |
case-21 | pass→pass | 22,069 | 17,635 | -20% | 1 | 1 | 0% | 3,888 | 5,948 | +53% | 0 | 0 | — |
case-22 | pass→pass | 14,542 | 15,354 | +6% | 1 | 1 | 0% | 2,901 | 6,133 | +111% | 0 | 0 | — |
case-23 | pass→pass | 9,661 | 7,827 | -19% | 1 | 1 | 0% | 1,896 | 4,236 | +123% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +65 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.