doctor

doctor is a skill for Claude Code, Codex from ozzaii/codex-claude-loop. It costs 25 tokens per session (163 once invoked), scanned A, original, MIT.

A diagnostic skill that checks whether the codex-claude-loop prerequisites are available, including the Codex command-line tool, jq, Git, the repository, and the result format it expects.

In plain words
What is it for?
Use it to validate a first-time setup, get installation and login guidance for Codex, confirm the selected repository, and optionally request a self-review of the workflow.
Why use it?
It finds missing or incorrect setup before the workflow starts, reducing failures caused by unavailable tools or the wrong repository.

Skill for Claude CodeCodex

Part of the codex-claude-loop plugin — 5 skills, 1 hook 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/ozzaii/codex-claude-loop/doctor
Any agent
npx skills add ozzaii/codex-claude-loop --skill doctor
Clone the repo
git clone --depth 1 https://github.com/ozzaii/codex-claude-loop

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ozzaii/codex-claude-loop/doctor.svg)](https://agentmods.dev/skills/ozzaii/codex-claude-loop/doctor)
Your own site
<a href="https://agentmods.dev/skills/ozzaii/codex-claude-loop/doctor"><img src="https://agentmods.dev/badge/skills/ozzaii/codex-claude-loop/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 163 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 $0.00025 $0.00163
Opus 5 $0.00013 $0.00081
Sonnet 5 $0.00005 $0.00033
Haiku 4.5 $0.00003 $0.00016

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

Security

Grade A, and why

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.

plugin/skills/doctor/SKILL.md · 15 lines

What it actually says

Load the codex-claude-loop skill, source its lib, and run cl_doctor.

Report each check plainly. If codex is missing, point at npm install -g @openai/codex then codex login. If the repo resolved is not the one the user means, tell them to set CL_REPO. Do not start a wave until every check passes.

If the user is running this harness for the first time, offer cl_selfreview — Codex adversarially reviewing this harness before they trust it with their tree.

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 · 15 lines · 25 tokens per session scan A c4917947f31b

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository ozzaii/codex-claude-loop (6 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 163 once invoked, about $0.0001 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

pipeline

Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…

kardebadas/claude-plugin · 80 tokens

craft

Use when a product idea is still vague and needs to become a clear definition of what to build — "let's craft an app like X", "help me define what I actually want", "clarify this idea before we plan it". Also use before planning or implementation when requirements, UX, domain behaviour, or technical preferences have…

kardebadas/claude-plugin · 83 tokens

bug-fix

Use when a bug, regression, or unexpected behaviour is reported and the user wants it fixed end to end — "why is X broken", "this stopped working after Y", "fix this crash". Also use when a symptom is known but its cause is not. Not for building new behaviour, and not for a change whose cause is already proven.

kardebadas/claude-plugin · 74 tokens

bug-investigate

Use when someone wants to know WHY something is broken and has not asked for it to be fixed — "why is this happening", "what's causing this error", "find out what's wrong", "diagnose this before we decide". Also use before committing to a fix, when the cause is unknown and the decision depends on it. Not for fixing …

kardebadas/claude-plugin · 83 tokens

setup

Use when superb's skills need their dependencies installed or checked — "set up superb", "install the dependencies", "why does pipeline say superpowers is missing", after a fresh plugin install, or on a new machine. Also use when a skill fails complaining that a superpowers sub-skill cannot be found.

kardebadas/claude-plugin · 64 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens