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.
npx skills add subsquid-labs/portal-mcp-server --skill migrate-to-portalgit clone --depth 1 https://github.com/subsquid-labs/portal-mcp-serverWrote 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.
[](https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/migrate-to-portal)<a href="https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/migrate-to-portal"><img src="https://agentmods.dev/badge/skills/subsquid-labs/portal-mcp-server/migrate-to-portal/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.
<a href="https://agentmods.dev/skills/subsquid-labs/portal-mcp-server/migrate-to-portal"><img src="https://agentmods.dev/badge/skills/subsquid-labs/portal-mcp-server/migrate-to-portal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00200 | $0.05972 |
| Opus 5.5 | $0.00080 | $0.02389 |
| Sonnet 5.5 | $0.00040 | $0.01194 |
| Haiku 4.5 | $0.00020 | $0.00597 |
Grade A, and why
migrate-to-portal 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.
curl -sI https://portal.sqd.dev/datasets/<slug>/metadata How it starts
The opening of the file, as written. The whole thing — 481 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate a Squid to Portal
Walks the migration of an existing Squid SDK indexer onto the Portal data source. EVM and Solana have different package sets; the migration shape (data source + types + field selection) is parallel. Upstream doc (unified, both chains): https://docs.sqd.dev/en/sdk/migration/gateway-to-portal.
The v2 gateways are actively being sunset. On 2026-08-05, 18 datasets (including
astar-mainnet,berachain-mainnet,celo-mainnet,linea-mainnet,scroll-mainnet,taiko-mainnet,unichain-mainnet,zksync-mainnet,zora-mainnet) became Portal-only. A v2 squid on those chains is already broken and must migrate. On 2026-08-20, 67 low-usage datasets retired from both v2 and Portal (announcement); there is no Portal migration target for them, so move to RPC or a private Portal instead. The July 30, 2026 Squid SDK release also introduced the@subsquid/squid-sdkumbrella package with an automatic Portal/RPC failover data source. Consider it for new work, though this guide's@subsquid/evm-streamtarget remains current.
When to use this skill
Activate when the user says any of:
- "migrate my squid to Portal" (EVM or Solana)
- "move off v2 archive /
setGateway/setDataSource/lookupArchive" - "upgrade
@subsquid/evm-processor" or "@subsquid/solana-streamto1.x" - references
https://v2.archive.subsquid.io/... - mentions removing
SolanaRpcClient - asks about Solana block-height-to-slot conversion
- hits compile errors on
EvmBatchProcessor,evmLog,block.height, orblock.header.slotafter a bump - needs to migrate
processor.setPrometheusPort()/processor.setPrometheusServer()(EVM only — removed withEvmBatchProcessor)
Pre-flight
- Identify the chain. Grep:
grep -RE "@subsquid/(evm-processor|solana-stream|archive-registry)" --include="*.ts" --include="*.json" .@subsquid/evm-processor→ EVM section below@subsquid/solana-stream@^0.x→ Solana section below
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed 96cfe60439b0
- 2mo ago First seen · 481 lines · 200 tokens per session scan A 43152eb12781
migrate-to-portal is a skill published in the GitHub repository subsquid-labs/portal-mcp-server (2 stars, last pushed 1mo ago), licensed MIT. It adds 200 tokens to every session and 5,972 once invoked, about $0.0008 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.
migrate-to-portal compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| migrate-to-portalsubsquid-labs/portal-mcp-server | Skill | 2 | 1mo ago | MIT | A | 200 | Claude Code |
| walkeros-create-destinationelbwalker/walkerOS | Skill | 349 | 2d ago | MIT | A | 77 | Claude Code |
| walkeros-create-sourceelbwalker/walkerOS | Skill | 349 | 2d ago | MIT | A | 65 | Claude Code |
| implementing-mcp-toolsPostHog/posthog | Skill | 41k | yesterday | none | A | 58 | Claude Code, Codex |
| webiny-api-cms-content-modelswebiny/webiny-js | Skill | 8.0k | yesterday | none | A | 313 | Claude Code, Codex |
| webiny-form-modelwebiny/webiny-js | Skill | 8.0k | yesterday | none | A | 93 | Claude Code, Codex |
| webiny-api-permissionswebiny/webiny-js | Skill | 8.0k | yesterday | none | A | 78 | Claude Code, Codex |