doctor

doctor is a skill for Claude Code from mubit-ai/claude-plugins. It costs 36 tokens per session (2,862 once invoked), scanned A, original, Apache-2.0.

A troubleshooting skill for Mubit connectivity, memory health, and stuck data-ingest jobs. Ingest means bringing captured information into a system so it can later be searched or recalled.

In plain words
What is it for?
Use it when Mubit memory appears empty, captures are not arriving, ingest jobs are stuck, or the status indicator reports an error.
Why use it?
It helps identify whether missing memory comes from capture, processing, recall, permissions, or connectivity problems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Part of the mubit-memory plugin — 13 skills, 1 agent, 13 hooks, 1 MCP server shipped together

Good fit Use it when Mubit memory appears empty, captures are not arriving, ingest jobs are stuck, or the status indicator reports an error.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mubit-ai/claude-plugins/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 mubit-ai/claude-plugins --skill doctor
Clone the repo
git clone --depth 1 https://github.com/mubit-ai/claude-plugins

Made for: Claude Code.

Or install mubit-memory, the plugin that ships this one along with the rest of its 13 skills, 1 agent, 13 hooks, 1 MCP server.

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/mubit-ai/claude-plugins/doctor.svg)](https://agentmods.dev/skills/mubit-ai/claude-plugins/doctor)
Your own site
<a href="https://agentmods.dev/skills/mubit-ai/claude-plugins/doctor"><img src="https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,862 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.00036 $0.02862
Opus 5 $0.00018 $0.01431
Sonnet 5 $0.00007 $0.00572
Haiku 4.5 $0.00004 $0.00286

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

integrations/claude-code/skills/doctor/SKILL.md · 137 lines

How it starts

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

Work in this order and stop at the first thing that is broken. Each step costs more than the one before it, and the cheap steps answer most questions.

  1. Read the local status marker at status/<run_id>.json under the plugin data dir (MUBIT_CC_DATA_DIR, else CLAUDE_PLUGIN_DATA, else the liveliest ~/.claude/plugins/data/mubit-memory* directory — the host adds a suffix naming the install source, so the bare mubit-memory is usually the one directory nothing writes to; prefer ${CLAUDE_PLUGIN_DATA}, which the host substitutes into this file for you). Free, no network. It carries the last known state, updated_at, recall counts, captured counts including pending, the last reflect result, and last_error. A marker whose captured.pending keeps growing is a drain problem, not a recall problem. A marker whose recall.dry_streak keeps growing is the reverse: recall is running and returning nothing. Check this before step 3 — it is the one fault that leaves state: ready and a healthy-looking line, so every other check below will come back clean while the model receives no memory at all. Read recall.empty_reason for which kind:

    • policy_denied — the instance has direct-access recall (rung 1) disabled, and the agent_routed fallback is off by default because it costs an LLM call per prompt. Ask the operator to enable direct search. MUBIT_CC_RECALL_FALLBACK=agent_routed restores recall at that cost; MUBIT_CC_POLICY_TTL_MS=1 re-probes immediately once it is on.
    • budget_exhausted — recall ran out of time before the call returned. Raise MUBIT_CC_RECALL_BUDGET_MS, and note it cannot usefully exceed the hook timeout.
    • breaker_open — recall is not being attempted at all; the connection is the problem, so continue to step 3.
    • no_evidence with a long streak — the connection and policy are fine and the store genuinely has nothing for these prompts. Go to step 4.

    Read reflect.status the same way. It is written by exactly two processes, and each value means one thing:

    reflect.status Written by What it means
    "" nobody — the marker's own default session-end never got as far as handing the flush over. The hook did not run, or was killed before its first act.
    handoff the session-end hook, before it does any work The hook started and was killed before it could either hand the flush over or fall back to running it inline. This is the value to expect when the host cancels SessionEnd inside its ~1 s window, and it is what keeps "" above meaning only "never ran". Still reading this minutes later means that session's flush was lost — the next session's first drain picks the captures back up, but its reflection is gone.
    detached the session-end hook, just before it spawns The flush was handed to a background process and no child has reported since. Momentary at the end of a session; still reading this minutes later means the child was reaped before it finished — the container exited with it, or the machine went to sleep.
    ok whichever process ran the flush Reflection ran. lessons_stored is what it stored, and it can legitimately be 0 when the server has not finished indexing the session's evidence.
    failed " Reflection was attempted and did not answer. last_error carries the reason and attempts says how many tries it took to give up; this session's lessons stay at run scope. Read attempts before diagnosing anything else — see the note below.
    skipped:disabled " MUBIT_CC_REFLECT_ON_END=0. Not a fault — a deliberate opt-out that costs cross-session memory.
    skipped:not-ingested " Nothing was ingested this session, so there was no tail to reflect over.
    skipped:undrained " The spool did not land, so reflecting would have drawn conclusions from a session the server only half has. The next session drains the rest and reflects then.

Read the full file on GitHub · 137 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. 4d ago Changed · +20 lines aeada5ed47b0
  2. 8d ago First seen · 117 lines · 36 tokens per session scan A 400271b084b3

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository mubit-ai/claude-plugins (13 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 2,862 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

mem0-status

Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, addmemory errors occur, or to verify the plugin is working correctly.

mem0ai/mem0 · 44 tokens

inspector-workbench

Runs Inspector UI work on the standalone Threads state lab so the agent can see the overlay. Use when a CopilotKit employee asks an agent to fix, polish, add, or debug Inspector UI, chrome, panes, overlay actions, launcher, Home, Threads, Playground, Memory, or any visual behavior in @copilotkit/web-inspector. Don't…

CopilotKit/CopilotKit · 112 tokens

md-audit

Read-only code quality audit — scan the current working directory for common issues (bugs, dead code, security hotspots, missing error handling) and return a prioritised findings report. No files are edited. Use when asked to "audit the code", "quick audit", "find issues", "code scan", or "what's wrong with this…

chaitanyagiri/munder-difflin · 85 tokens

potpie-debug-memory

Use while debugging or troubleshooting failures, flaky tests, incidents, production alerts, CI failures, local dev setup issues, repeated bugs, prior fixes, failed attempts, and verification history.

potpie-ai/potpie · 41 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

exploiting-linux-kernel-vulnerabilities

Methodology for discovering and exploiting Linux kernel memory-corruption vulnerabilities (UAF, OOB read/write, race/TOCTOU, type confusion) during authorized engagements, covering reachability analysis, building stable read/write primitives from a single bug, defeating KASLR/SMEP/SMAP/KPTI, slab/buddy heap grooming…

xalgorix/xalgorix · 96 tokens