doctor

doctor is a skill for Claude Code from kalinbogatzevski/captain-memo. It costs 43 tokens per session (273 once invoked), scanned B, original, Apache-2.0.

A diagnostic command for Captain Memo, a local memory system for coding projects. It checks the search service, worker, settings, plugin registration, and installed files.

In plain words
What is it for?
Use it when Captain Memo search or indexing seems broken, or to verify that its services and installation are set up correctly.
Why use it?
It replaces several separate checks with one report showing what is working and what needs attention.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/kalin/projects/captain-memo/bin/captain-memo.

Part of the captain-memo plugin — 5 skills, 6 hooks shipped together

Good fit Use it when Captain Memo search or indexing seems broken, or to verify that its services and installation are set up correctly.

Compare 6 skills 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 kalinbogatzevski/captain-memo
Claude Code
/plugin install captain-memo

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/doctor/github.svg)](https://agentmods.dev/skills/kalinbogatzevski/captain-memo/doctor)
Your own site
<a href="https://agentmods.dev/skills/kalinbogatzevski/captain-memo/doctor"><img src="https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/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 doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/kalinbogatzevski/captain-memo/doctor"><img src="https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 273 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00043 $0.00273
Opus 5 $0.00022 $0.00137
Sonnet 5 $0.00009 $0.00055
Haiku 4.5 $0.00004 $0.00027

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

Security

Grade B, and why

doctor scanned grade B with 1 finding 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 10d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

…or whatever the actual install path is — find it via `readlink ~/.claude/plugins/captain-memo`.
plugin/skills/doctor/SKILL.md · 38 lines

What it actually says

Captain Memo — doctor (health probe)

When invoked, run a comprehensive health check and report PASS/WARN/FAIL for each component, with one-line remediation hints when something's not green.

What to do

The CLI has the canonical implementation. Just shell out:

captain-memo doctor

…and pass the output back to the user verbatim (it's already nicely formatted with colour and remediation hints).

If captain-memo isn't on PATH, fall back to:

/home/kalin/projects/captain-memo/bin/captain-memo doctor

…or whatever the actual install path is — find it via readlink ~/.claude/plugins/captain-memo.

On error

If even the CLI invocation fails, that's a sign something is broken at the install layer. Suggest:

ls ~/.claude/plugins/captain-memo
systemctl --user list-units 'captain-memo-*'

…to see whether the install ever happened, then captain-memo install if not.

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. 10d ago First seen · 38 lines · 43 tokens per session scan B f77798ba9240

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository kalinbogatzevski/captain-memo (3 stars, last pushed 7d ago), licensed Apache-2.0. It adds 43 tokens to every session and 273 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

memem-mine

Opt in to memem's event-triggered mining. New sessions are mined automatically via the Stop hook.

TT-Wang/memem · 26 tokens

compound-docs

Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds institutional knowledge from solved problems. Use when consulting past solutions before investigating new issues.

oliver-kriska/claude-elixir-phoenix · 38 tokens

gini-bug-report

File a locally-captured, already-redacted Gini crash report as a GitHub issue, with the user's consent. Reads the pending crash queue and delegates the actual filing to the github-issues skill.

Open-Curiosity/gini-agent · 47 tokens

knowledge-base

Build and maintain a company knowledge base as a wiki of interlinked markdown notes in the workspace — a private, compounding Wikipedia. Use when the user wants to start or organize a knowledge base / wiki, ingest sources (URLs, documents, pasted notes) into it, ask questions answered from it, or audit (lint) it.…

Open-Curiosity/gini-agent · 119 tokens

troubleshooting-assistant

Diagnoses and resolves MCP server registration failures, GPU detection, BigQuery authentication, index build failures, import errors, search quality issues, and performance problems.

RobThePCGuy/Claude-Patent-Creator · 37 tokens

cortex-debug-memory

Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from checkpoints. Use when the user says 'fix memory', 'bad memory', 'wrong memory', 'delete this', 'protect this', 'this memory is wrong', 'memory quality', 'rate this memory', 'restore…

cdeust/Cortex · 87 tokens