kb-doctor SKILL.md skillA

kb-doctor from rohan-g0re/graph-mempalace-plugin is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rohan-g0re/graph-mempalace-plugin/kb-doctor@git:20261010.4e87e24

Pins git:20261010.4e87e24 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
rohan-g0re/graph-mempalace-plugin
Path
skills/kb-doctor/SKILL.md
Versions recorded
3
Latest version
git:20261010.4e87e24, committed Oct 10, 2026
First version recorded
Oct 10, 2026
Size
2,666 bytes
Repository stars
3
License
MIT

Diagnoses the knowledge base — prerequisites, filtered exchanges, both graphs and every back-pointer — and gives the one printed fix beside each failing line. Handles 'kb doctor', 'check the knowledge base', 'is the memory working', 'diagnose mempalace', 'why does recall come back empty'.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Diagnose the knowledge base

1. Check the prerequisites.

   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/scripts/py.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/kb_setup.py" --check
   ```

2. Check the chain end to end. This exits 1 when anything fails, which is
   expected output rather than an error to retry.

   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/scripts/py.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/kb_resolve.py" doctor
   ```

3. For every row that reads MISSING or FAIL, repeat the row and put the fix the
   script printed next to it. A missing prerequisite is
   `/graph-mempalace:kb-setup`; an empty or stale graph is
   `/graph-mempalace:kb-compound`; for anything else pass on the printed line
   and name `~/.graph-mempalace/compound.log` as the next place to look.
   `palace` carries the palace path this project uses; it reads "not built yet"
   until the first compound, which is an advisory, and
   `/graph-mempalace:kb-compound` builds it. `palace reachable` lists the wings
   that palace holds — a palace holding one project shows that project's
   dialogue wing. `dialogue wing present` with the detail `exists only in the
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rohan-g0re/graph-mempalace-plugin/kb-doctor@sha256:8c2c9185c5c6e1a1

The line at the top of this page pins the label git:20261010.4e87e24, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7mhoucc2xkwzf4pu.svg)](https://markdownregistry.com/a/art_7mhoucc2xkwzf4pu)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, all committed on Oct 10, 2026.

versioncommittedcommitsizeaudit
git:20261010.4e87e24 latest2026-10-10 4e87e24 2,666 BA view · diff
git:20261010.0ee6bfb2026-10-10 0ee6bfb 1,778 BA view · diff
git:20261010.717c51d2026-10-10 717c51d 1,565 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2666 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

rohan-g0re/graph-mempalace-plugin · 3 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7mhoucc2xkwzf4pu
GET https://markdownregistry.com/api/v1/resolve?ref=rohan-g0re/graph-mempalace-plugin/kb-doctor
GET https://markdownregistry.com/api/v1/blob/8c2c9185c5c6e1a11dae67c5926178d16fb4750229c297eababd773b0e2dc8c5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from rohan-g0re/graph-mempalace-plugin

AGENTS.md AGENTS.md file
rohan-g0re/graph-mempalace-plugin · AGENTS.md
git:20261010.f0187bc · audit A · 3 stars
DESIGN.md@docs DESIGN.md file
rohan-g0re/graph-mempalace-plugin · docs/DESIGN.md
git:20261020.338b095 · audit A · 3 stars
graph-mempalace SKILL.md skill
rohan-g0re/graph-mempalace-plugin · skills/graph-mempalace/SKILL.md · Answers questions about this project's past work and code from its own knowledge base, quoting the verbatim exchange or…
git:20261010.4e87e24 · audit A · 3 stars
kb-ask SKILL.md skill
rohan-g0re/graph-mempalace-plugin · skills/kb-ask/SKILL.md · Answers a question about this project's past from its knowledge base, quoting the verbatim exchanges behind the graph…
git:20261010.717c51d · audit A · 3 stars
kb-compound SKILL.md skill
rohan-g0re/graph-mempalace-plugin · skills/kb-compound/SKILL.md · Compounds this project into the knowledge base now — filters the transcripts into exchanges, mines them into MemPalace…
git:20261010.717c51d · audit A · 3 stars
kb-setup SKILL.md skill
rohan-g0re/graph-mempalace-plugin · skills/kb-setup/SKILL.md · Checks and installs the knowledge base prerequisites — uv, mempalace, graphify, the graphify patch, the MemPalace…
git:20261010.4e87e24 · audit A · 3 stars

Every file in rohan-g0re/graph-mempalace-plugin

Browse by kind, by grade A, or by owner.