goldsky
Skill1 starsChanged 26 days agoMITView on GitHub
Goldsky hosts subgraphs (GraphQL APIs over contract events, The Graph compatible) and streams chain data into databases and webhooks (Turbo pipelines, which replace Mirror). Use this skill for the goldsky CLI and login, deploying a subgraph from source, from an ABI (instant subgraph) or from The Graph, querying the endpoint, subgraph webhooks, Turbo/Mirror pipelines, chain slugs for 0G, Hedera, Arc, World Chain, Unichain, and free-plan limits.
- Reads credentials
- Installs packages
- Sends data out
In this repository55 other files it gives its agents.
- aaveSkill
- agentkitSkill
- alchemySkill
- backboardSkill
- biconomySkill
- blockscoutSkill
- daimoSkill
- duneSkill
- dynamicSkill
- easSkill
- ensoSkill
- envioSkill
- fetch-aiSkill
- hardhatSkill
- litSkill
- livepeerSkill
- morphoSkill
- namespace-53d629Skill
- neynarSkill
- olasSkill
- onramp-moneySkill
- openzeppelinSkill
- pimlicoSkill
- pinataSkill
- ponderSkill
- privySkill
- pushSkill
- quicknodeSkill
- reclaimSkill
- reownSkill
- requestSkill
- safeSkill
- scaffold-ethSkill
- signSkill
- sponsor-chainsSkill
- superfluidSkill
- tenderlySkill
- the-graphSkill
- thirdwebSkill
- track-0gSkill
- track-1inchSkill
- track-arcSkill
- track-arkivSkill
- track-chainlinkSkill
- track-definitiveSkill
- track-efSkill
- track-ensSkill
- track-hederaSkill
- track-uniswapSkill
- track-whitechainSkill
- track-worldSkill
- transakSkill
- web3authSkill
- xmtpSkill
- zerodevSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Write an instant-subgraph config next to your ABI file.
- Very specific: line 57
Run it with npx tsx --env-file=.env query.ts.
- Very specific: line 76
Read the docs index first: https://docs.goldsky.com/llms.txt (every page also exists as .md).
- Very specific: line 79
Check versions first with npm view @goldskycom/cli version.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Goldsky
Goldsky runs subgraphs for you. A subgraph turns your contract's events into a GraphQL API. Goldsky also runs Turbo pipelines, which stream chain data into Postgres, ClickHouse, Kafka, S3 or a webhook. Turbo replaces the older Mirror product.
Pick Goldsky when your app needs lists, history or totals over events (feeds, leaderboards, balances), or when you need a push when something happens on-chain. It is one of the few indexers that supports 0G and Hedera subgraphs. If you only need to read one value from a contract, use a plain eth_call (viem) instead.
Goldsky also publishes its own agent skill pack (https://github.com/goldsky-io/goldsky-agent): npx skills add goldsky-io/goldsky-agent. Use it for Goldsky's own workflows; this skill adds a tested hackathon path, the sponsor-chain slugs and the gotchas found in testing.
Quickstart
- Sign up at https://app.goldsky.com/signup. New teams start on the free Starter plan with a one-time $100 credit (see pricing).
- Install the CLI with npm (it works on macOS, Linux and Windows; Goldsky's install page lists other ways):
npm install -g @goldskycom/cli@13.17.1 goldsky --version - Log in:
goldsky loginopens the browser. On a headless machine, create an API key in Project Settings (https://app.goldsky.com/dashboard/settings) and rungoldsky login --token <GOLDSKY_API_KEY>. - Write an instant-subgraph config next to your ABI file. Goldsky generates the schema and mappings for you. Keep ABI names lowercase (see errors.md):
For{ "version": "1", "name": "counter", "abis": { "counter": { "path": "./abis/Counter.json" } }, "instances": [ { "abi": "counter", "address": "<CONTRACT_ADDRESS>", "startBlock": <DEPLOY_BLOCK>, "chain": "arc-testnet" } ] }chain, use a subgraph slug from chains.md, such as0g-galileo-testnet,hedera-testnet,unichain-testnetorworldchain-sepolia. - Deploy it. The CLI prints your GraphQL endpoint:
goldsky subgraph deploy counter/1.0.0 --from-abi goldsky-config.json goldsky subgraph tag create counter/1.0.0 --tag prod # stable URL: .../subgraphs/counter/prod/gn - Query it from any app. Errors such as 404 or 429 come back as
{ statusCode, message }. GraphQL errors come back as{ errors }:const res = await fetch(process.env.GOLDSKY_SUBGRAPH_URL!, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ query: "{ transfers(first: 5, orderBy: timestamp_, orderDirection: desc) { id from to value } }" }), }); const json = await res.json(); if (!res.ok || json.errors) throw new Error(json.message ?? json.errors?.[0]?.message); console.log(json.data); - Run it with
npx tsx --env-file=.env query.ts. The.envfile holdsGOLDSKY_SUBGRAPH_URL=https://api.goldsky.com/api/public/<PROJECT_ID>/subgraphs/counter/prod/gn.
Full walkthrough, with dashboard steps, a typed query script and plan limits: references/quickstart.md.
Common tasks
- Deploy a subgraph from source (graph-cli project)
- Instant subgraph from an ABI: factory, multi-chain, enrichments
- Migrate from The Graph (IPFS hash or URL)
- Query: fetch, graphql-request, pagination, private endpoints
- Webhooks on subgraph entities and a receiver
- Turbo pipeline: chain data to Postgres or a webhook (Mirror basics)
- Tags, versions, logs, pause and delete
- Errors and gotchas
- Slugs for 0G, Hedera, Arc, World Chain, Unichain (subgraphs vs Turbo)
- Goldsky docs MCP server for Claude Code / Cursor
Before you write more code
- Read the docs index first: https://docs.goldsky.com/llms.txt (every page also exists as
.md). For the company overview, see https://goldsky.com/llms.txt. The full docs as one file are at https://docs.goldsky.com/llms-full.txt. - Useful pages: the CLI reference, the instant subgraph config, the Turbo pipeline config and supported networks.
- Mirror is legacy, so build new pipelines with Turbo (
goldsky turbo ...). Mirror (goldsky pipeline ...) is still the only way to stream subgraph entities into a database. - Check versions first with
npm view @goldskycom/cli version. The CLI ships often. - The CLI does not check chain slugs locally. A typo only fails at deploy time, so copy slugs from chains.md.
- When this skill and the official docs disagree, the docs win.
At ETHGlobal Mumbai
- Sponsor chains, all supported for subgraphs on mainnet and testnet: 0G (
0g,0g-galileo-testnet), Hedera (hedera-mainnet,hedera-testnet), Arc (arc-mainnet,arc-testnet), World Chain (worldchain,worldchain-sepolia) and Unichain (unichain,unichain-testnet). - Turbo pipelines cover fewer of these networks, and Hedera has none. Whitechain is not listed. Details: references/chains.md.
- May help with the 0G, Hedera, Arc, World and Uniswap Foundation tracks: activity feeds, leaderboards, dashboards and alerts over your contract's events. Check the tracks and their rules yourself at https://ethglobal.com/events/mumbai/prizes.
- Help: support@goldsky.com, and the Goldsky docs MCP server (mcp.md). For deeper chain facts, see the
sponsor-chainsskill (npx skills add 0xvikram/backboard-skills --skill sponsor-chains).
About
Hand-written for Backboard (https://backboard.0xvikram.me), an independent project not affiliated with ETHGlobal or Goldsky. Tested 2026-10-19 with @goldskycom/cli@13.17.1, the Turbo extension 0.13.1, graphql-request@7.4.0 and graphql@16.14.2.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

