mirror-doctor

mirror-doctor is a skill for Claude Code from goldsky-io/goldsky-agent. It costs 142 tokens per session (2,541 once invoked), scanned A, original, MIT.

A troubleshooting tool for Goldsky Mirror pipelines, which copy blockchain data to another system.

In plain words
What is it for?
Diagnosing and fixing broken, stuck, terminated, or blocked Mirror pipelines.
Why use it?
It helps investigate pipelines that fail, stop, cannot start, or repeatedly restart.

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 Diagnosing and fixing broken, stuck, terminated, or blocked Mirror pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldsky-io/goldsky-agent/mirror-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 mirror-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 mirror-doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldsky-io/goldsky-agent/mirror-doctor"><img src="https://agentmods.dev/badge/skills/goldsky-io/goldsky-agent/mirror-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,541 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 6 Oct 2026
  • Snyk pass 6 Oct 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.00142 $0.02541
Opus 5.5 $0.00057 $0.01016
Sonnet 5.5 $0.00028 $0.00508
Haiku 4.5 $0.00014 $0.00254

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

Security

Grade A, and why

mirror-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 1mo 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/mirror-doctor/SKILL.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mirror Pipeline Doctor

Diagnose and fix existing Mirror pipeline problems by running CLI commands, identifying root causes, and executing fixes.

Boundaries

  • Diagnose and fix EXISTING Mirror pipeline problems.
  • Do not build new pipelines — use /mirror for config reference or /turbo-builder for new Turbo pipelines.
  • Do not serve as a command reference — use /mirror for CLI syntax and flag lookups.
  • Do not handle Turbo pipelines — use /turbo-doctor for goldsky turbo problems.
  • Do not create secrets — use /secrets for credential management. But DO check whether secrets exist as part of diagnosis.

Diagnostic Workflow

Follow these steps in order. Each step 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 Pipeline

Run goldsky pipeline list --include-runtime-details 2>&1 to list all Mirror pipelines with their status.

If the user already named a pipeline, confirm it exists in the list. If not, show the list and ask which pipeline they want to diagnose.

Note both the desired status (ACTIVE, INACTIVE, PAUSED) and the runtime status (STARTING, RUNNING, FAILING, TERMINATED) — Mirror pipelines have both, and the combination tells the story.

Step 3: Triage by Status

The desired + runtime status combination determines the diagnostic path:

Desired Runtime Meaning Action
ACTIVE RUNNING Healthy — pipeline is processing data Ask user what symptom they're seeing. Proceed to Step 4.
ACTIVE STARTING Pipeline is initializing Ask how long. If >10 min, proceed to Step 4.
ACTIVE FAILING Pipeline is encountering errors but hasn't terminated yet Proceed to Step 4 immediately — this is time-sensitive.
ACTIVE TERMINATED Most common failure. Pipeline wanted to run but crashed. Proceed to Step 4.
PAUSED TERMINATED User paused the pipeline (snapshot was taken). Ask if they want to resume: goldsky pipeline start <name> --from-snapshot last
INACTIVE TERMINATED User stopped the pipeline (no snapshot). Ask if they want to start: goldsky pipeline start <name>

Read the full file on GitHub · 233 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. 1mo ago Changed caac05131e74
  2. 2mo ago First seen · 233 lines · 142 tokens per session scan A 10a1e40891c3

Subscribe to this mod's changes

mirror-doctor is a skill published in the GitHub repository goldsky-io/goldsky-agent (12 stars, last pushed yesterday), licensed MIT. It adds 142 tokens to every session and 2,541 once invoked, about $0.0006 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

mirror-doctor compared with skills from other repositories

mirror-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mirror-doctorgoldsky-io/goldsky-agentSkill12yesterdayMITA142Claude 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