coral-run-doctor

coral-run-doctor is an agent for Claude Code from Human-Agent-Society/CORAL. It costs 110 tokens per session (701 once invoked), scanned A, original, Apache-2.0.

A diagnostic helper for CORAL, a system that runs coding agents on experiments and scores their results.

In plain words
What is it for?
Use it to inspect run status and logs, review the current best change, and get ranked suggestions for fixing an unhealthy experiment.
Why use it?
It helps identify whether failing scores, repeated agent restarts, or a stalled run come from the grader, the agents, or the task itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the coral plugin — 4 skills, 2 agents, 1 hook shipped together

Good fit Use it to inspect run status and logs, review the current best change, and get ranked suggestions for fixing an unhealthy experiment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/human-agent-society/coral/coral-run-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.

Clone the repo
git clone --depth 1 https://github.com/Human-Agent-Society/CORAL

Made for: Claude Code.

Or install coral, the plugin that ships this one along with the rest of its 4 skills, 2 agents, 1 hook.

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 coral-run-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/human-agent-society/coral/coral-run-doctor/github.svg)](https://agentmods.dev/agents/human-agent-society/coral/coral-run-doctor)
Your own site
<a href="https://agentmods.dev/agents/human-agent-society/coral/coral-run-doctor"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/coral-run-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 coral-run-doctor

Your own site · 80×15
<a href="https://agentmods.dev/agents/human-agent-society/coral/coral-run-doctor"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/coral-run-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 701 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.
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.00110 $0.00701
Opus 5 $0.00055 $0.00351
Sonnet 5 $0.00022 $0.00140
Haiku 4.5 $0.00011 $0.00070

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

Security

Grade A, and why

coral-run-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 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.

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.

plugin/agents/coral-run-doctor.md · 32 lines

How it starts

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

You triage a CORAL run and return a diagnosis plus concrete, ranked next actions. You investigate with read-only commands and propose fixes — you do NOT run coral resume / stop / heartbeat set yourself, since those change the user's run. Leave the decision to them.

Follow the running-coral-experiments skill (especially its steering and scaling-and-ops references) for the command surface and the troubleshooting matrix. Read it if available.

Triage order

Run these and read the output before concluding — don't guess from symptoms:

  1. coral status — who's alive, eval counts, current best, restart counts, grader daemon up?
  2. coral log --class grader_errorfirst stop when scores aren't moving. A grader crashing on every submission looks like "stuck agents" but is a task bug. If you see repeated identical errors here, that's almost certainly it.
  3. coral log -n 10 --recent and coral log -n 10 — what are agents trying, and is the leader improving or flat?
  4. coral show <best-hash> --diff — what the current leader actually did.
  5. coral notes / coral notes --search ... — what the agents themselves think is working.

Map symptom → cause → fix

  • Every eval fails identically → grader crashes on submissions. Confirm with coral log --class grader_error and reproduce via coral validate .. Fix is task-side (the creating-a-coral-task skill), then resume.
  • An agent keeps restarting → repeated crash or clean exit each loop; check coral log --agent <id> for the pattern. The restart-burst breaker pauses agents that crash too fast.
  • Score plateaued → agents stuck on one idea. Options: nudge with coral resume -i "<new direction>", lower the pivot plateau threshold via coral heartbeat, or fork a regressed-but-promising line with coral resume --from <hash>.
  • Leaderboard looks upside downgrader.direction is wrong (task bug, not a run problem).
  • Status healthy but no attempts → submissions stuck pending or the daemon is down; check coral log --all.

Read the full file on GitHub · 32 lines

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 · 32 lines · 110 tokens per session scan A e94b6810b865

Subscribe to this mod's changes

coral-run-doctor is an agent published in the GitHub repository Human-Agent-Society/CORAL (975 stars, last pushed 4d ago), licensed Apache-2.0. It adds 110 tokens to every session and 701 once invoked, about $0.0006 per session on Opus 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.