doctor

doctor is a skill for Claude Code from kalinbogatzevski/captain-memo. It costs 52 tokens per session (382 once invoked), scanned A, 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.

Part of the captain-memo plugin — 6 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 with agentmods
npx agentmods add skills/kalinbogatzevski/captain-memo/doctor
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.

Any agent
npx skills add kalinbogatzevski/captain-memo --skill doctor
Clone the repo
git clone --depth 1 https://github.com/kalinbogatzevski/captain-memo

Made for: Claude Code.

Or install captain-memo, the plugin that ships this one along with the rest of its 6 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 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 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.00052 $0.00382
Opus 5.5 $0.00021 $0.00153
Sonnet 5.5 $0.00010 $0.00076
Haiku 4.5 $0.00005 $0.00038

Measured 10d ago against content hash caab8be63e3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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 · 37 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 the shim the installer wrote:

~/.local/bin/captain-memo doctor    # user install; /usr/local/bin/captain-memo in --system mode

…or run bun ./bin/captain-memo doctor from the checkout — its path is the installLocation of captain-memo in ~/.claude/plugins/known_marketplaces.json.

On error

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

claude plugin list

…and look at the worker's service. On Linux: systemctl --user list-units 'captain-memo-*' (a --system install: without --user). On macOS: launchctl print gui/$(id -u)/com.captainmemo.worker. On Windows (PowerShell): Get-ScheduledTask -TaskName 'captain-memo-worker'. That shows whether the install ever happened; run 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 Changed · +9 tokens per session caab8be63e3a
  2. 22d ago Changed · -1 lines b12f624d99ab
  3. 1mo ago Changed scan B → A ca4e3cc48124
  4. 1mo 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 (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 52 tokens to every session and 382 once invoked, about $0.0002 per session on Opus 5.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

memem-mine

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

TT-Wang/memem · 26 tokens

misakanet-failure-memory

Search and record failure-recovery lessons from real engineering sessions; submit and verify debugging lessons across the MisakaNet network.

Ikalus1988/MisakaNet · 31 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

sanity-form-component-suspense

Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's form.components) that suspends without its own Suspense boundary, so it loads without layout shift and never blocks new documents. Use when the console warns "The custom input/field/item component ...…

sanity-io/agent-toolkit · 149 tokens

memorywhale

Query and write durable debugging memory recorded by MemoryWhale. Use when debugging a failure that may have happened before, when you need the exact error/flags/output from an earlier attempt, when the user asks "how did we fix this last time?", or once you've figured out why something failed / how a fix worked and…

wuisabel-gif/MemWhale · 79 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