memory-doctor

memory-doctor is a skill for Claude Code from Magnifico4625/locus. It costs 45 tokens per session (139 once invoked), scanned A, original, MIT.

A command that checks whether the Locus environment and its supporting systems are working correctly.

In plain words
What is it for?
Use it to inspect Node.js, storage, full-text search, database permissions, Git availability, and other health checks.
Why use it?
It helps identify setup problems behind plugin failures instead of requiring manual checks across several components.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the locus plugin — 9 skills, 3 hooks shipped together

Good fit Use it to inspect Node.js, storage, full-text search, database permissions, Git availability, and other health checks.

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

Made for: Claude Code.

Or install locus, the plugin that ships this one along with the rest of its 9 skills, 3 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 memory-doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnifico4625/locus/memory-doctor"><img src="https://agentmods.dev/badge/skills/magnifico4625/locus/memory-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 139 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.00045 $0.00139
Opus 5 $0.00023 $0.00069
Sonnet 5 $0.00009 $0.00028
Haiku 4.5 $0.00005 $0.00014

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

Security

Grade A, and why

memory-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.

skills/memory-doctor/SKILL.md · 14 lines

What it actually says

Run Locus health diagnostics using the memory_doctor MCP tool.

What to do

  1. Call the memory_doctor tool (no parameters)
  2. Present results as a table with columns: Check, Status, Details
  3. Use OK/WARN/FAIL status indicators
  4. For any WARN or FAIL, show the suggested fix
  5. Show summary: N passed, N warnings, N failures
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 · 14 lines · 45 tokens per session scan A 76d72c8793f1

Subscribe to this mod's changes

memory-doctor is a skill published in the GitHub repository Magnifico4625/locus (14 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 139 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

research

Performs deep research on a topic via deepresearch. Simulates a multi-step research process and returns a comprehensive research result as a string.

study8677/repobrain · 32 tokens

memory-audit-discoverability

A review guide for checking whether stored memories can be found at the right time. It focuses on where memories are attached, when they are triggered, whether aliases are missing, and whether a parent has too many children.

Dataojitori/nocturne_memory · 35 tokens

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

mengram-memory

Long-term memory with 3 types (facts, events, workflows). Remember user preferences, past conversations, and learned procedures across sessions. Use when recalling what the user said before, saving important info, getting user context, or tracking completed workflows.

alibaizhanov/mengram · 53 tokens

trace-mcp

Use trace-mcp tools for code navigation, impact analysis, and framework-aware queries instead of Read/Grep/Glob/Bash. Activate whenever the agent needs to explore, understand, or modify a codebase that has trace-mcp indexed.

nikolai-vysotskyi/trace-mcp · 52 tokens