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-doctorgit 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-doctor)<a href="https://agentmods.dev/skills/goldsky-io/goldsky-agent/subgraph-doctor"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-doctor/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-doctor"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-doctor.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.00214 | $0.03614 |
| Opus 5.5 | $0.00086 | $0.01446 |
| Sonnet 5.5 | $0.00043 | $0.00723 |
| Haiku 4.5 | $0.00021 | $0.00361 |
Grade A, and why
subgraph-doctor 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 21d 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 — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Subgraph Doctor
Diagnose and fix existing Goldsky Subgraph problems by running CLI commands, reading logs, identifying root causes, and executing fixes.
Boundaries
- Diagnose and fix EXISTING subgraph problems.
- Diagnose only subgraphs that are broken (failing, stalled, erroring, won't deploy). A healthy but slow subgraph is an optimization task — use
/subgraph-builder(e.g. reducing/declaring eth_calls). - Do not build or scaffold new subgraphs — use
/subgraph-builderfor authoring/init/deploy. - Do not handle The Graph migrations — use
/subgraph-migrate. - Do not serve as a command reference — use
/subgraph-builderorgoldsky subgraph <cmd> --helpfor CLI syntax and flag lookups. - Do not handle Turbo or Mirror pipelines — use
/turbo-doctoror/mirror-doctor. - Customer-facing only. Use only
goldskyCLI commands, the dashboard, and GraphQL queries. Never suggestgraphman,kubectl, Datadog, or direct database access — those are internal Goldsky tooling. When a problem needs them, escalate to support (see Step 6).
Mode Detection
Before running anything, check if you have the Bash tool:
- Bash available (CLI mode): Run commands directly and parse output.
- Bash NOT available (reference mode): Give the user one command at a time, explain what to look for, and proceed based on what they paste back.
Diagnostic Workflow
Follow these steps in order. Each builds on the previous one.
Step 1: Verify Authentication
Run goldsky project list 2>&1 to confirm the user is logged in.
- If logged in: Note the project name and continue.
- If not logged in: Direct the user to
/auth-setup. Do not proceed until auth works.
Step 2: Identify the Subgraph
Run goldsky subgraph list 2>&1 to list all subgraphs and their status.
If the user already named a subgraph (name/version), confirm it exists in the list. Otherwise show the list and ask which one to diagnose. Note its status and which network it indexes — a wrong network is one of the most common root causes (see Step 5).
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.
- 21d ago Changed scan C → A a57966590afc
- 2mo ago First seen · 231 lines · 214 tokens per session scan C 2f15c6fd2a0b
subgraph-doctor is a skill published in the GitHub repository goldsky-io/goldsky-agent (12 stars, last pushed yesterday), licensed MIT. It adds 214 tokens to every session and 3,614 once invoked, about $0.0009 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-doctor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| subgraph-doctorgoldsky-io/goldsky-agent | Skill | 12 | yesterday | MIT | A | 214 | Claude Code |
| evm-token-decimalsJamkris/everything-gemini-code | Skill | 93 | 5mo ago | MIT | A | 44 | Claude Code, Codex |
| code-changesJanDeDobbeleer/oh-my-posh | Skill | 24k | 2d ago | MIT | A | 48 | Claude Code, Codex |
| nostr-replaceable-event-mutation-overwritedivinevideo/divine-mobile | Skill | 264 | yesterday | MPL-2.0 | A | 172 | Claude Code, Codex |
| nostr-addressable-event-dual-tag-querydivinevideo/divine-mobile | Skill | 264 | yesterday | MPL-2.0 | A | 175 | Claude Code, Codex |
| nostr-addressable-event-d-tag-requirementdivinevideo/divine-mobile | Skill | 264 | yesterday | MPL-2.0 | A | 114 | Claude Code, Codex |
| divine-relay-video-requirementsdivinevideo/divine-mobile | Skill | 264 | yesterday | MPL-2.0 | A | 105 | Claude Code, Codex |