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 goldsky-io/goldsky-agent --skill subgraph-migrategit clone --depth 1 https://github.com/goldsky-io/goldsky-agentWrote 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/goldsky-io/goldsky-agent/subgraph-migrate)<a href="https://agentmods.dev/skills/goldsky-io/goldsky-agent/subgraph-migrate"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-migrate/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/goldsky-io/goldsky-agent/subgraph-migrate"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
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.00186 | $0.01789 |
| Opus 5.5 | $0.00074 | $0.00716 |
| Sonnet 5.5 | $0.00037 | $0.00358 |
| Haiku 4.5 | $0.00019 | $0.00179 |
Grade A, and why
subgraph-migrate scanned grade A with 0 findings 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate a Subgraph from The Graph
Migrating an existing subgraph from The Graph to Goldsky is a drop-in replacement — you don't change your subgraph code. You point Goldsky at your published subgraph (by URL or IPFS hash) or redeploy from source, then swap the endpoint your app queries.
Worth a quick check first: do they still need a subgraph? Migration is a natural moment to reconsider. If the dApp needs a hosted GraphQL API, migrating the subgraph is the right move — continue below. But if the real goal is getting this data into a database for analytics or a backend, a Turbo pipeline is faster, more reliable, and cheaper (
/turbo-builder) — they may not need a subgraph at all. Surface this once; if they clearly want GraphQL, proceed with the migration.
Boundaries
- This skill is for migrating from The Graph (hosted service, Subgraph Studio, or decentralized network).
- For diagnosing a subgraph that fails to deploy or sync after migrating, use
/subgraph-doctor. - For deploy/tag/endpoint/webhook reference, use
/subgraph-builder. - For migrating from Alchemy, follow the dedicated Alchemy migration docs (not covered here).
Two hard rules
1. Never invent the source URL or IPFS hash. Always have the user provide their actual deployment URL or IPFS hash. Do not construct or guess
api.thegraph.com/...or gateway URLs — fabricated source URLs are a top failure mode and waste deploy attempts. If you don't have a verified source, ask for it (see Step 2).
2. Never quote pricing. Do not tell the user migration is "free" or "cheap" or estimate a price. Subgraph pricing depends on usage and plan, and a wrong guess erodes trust (one customer was told "cheap" then quoted $10k+). For any cost question, route them to a Goldsky quote: [email protected] or their account/sales contact.
Step 1: Choose a migration path
| You have… | Use | Notes |
|---|---|---|
| A public GraphQL endpoint for the deployed subgraph | --from-url <url> |
Simplest. Works for publicly deployed subgraphs. |
| The subgraph's IPFS hash (deployment ID) | --from-ipfs-hash <hash> |
Use when you have the hash but not a queryable URL. |
| The original source code locally | --path . (build first) |
Use if the published version is unavailable or you want to change code. |
What ships with it
1 file 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.
- 2mo ago Changed · -2 lines scan C → A af8895eb4c94
- 3mo ago First seen · 127 lines · 186 tokens per session scan C 46e5d9f0ad41
subgraph-migrate is a skill published in the GitHub repository goldsky-io/goldsky-agent (12 stars, last pushed 2d ago), licensed MIT. It adds 186 tokens to every session and 1,789 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
subgraph-migrate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| subgraph-migrategoldsky-io/goldsky-agent | Skill | 12 | 2d ago | MIT | A | 186 | Claude Code |
| polymarket-tradingmachina-sports/sports-skills | Skill | 275 | today | MIT | A | 129 | Claude Code |
| bloombloom-directory/bloom | Skill | 27 | today | MIT | A | 124 | Claude Code |
| x402-listmcccsm/x402-list-mcp | Skill | 15 | 1mo ago | MIT | A | 99 | Claude Code, Codex |
| tradingcalcSKalinin909/tradingcalc-mcp | Skill | 6 | 27d ago | MIT | A | 107 | Cursor |
| nodejs-keccak256Jamkris/everything-gemini-code | Skill | 96 | 6mo ago | MIT | A | 51 | Claude Code, Codex |
| quest-setupxsolla/xsolla-ai-kit | Skill | 10 | today | MIT | C | 99 | Claude Code, Cursor |