bootstrap
Scaffolds the core-memory-kit directory structure (context/, scripts/, cron/jobs/) into the current project. Idempotent — never overwrites existing files. Run…
Diagnoses and repairs core-memory-kit itself when the memory system is broken — the per-failure-code repair book. Fire whenever a "⚠ [core-memory-kit]" whisper appears on the prompt (it names the failure and points here), or when the user reports a kit symptom however they
$ npx -y skills add LH8PPL/core-memory-kit --skill troubleshooting --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/troubleshootingContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnoses and repairs core-memory-kit itself when the memory system is broken — the per-failure-code repair book. Fire whenever a "⚠ [core-memory-kit]" whisper appears on the prompt (it names the failure and points here), or when the user reports a kit symptom however they
name: troubleshooting description: >- Diagnoses and repairs core-memory-kit itself when the memory system is broken — the per-failure-code repair book. Fire whenever a "⚠ [core-memory-kit]" whisper appears on the prompt (it names the failure and points here), or when the user reports a kit symptom however they phrase it: memory is not being saved, nothing was remembered from last session, the session-start snapshot did not appear, a cmk command or an mk_ tool is erroring, search returns nothing it should have found, or "is my memory even working?". Also fire when the user asks to run or interpret cmk doctor. This skill covers the KIT's own health only — not the content of what was remembered (use memory-search for recall) and not general shell debugging. context: fork allowed-tools: Bash(cmk doctor) Bash(cmk doctor *) Bash(cmk reindex) Bash(cmk reindex *) Bash(cmk search *) mcp__cmk__mk_search
Something in core-memory-kit is failing. Diagnose it, then repair what you are allowed to repair and PROPOSE the rest.
**Never run a fix that touches the user's own state without asking first.**
Each failure code below carries a **fix class**, and it is binding:
| Fix class | What you may do | | --- | --- | | **silent** | Just run it. Kit-owned, idempotent, reversible — it rebuilds a derived view and destroys nothing. Say afterwards what you ran, in one line. | | **confirm** | Prepare the exact command, show it, and **wait for the user to approve** before running it. Anything that rewrites memory content, settings, or install state is this class. | | **advise** | Do **not** run it. Print the command and what it will do. This is for fixes that are expensive, or outside the kit's authority (installing someone's CLI, changing their PATH). |
When you are unsure which class a failure belongs to, treat it as **advise**. An unknown failure never earns silent repair.
This is enforced, not just asked for: the only repair commands granted to this skill are `cmk doctor`, `cmk reindex`, and read-only lookups. **`cmk install` and every form of `cmk repair` are deliberately ungranted** — where a section below tells you to propose one, you propose it and the user runs it. If a command you need is not available to you, that is the boundary working, not a misconfiguration to route around.
The kit's memory tiers are only ever written through the kit's own commands. Never hand-edit a file under the memory directories to "fix" anything — that bypasses the safety screens and is itself a failure mode.
The whisper on the prompt already names the failure code. If you need more:
SKIP with a repair command. **This is the diagnosis, not the fix**; doctor repairs nothing by itself.
object per line: `{ts, class, outcome, detail}`. Read the tail. A `fail` followed by a later `ok` for the same class means the problem already cleared.
Two things worth knowing before you interpret it:
fires after two consecutive failures with no success between (or one, for failures that cannot recover on their own). If you are reading the log by hand, apply the same standard.
**Severity: memory capture is OFF. Fix class: advise.**
The kit runs its background extraction through the agent's own CLI (`claude`, `kiro-cli`, `cursor-agent`, or `codex`). The launch failed with "no such file" — the binary is not on PATH, or the installed shim is broken.
and reports whether it actually runs.
on PATH, then confirm with `<the-cli> --version` in a new shell. On Windows a common cause is a shim that resolves on PATH but errors when executed.
disappears on its own. Nothing needs to be reset.
While this is active, **nothing is being captured automatically.** If the user is mid-session with something worth keeping, offer to save it explicitly with `cmk remember` (that path does not need the backend CLI).
**Severity: memory capture is OFF. Fix class: advise.**
The backend CLI launched but the extraction call keeps failing — a timeout, a rate limit, an API error, or the extraction child never being spawned at all.
all), then read the `detail` on the health log lines. `haiku_timeout` means the call was killed for taking too long; `haiku_failed` means it exited unhealthy; `auto-extract-missing` / `no-auto-extract-path` mean the extraction script itself was not found, which is an install problem.
kit. Check the CLI works interactively and that any API credentials are valid. **Advise only.**
incomplete. Propose `cmk install` (re-running it refreshes kit-owned scaffolding). **Confirm first** — it touches install state.
no-LLM extraction on failure, so some facts still land. Do not tell the user everything was lost — check with `cmk search` before claiming that.
**Severity: degraded. Fix class: advi
Persistent per-project memory for Claude Code, Kiro, Cursor & Codex - plain markdown committed with your code, captured prompt-free, auto-injected at session start, recalled by meaning (local semantic search, zero API). Cross-project persona, cited recall, searchable session history.
Repo: LH8PPL/core-memory-kit
Scaffolds the core-memory-kit directory structure (context/, scripts/, cron/jobs/) into the current project. Idempotent — never overwrites existing files. Run…
Searches the project's recorded memory (core-memory-kit) — decisions, conventions, architecture, the reasoning behind choices, and where things live — and…
Captures a durable fact to project memory through the kit's safe write path (Poison_Guard secret/injection screening + home-path sanitization + dedup +…