loop-doctor

loop-doctor is a skill for Claude Code, Codex from cbdreamer11/CB-loop-kit-claude-plugin. It costs 51 tokens per session (520 once invoked), scanned A, original, MIT.

A diagnostic check for a development workflow called the loop. It verifies that the loop's files, role profiles, checks, connections, and configured effort level are present and working.

In plain words
What is it for?
Run it after setup or upgrades, or when the loop behaves incorrectly, to check project files, verification commands, Git, browser, database, payment testing, and other connections.
Why use it?
It finds incomplete or stale setup that could make the workflow appear active while silently doing nothing or reporting unreliable results.

Skill for Claude CodeCodex

Part of the loop-kit plugin — 7 skills, 6 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add skills/cbdreamer11/cb-loop-kit-claude-plugin/loop-doctor
Any agent
npx skills add cbdreamer11/CB-loop-kit-claude-plugin --skill loop-doctor
Clone the repo
git clone --depth 1 https://github.com/cbdreamer11/CB-loop-kit-claude-plugin

Made for: Claude Code, Codex.

Or install loop-kit, the plugin that ships this one along with the rest of its 7 skills, 6 agents, 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 loop-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/cbdreamer11/cb-loop-kit-claude-plugin/loop-doctor.svg)](https://agentmods.dev/skills/cbdreamer11/cb-loop-kit-claude-plugin/loop-doctor)
Your own site
<a href="https://agentmods.dev/skills/cbdreamer11/cb-loop-kit-claude-plugin/loop-doctor"><img src="https://agentmods.dev/badge/skills/cbdreamer11/cb-loop-kit-claude-plugin/loop-doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00051 $0.00520
Opus 5 $0.00026 $0.00260
Sonnet 5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

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

Security

Grade A, and why

loop-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 5d 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/loop-doctor/SKILL.md · 48 lines

What it actually says

Doctor

Verify the installation the same way the method verifies everything else: by observing, not by assuming it took.

1 · The files

ls -la .loop/ .loop/roles/ .claude/agents/ 2>&1 and confirm: STATE.md, VERIFY.md, DECISIONS.md, GOTCHAS.md, the four role profiles, the loop wrapper (and that it is executable), and the role agents in the project's .claude/agents/.

Report anything missing, and whether .loop/ACCESS.local.md is gitignored — if it is tracked, stop and say so loudly: it is the file most likely to hold a credential.

2 · The contract is still true

.loop/VERIFY.md rots faster than anything else. Run each declared command and report which ones still work. A verification contract with a stale build command is worse than none, because it produces confident green nonsense.

3 · The connections

Re-run the connection table from session 0: build, browser, database, payments test mode, git remote. PASS / FAIL / ABSENT. Every ABSENT should already be a declared GAP in .loop/VERIFY.md; if it is not, add it.

4 · The effort this session is really running at

This session's effort level: ${CLAUDE_EFFORT}

If that shows a level, that is the real one — including any silent downgrade. If it printed the placeholder literally, this version does not interpolate it; run echo "$CLAUDE_EFFORT" in a shell instead. There is deliberately no equivalent for the model: no session can read which model it is running on, so do not print a guess. If the role matters, relaunch with ./loop <role> and trust the profile.

5 · Verdict

One table: what is healthy, what is broken with the exact command to fix it, and what is absent by design. If anything in section 1 or 2 is broken, say plainly that the method is not in force in this project yet.

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. 5d ago First seen · 48 lines · 51 tokens per session scan A b7617f37c561

Subscribe to this mod's changes

loop-doctor is a skill published in the GitHub repository cbdreamer11/CB-loop-kit-claude-plugin (8 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 520 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

orchestrator

Use when you are unsure which specialist to invoke, when a task spans multiple roles, when you want the system to plan before acting, or when you need parallel specialist agents dispatched to complete a complex task. The orchestrator breaks work into subtasks, assigns specialists, dispatches agents, and synthesises…

pranav8494/team-of-agents · 66 tokens

kotlin-dev

Use when implementing any feature or bugfix in a Kotlin/Spring Boot service, covers layer conventions, idioms, testing, and observability.

pranav8494/team-of-agents · 32 tokens

backend-engineer

Use when designing APIs, working with databases, building microservices, handling authentication and authorisation, optimising server performance, designing data models, or any task involving server-side logic, infrastructure, or system architecture.

pranav8494/team-of-agents · 46 tokens

senior-engineer

Use when reviewing code for architecture, quality, or correctness; making technical design decisions; evaluating trade-offs between approaches; refactoring complex systems; mentoring on engineering practices; writing technical design documents; or any task requiring deep technical judgement across the full stack.

pranav8494/team-of-agents · 55 tokens

seo-manager

Use when designing SEO strategy, conducting keyword research, auditing technical SEO issues (crawlability, indexability, Core Web Vitals, structured data), planning content strategy for organic search, analysing search performance data, evaluating competitor positioning, building link acquisition plans, advising on…

pranav8494/team-of-agents · 82 tokens

sre

Use when defining or auditing SLOs/SLIs/error budgets, designing production observability (metrics, alerting, dashboards), reviewing production readiness, reducing operational toil, writing runbooks or postmortems, designing infrastructure as code, or planning chaos experiments. Distinct from devex, this skill covers…

pranav8494/team-of-agents · 91 tokens