pipes-sdk

pipes-sdk is a skill for Claude Code from subsquid-labs/portal-mcp-server. It costs 62 tokens per session (5,232 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: shipped in a Claude Code plugin.

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,232 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.05232
Opus 5.5 $0.00025 $0.02093
Sonnet 5.5 $0.00012 $0.01046
Haiku 4.5 $0.00006 $0.00523

Measured 1mo ago against content hash 490b8c56e4df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 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 · 274 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. 1mo ago Changed · -6 lines 490b8c56e4df
  2. 2mo 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 62 tokens to every session and 5,232 once invoked, about $0.0002 per session on Opus 5.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

pipes-sdk compared with skills from other repositories

pipes-sdk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pipes-sdksubsquid-labs/portal-mcp-serverSkill21mo agoMITA62Claude Code
blockchain-web3j4flmao/agent-skillsSkill383d agoMITA128Claude Code, Codex
skmtc-debugskmtc/skmtcSkill196d agoApache-2.0A213Claude Code
new-contractprotokol/solidity-typescript-hardhat-templateSkill48yesterdayMITA18Claude Code
chapplin-mcp-app-builderssssota/chapplinSkill169d agoMITA77Claude Code, Codex
compliance-auditingTyox-all/Weave_ProtocolSkill12d agoApache-2.0A75Claude Code, Codex
use-ts-sdkaptos-labs/aptos-agent-skillsSkill204mo agoMITA102Claude Code