subgraph-doctor

subgraph-doctor is a skill for Claude Code from goldsky-io/goldsky-agent. It costs 214 tokens per session (3,614 once invoked), scanned A, original, MIT.

A debugging and repair tool for Goldsky subgraphs, which provide searchable APIs over blockchain data. It handles problems such as failed deployment, indexing errors, stalled syncing, automatic pauses, and query errors.

In plain words
What is it for?
Use it to diagnose and fix subgraphs that fail to deploy, stop syncing, get stuck at a block, or return errors.
Why use it?
It helps identify why a subgraph is not processing blockchain data or serving requests correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the goldsky-data plugin — 15 skills shipped together , and of goldsky

Good fit Use it to diagnose and fix subgraphs that fail to deploy, stop syncing, get stuck at a block, or return errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldsky-io/goldsky-agent/subgraph-doctor
Install

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.

Any agent
npx skills add goldsky-io/goldsky-agent --skill subgraph-doctor
Clone the repo
git clone --depth 1 https://github.com/goldsky-io/goldsky-agent

Made for: Claude Code.

Or install goldsky-data, the plugin that ships this one along with the rest of its 15 skills.

Wrote 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.

agentmods badge for subgraph-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/subgraph-doctor/github.svg)](https://agentmods.dev/skills/goldsky-io/goldsky-agent/subgraph-doctor)
Your own site
<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.

agentmods 80×15 button for subgraph-doctor

Your own site · 80×15
<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>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Jun 2026
  • Snyk pass 26 Jun 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 21d ago against content hash a57966590afc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/subgraph-doctor/SKILL.md · 231 lines

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-builder for authoring/init/deploy.
  • Do not handle The Graph migrations — use /subgraph-migrate.
  • Do not serve as a command reference — use /subgraph-builder or goldsky subgraph <cmd> --help for CLI syntax and flag lookups.
  • Do not handle Turbo or Mirror pipelines — use /turbo-doctor or /mirror-doctor.
  • Customer-facing only. Use only goldsky CLI commands, the dashboard, and GraphQL queries. Never suggest graphman, 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).

Read the full file on GitHub · 231 lines

Files

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.

Changes

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.

  1. 21d ago Changed scan C → A a57966590afc
  2. 2mo ago First seen · 231 lines · 214 tokens per session scan C 2f15c6fd2a0b

Subscribe to this mod's changes

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.

Related

subgraph-doctor compared with skills from other repositories

subgraph-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
subgraph-doctorgoldsky-io/goldsky-agentSkill12yesterdayMITA214Claude Code
evm-token-decimalsJamkris/everything-gemini-codeSkill935mo agoMITA44Claude Code, Codex
code-changesJanDeDobbeleer/oh-my-poshSkill24k2d agoMITA48Claude Code, Codex
nostr-replaceable-event-mutation-overwritedivinevideo/divine-mobileSkill264yesterdayMPL-2.0A172Claude Code, Codex
nostr-addressable-event-dual-tag-querydivinevideo/divine-mobileSkill264yesterdayMPL-2.0A175Claude Code, Codex
nostr-addressable-event-d-tag-requirementdivinevideo/divine-mobileSkill264yesterdayMPL-2.0A114Claude Code, Codex
divine-relay-video-requirementsdivinevideo/divine-mobileSkill264yesterdayMPL-2.0A105Claude Code, Codex