migrate-to-portal

Installation
SKILL.md

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.

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-stream to 1.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, or block.header.slot after a bump
  • needs to migrate processor.setPrometheusPort() / processor.setPrometheusServer() (EVM only — removed with EvmBatchProcessor)

Pre-flight

Installs
9
First Seen
May 19, 2026
migrate-to-portal — subsquid-labs/skills