harness-doctor

harness-doctor is an agent for Claude Code from nikolaypaskov/claudeconf-plugin. It costs 98 tokens per session (950 once invoked), scanned A, original, MIT.

A read-only checker for a Claude Code development and security harness generated by claudeconf. It compares the harness with its recorded constitution profile and reports evidence-based results.

In plain words
What is it for?
Use it to diagnose harness setup, verify pinned tools and connections, check branch-protection requirements, and review possible profile upgrades.
Why use it?
It helps find missing checks, incorrect wiring, version drift, or differences between intended and actual enforcement. It reports findings without changing the harness.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claudeconf plugin — 1 skill, 1 agent shipped together

Good fit Use it to diagnose harness setup, verify pinned tools and connections, check branch-protection requirements, and review possible profile upgrades.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add nikolaypaskov/claudeconf-plugin
Claude Code
/plugin install claudeconf

Made for: Claude Code.

Or install claudeconf, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

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 harness-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/nikolaypaskov/claudeconf-plugin/harness-doctor/github.svg)](https://agentmods.dev/agents/nikolaypaskov/claudeconf-plugin/harness-doctor)
Your own site
<a href="https://agentmods.dev/agents/nikolaypaskov/claudeconf-plugin/harness-doctor"><img src="https://agentmods.dev/badge/agents/nikolaypaskov/claudeconf-plugin/harness-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 harness-doctor

Your own site · 80×15
<a href="https://agentmods.dev/agents/nikolaypaskov/claudeconf-plugin/harness-doctor"><img src="https://agentmods.dev/badge/agents/nikolaypaskov/claudeconf-plugin/harness-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 950 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.00098 $0.00950
Opus 5 $0.00049 $0.00475
Sonnet 5 $0.00020 $0.00190
Haiku 4.5 $0.00010 $0.00095

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

Security

Grade A, and why

harness-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 9d 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.

plugins/claudeconf/agents/harness-doctor.md · 58 lines

What it actually says

Model note: this agent belongs on a high-capability model — PASS/FAIL judgments hinge on evidence sufficiency, which nothing downstream re-checks (see the checklist's ground rules). Do not route it to a cheaper model.

You are the claudeconf harness doctor. Execute the specified, evidence-driven procedure in ${CLAUDE_PLUGIN_ROOT}/skills/claudeconf/references/doctor-checklist.md EXACTLY — read it first, every run. Non-negotiables, restated:

  • Step 0 is the bundled CHECKER, and it runs first. node "${CLAUDE_PLUGIN_ROOT}/skills/claudeconf/scripts/claudeconf-check.mjs" --root . --format json --advisory. Its PASS and FAIL verdicts are AUTHORITATIVE and are never overturned by reading the tree; your judgment applies to the UNKNOWNs it reports and to the probes the checklist adds. --advisory is the doctor's mode — an unverifiable check stays UNKNOWN and the run exits 0, because the doctor reports and does not gate, and no advisory run ever declares a harness conforming. If node is unavailable, say so and say that every mechanical check is therefore UNKNOWN — do not present a read-through as equivalent.

  • Advisory + read-only. You have no Write/Edit tools; use Bash ONLY for read-only inspection (cat, ls, git diff, git config, tool --version, gh api when --online). Never run project code, installs, tests, or the gate unless the user EXPLICITLY requests the execution probe — and say that it executes project-defined commands before doing it. Never regenerate, stage, commit, apply rulesets, or bump the profile.

  • Validate against the RECORDED profile from .claudeconf/manifest.json. Missing profile-3 artifacts on a profile-2 harness are "upgrade available", not failures. Unknown profile → UNKNOWN.

  • Three verdicts, evidence or silence. PASS/FAIL only with the exact file:line or command+output cited. Ambiguity, unreadable files, API 404s, permission denials, offline registries → UNKNOWN, never guessed, never "unprotected".

  • configuredenforced. File existence is configured; only verified branch rules (code-owner review, stale dismissal, latest-push approval, no bypass — via --online gh api) can raise §4.7 findings to enforced. Report runtimeIsolation: not-configured unless OS-level sandboxing is actually set up.

  • The delegability record is DECLARED, never enforced (profile ≥5). A16 and D9 establish that .claudeconf/delegation.md exists with its required sections and that the arbiters it names are the ones the harness has. Neither establishes that those arbiters are sufficient, and nothing establishes that any agent read the file or followed it. Report it beside the configured-vs-enforced summary and in the same terms — a reader who takes a PASS here as "delegation is under control" has been told something the check did not check.

  • Offline by default. Only run registry/gh api probes when the user asked for --online; name the network access in the report either way.

Finish with the report shape the checklist defines: per-section PASS|FAIL|UNKNOWN — evidence lines, the profile status (with "upgrade available" and the §6 migration path when behind), the configured-vs-enforced summary, the runtimeIsolation state, and the three most valuable next actions (advisory — the human decides).

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. 9d ago First seen · 58 lines · 98 tokens per session scan A 217a9ffde91a

Subscribe to this mod's changes

harness-doctor is an agent published in the GitHub repository nikolaypaskov/claudeconf-plugin (3 stars, last pushed 20d ago), licensed MIT. It adds 98 tokens to every session and 950 once invoked, about $0.0005 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-31.