subgraph-doctor

subgraph-doctor is a skill for Claude Code from goldsky-io/goldsky-agent. It costs 214 tokens per session (3,604 once invoked), scanned C, original, no licence file.

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 plugin — 22 skills, 1 agent, 2 hooks shipped together

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, the plugin that ships this one along with the rest of its 22 skills, 1 agent, 2 hooks.

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,604 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.03604
Opus 5 $0.00107 $0.01802
Sonnet 5 $0.00043 $0.00721
Haiku 4.5 $0.00021 $0.00360

Measured 12d ago against content hash 2f15c6fd2a0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

subgraph-doctor scanned grade C with 2 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 12d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| `curl ... | sh` install fails (Windows) | Install script is shell-only | Install via npm: `npm i -g @goldskycom/cli`. |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `curl ... | sh` install fails (Windows) | Install script is shell-only | Install via npm: `npm i -g @goldskycom/cli`. |
skills/subgraph-doctor/SKILL.md · 231 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 12d 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 12d ago), with no licence file. It adds 214 tokens to every session and 3,604 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

code-changes

Orchestration workflow for any task that ends in code changes: issue analysis, pull request review, feature implementation, bug fixes, refactors, or fleshing out an idea. MUST be invoked at the start of such a task, before reading or writing any code. Defines how to analyze first, gate on user approval, plan, pick the…

JanDeDobbeleer/oh-my-posh · 88 tokens

nostr-addressable-event-dual-tag-query

Fix "count shows X but list shows empty" bugs when querying related events (comments, reactions, zaps, reposts) for Nostr addressable events (Kind 30000-39999). Use when: (1) REST API shows engagement count > 0 but WebSocket query returns empty, (2) Comments/reactions exist but app shows "No comments yet" or similar…

divinevideo/divine-mobile · 175 tokens

nostr-replaceable-event-mutation-overwrite

Fix silent data loss when mutating Nostr replaceable events (Kind 0 profile, Kind 3 contact/follow list, Kind 10002 relay list, etc.) in client apps. Use when: (1) Following someone wipes the user's entire follow list, (2) Updating profile metadata loses existing fields, (3) Fresh browser session or mobile login…

divinevideo/divine-mobile · 172 tokens

divine-relay-video-requirements

Fix "blocked: event rejected by relay policy" errors when publishing Kind 34236 (video) events to divine relays. Use when: (1) Kind 0 profile events succeed but Kind 34236 fails, (2) Generic policy rejection with no specific reason, (3) Video events work on other relays but fail on divine relays. The divine relay…

divinevideo/divine-mobile · 105 tokens

ndk-operation-timeout-wrapper

Fix NDK (Nostr Dev Kit) operations hanging indefinitely when relay connections stall. Use when: (1) App freezes during fetchEvents or publish calls, (2) No timeout errors despite network issues, (3) Relay connection appears stuck, (4) Using NDK with unstable or slow relays. NDK operations have no built-in timeout …

divinevideo/divine-mobile · 88 tokens

nostr-addressable-event-d-tag-requirement

Fix duplicate Nostr events (Kind 30000+ parameterized replaceable events) caused by missing d-tag. Use when: (1) Same content appears multiple times on relay for same pubkey, (2) Events aren't being replaced/updated as expected, (3) Publishing NIP-71 video events (Kind 34236) or other addressable events and seeing…

divinevideo/divine-mobile · 114 tokens