karimo-overview: Command for Claude Code

.claude/commands/karimo/doctor.md

doctor is a command for Claude Code from opensesh/karimo-overview. It costs 0 tokens per session (10,304 once invoked), scanned B, a copy of doctor, Apache-2.0.

A read-only diagnostic command for checking whether a KARIMO installation is complete and working. KARIMO is a development workflow system that uses files, templates, GitHub, and other tools.

In plain words
What is it for?
Use it for a full installation health check or a quick pass/fail test with the --test option.
Why use it?
It helps find missing files, invalid templates, authentication problems, or broken configuration without changing the project.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is opensesh/karimo-overview's own configuration. It tells Claude Code how to work on karimo-overview itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything karimo-overview configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .karimo/scripts/karimo-assets.js validate "$prd_slug".

Reuse

Borrowing it

Nothing to install: this file belongs to opensesh/karimo-overview. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/opensesh/karimo-overview/main/.claude/commands/karimo/doctor.md
Clone the repo
git clone --depth 1 https://github.com/opensesh/karimo-overview

Made for: Claude Code.

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/commands/opensesh/karimo-overview/doctor.svg)](https://agentmods.dev/commands/opensesh/karimo-overview/doctor)
Your own site
<a href="https://agentmods.dev/commands/opensesh/karimo-overview/doctor"><img src="https://agentmods.dev/badge/commands/opensesh/karimo-overview/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,304 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00000 $0.10304
Opus 5 $0.00000 $0.05152
Sonnet 5 $0.00000 $0.02061
Haiku 4.5 $0.00000 $0.01030

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

Security

Grade B, and why

doctor scanned grade B with 2 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 8d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ACTUAL_SKILLS=$(ls .claude/skills/*.md 2>/dev/null | wc -l)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

LATEST=$(curl -sL "https://api.github.com/repos/opensesh/KARIMO/releases/latest" | grep '"tag_name"' | head -1 | sed 's/.*"v\([^"]*\)".*/\1/')
Origin

This is a copy

88% identical to doctor — 305 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/karimo/doctor.md · 1,359 lines

How it starts

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

/karimo:doctor — Diagnostic Command

Check the health of a KARIMO installation, identify issues, and provide actionable recommendations.

Usage

/karimo:doctor              # Full diagnostic with recommendations
/karimo:doctor --test       # Quick pass/fail verification (replaces /karimo-test)

This command is read-only and never modifies files.


--test Mode (Quick Verification)

When the --test flag is passed, run a lightweight pass/fail verification instead of the full diagnostic.

Purpose: Verify KARIMO installation works end-to-end without creating real PRDs or spawning agents. This is a lightweight alternative to running a full PRD cycle for verification.

Test Suite

Run these 4 tests:

Test Description
1. File Presence Verify all required files exist per MANIFEST.json
2. Template Parsing Ensure templates have valid markdown structure
3. GitHub CLI Auth Verify gh auth status succeeds
4. CLAUDE.md Integration Verify KARIMO section and config files exist

Output Format

╭──────────────────────────────────────────────────────────────╮
│  KARIMO Smoke Test                                           │
╰──────────────────────────────────────────────────────────────╯

Test 1: File Presence
─────────────────────

  ✅ Manifest    Present (.karimo/MANIFEST.json)
  ✅ Agents      17/17 present (from manifest)
  ✅ Commands    10/10 present (from manifest)
  ✅ Skills      7/7 present (from manifest)
  ✅ Templates   17/17 present (from manifest)

Test 2: Template Parsing
────────────────────────

  ✅ All templates have valid markdown structure

Test 3: GitHub CLI Auth
───────────────────────

  ✅ Authenticated as @username

Test 4: CLAUDE.md Integration
─────────────────────────────

  ✅ KARIMO section        Present in CLAUDE.md (with markers)
  ✅ learnings/            Present in .karimo/ (categorized directories)
  ✅ KARIMO_RULES.md       Present in .claude/
  ✅ prds/ directory       Exists

Summary
───────

  ✅ 4/4 tests passed

  KARIMO installation verified.

Read the full file on GitHub · 1,359 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. 8d ago First seen · 1,359 lines · 0 tokens per session scan B 8017534e9a76

Subscribe to this mod's changes

doctor is a command published in the GitHub repository opensesh/karimo-overview (11 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 10,304 tokens. A static security scan graded it B with 2 findings (enumerates other installed skills, makes network calls). It is 88% identical to doctor, differing in 305 lines, and is treated as a copy.