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-buildergit 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-builder)<a href="https://agentmods.dev/skills/goldsky-io/goldsky-agent/subgraph-builder"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-builder/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-builder"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00239 | $0.02446 |
| Opus 5.5 | $0.00096 | $0.00978 |
| Sonnet 5.5 | $0.00048 | $0.00489 |
| Haiku 4.5 | $0.00024 | $0.00245 |
Grade A, and why
subgraph-builder 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 3mo 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Subgraph Builder
Build a Goldsky Subgraph end-to-end: design the schema, write mappings, configure the manifest, then build and deploy to a hosted GraphQL endpoint. Subgraphs are best for dApp frontends and apps that need flexible GraphQL queries over structured onchain data. Subgraphs are EVM-only.
Default to Turbo unless the user specifically needs GraphQL. Turbo is faster, more reliable, and cheaper, and needs no custom indexing code. Before building a subgraph, confirm a hosted GraphQL API is actually the requirement (usually: a dApp/frontend querying onchain data). If the real goal is moving onchain data into a database (PostgreSQL, ClickHouse, Kafka, S3) for analytics or a backend, build a Turbo pipeline instead —
/turbo-builder. Subgraphs are the right call only for a GraphQL API or custom entity-relationship modeling. Surface this once; don't push it if they clearly want GraphQL.
Boundaries
- Build and author NEW subgraphs (schema, mappings, manifest, deploy, endpoints, tags, webhooks).
- Do not diagnose broken/stalled subgraphs — use
/subgraph-doctor. - Do not run The Graph migrations — use
/subgraph-migrate. - For exhaustive
goldsky subgraphflags, usegoldsky subgraph <cmd> --help— this skill covers the workflow, not a flag dump.
Choose an approach first
| You have… | Approach | Path |
|---|---|---|
| A contract + ABI, want a GraphQL API fast, no custom logic | Instant / no-code subgraph | Step A |
| Custom entities, relationships, or business logic in handlers | Code-based subgraph | Step B |
Both deploy to the same hosted endpoint. Start with instant unless the user needs custom logic.
Step 0: Verify Authentication
Run goldsky project list 2>&1. If not logged in, use /auth-setup.
Step A: Instant / no-code subgraph (from ABI)
Generate and deploy directly from a contract ABI — no AssemblyScript.
# Interactive wizard (prompts for contract, network, start block, events/calls)
goldsky subgraph init
# Or one-shot from an ABI file
goldsky subgraph deploy my-subgraph/1.0.0 --from-abi ./MyContract.json
What ships with it
5 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.
- 3mo ago First seen · 146 lines · 239 tokens per session scan A d0d75d1df752
subgraph-builder is a skill published in the GitHub repository goldsky-io/goldsky-agent (12 stars, last pushed 2d ago), licensed MIT. It adds 239 tokens to every session and 2,446 once invoked, about $0.0010 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-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| subgraph-buildergoldsky-io/goldsky-agent | Skill | 12 | 2d ago | MIT | A | 239 | Claude Code |
| web3-fullstack-packaged-buildHKUDS/OpenSpace | Skill | 8.1k | 21d ago | MIT | A | 21 | Claude Code, Codex |
| web3-fullstack-systematic-buildHKUDS/OpenSpace | Skill | 8.1k | 21d ago | MIT | A | 21 | Claude Code, Codex |
| solana-devsolana-foundation/solana-dev-skill | Skill | 599 | today | MIT | A | 258 | Claude Code, Codex |
| devtools-event-clientTanStack/devtools | Skill | 518 | today | MIT | A | 79 | Claude Code, Codex |
| walkeros-create-destinationelbwalker/walkerOS | Skill | 354 | yesterday | MIT | A | 77 | Claude Code |
| walkeros-create-sourceelbwalker/walkerOS | Skill | 354 | yesterday | MIT | A | 65 | Claude Code |