pipes-sdk

pipes-sdk is a skill for Claude Code from subsquid-labs/portal-mcp-server. It costs 62 tokens per session (5,256 once invoked), scanned A, original, MIT.

A toolkit for building and running blockchain indexers, which collect blockchain activity and store it in a database or analytics system. It supports EVM chains, Solana, Tron, Bitcoin, and Hyperliquid.

In plain words
What is it for?
Use it to create, configure, troubleshoot, optimize, and deploy indexers. It can send indexed data to ClickHouse, PostgreSQL, BigQuery, Parquet files, or Google Pub/Sub.
Why use it?
It turns a one-time data export into a service that can keep syncing, handle backfills, and recover from common errors. It also helps check whether the collected data is complete and clean.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the portal plugin — 4 skills, 1 MCP server shipped together

Good fit Use it to create, configure, troubleshoot, optimize, and deploy indexers. It can send indexed data to ClickHouse, PostgreSQL, BigQuery, Parquet files, or Google Pub/Sub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/subsquid-labs/portal-mcp-server/pipes-sdk
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.

Any agent
npx skills add subsquid-labs/portal-mcp-server --skill pipes-sdk
Clone the repo
git clone --depth 1 https://github.com/subsquid-labs/portal-mcp-server

Made for: Claude Code.

Or install portal, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 pipes-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/subsquid-labs/portal-mcp-server/pipes-sdk/github.svg)](https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/pipes-sdk)
Your own site
<a href="https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/pipes-sdk"><img src="https://agentmods.dev/badge/skills/subsquid-labs/portal-mcp-server/pipes-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pipes-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/pipes-sdk"><img src="https://agentmods.dev/badge/skills/subsquid-labs/portal-mcp-server/pipes-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00062 $0.05256
Opus 5 $0.00031 $0.02628
Sonnet 5 $0.00012 $0.01051
Haiku 4.5 $0.00006 $0.00526

Measured 12d ago against content hash f810b513e8d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pipes-sdk 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 12d 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.

description: Build, configure, deploy, and troubleshoot durable blockchain indexers with the Subsquid Pipes SDK (EVM, Solana, Tron, Bitcoin, Hyperliquid) when Portal MCP or curl previews are insufficient for backfills, r
plugins/portal/skills/pipes-sdk/SKILL.md · 280 lines

How it starts

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

Pipes SDK

One skill for the full Pipes SDK lifecycle: scaffold new indexers, diagnose runtime errors, optimize sync performance, and validate data quality.

When to Use This Skill

Activate when the user wants to:

  • Create a new indexer — scaffold EVM or Solana projects with the CLI; set up Tron, Bitcoin, or Hyperliquid indexers manually with the SDK
  • Fix runtime errors — compilation failures, DB issues, Portal timeouts, decoding errors
  • Optimize sync performance — slow indexing, high memory, large ranges
  • Validate data quality — NULL checks, gaps, malformed addresses, duplicate events
  • Deploy an indexer — local Docker or ClickHouse Cloud
  • Write to analytics sinks: ClickHouse, PostgreSQL (Drizzle), BigQuery, Parquet files, Google Pub/Sub
  • Turn a Portal handoff into durable infrastructure — when a Portal MCP answer or curl export is not enough

Common trigger phrases: "create a new indexer", "my indexer crashed", "error", "not working", "slow", "optimize", "deploy to ClickHouse Cloud", "track X events on Ethereum/Solana/Tron/Bitcoin/Hyperliquid".

Portal Handoff Workflow

Use Pipes when a Portal MCP or raw Stream API workflow crosses from exploration into a maintained data product.

Good Pipes triggers:

  • long historical backfills
  • recurring syncs or scheduled refresh
  • protocol-specific joins
  • normalized tables for an app/backend
  • custom metrics, alerts, or dashboards
  • transforms that should be versioned and tested
  • data too large for MCP chat responses or one-off curl files

If the input includes a Portal pipes_handoff recipe, preserve its network, filters, time window, outputs, and validation hints. Treat the Portal MCP/curl result as the baseline, scaffold the indexer, and validate the first output against the closest Portal query over the same bounded window.

Before scaffolding, say why Pipes is the right surface. Portal MCP is best for bounded answers and investigation pivots; Portal Stream API/curl is best for reproducible one-off extraction; Pipes is best for durable indexing, transforms, and storage.

Read the full file on GitHub · 280 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. 12d ago First seen · 280 lines · 62 tokens per session scan A f810b513e8d5

Subscribe to this mod's changes

pipes-sdk is a skill published in the GitHub repository subsquid-labs/portal-mcp-server (1 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 5,256 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

bnb-chain-toolkit-guide

Guide to the BNB Chain Toolkit — a modular TypeScript toolkit for building, deploying, and interacting with smart contracts on BNB Chain. Includes BEP-20 token utilities, DeFi integrations, wallet management, and cross-chain bridging. Built for BNB Chain Hackathon by the Sperax team.

nirholas/three.ws · 67 tokens

solana-toolkit-guide

Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.

nirholas/three.ws · 50 tokens

blockchain-web3

Use this skill when asked about web3 frontend development, ethers.js, viem, wagmi, web3.js, wallet integration (MetaMask, Phantom, WalletConnect), dApp architecture, RPC providers (Alchemy, Infura), and TypeScript blockchain SDKs. Language: TypeScript. Covers reading blockchain state, sending transactions, wallet…

j4flmao/agent-skills · 128 tokens

new-contract

Scaffold a new Solidity contract with test, Ignition module, and tasks following project patterns.

protokol/solidity-typescript-hardhat-template · 18 tokens

chapplin-mcp-app-builder

Build and debug MCP App-enabled tools in existing projects scaffolded by create-chapplin. Use when extending tools/.tsx with defineTool and defineApp , wiring structuredContent and meta for UI data flow, handling runtime differences across react/preact/solid/hono targets, or troubleshooting chapplin preview and…

ssssota/chapplin · 77 tokens

use-ts-sdk

Orchestrates TypeScript SDK integration for Aptos dApps. Routes to granular skills for specific tasks (client setup, accounts, transactions, view functions, types, wallet adapter). Use this skill for fullstack dApp integration or when multiple SDK concerns are involved. Triggers on: 'typescript sdk', 'ts-sdk', 'aptos…

aptos-labs/aptos-agent-skills · 102 tokens