troubleshooting

troubleshooting is a skill for Claude Code, Codex from LH8PPL/core-memory-kit. It costs 159 tokens per session (2,770 once invoked), scanned A, original, MIT.

A repair guide for a project’s memory system. It diagnoses reported failures and either runs allowed repairs or shows you what needs approval.

In plain words
What is it for?
Use it when the memory system reports an error, fails to save information, or behaves unexpectedly.
Why use it?
It helps fix missing or broken saved memory without changing your files or settings without permission.

Skill for Claude CodeCodex

Part of the core-memory-kit plugin — 4 skills, 8 hooks shipped together

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.

agentmods
npx agentmods add skills/lh8ppl/core-memory-kit/troubleshooting
Any agent
npx skills add LH8PPL/core-memory-kit --skill troubleshooting
Clone the repo
git clone --depth 1 https://github.com/LH8PPL/core-memory-kit

Made for: Claude Code, Codex.

Or install core-memory-kit, the plugin that ships this one along with the rest of its 4 skills, 8 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 troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/lh8ppl/core-memory-kit/troubleshooting.svg)](https://agentmods.dev/skills/lh8ppl/core-memory-kit/troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/lh8ppl/core-memory-kit/troubleshooting"><img src="https://agentmods.dev/badge/skills/lh8ppl/core-memory-kit/troubleshooting.svg" alt="Measured on agentmods" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00159 $0.02770
Opus 5 $0.00079 $0.01385
Sonnet 5 $0.00032 $0.00554
Haiku 4.5 $0.00016 $0.00277

Measured 4d ago against content hash 4ed3a6e35686, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

plugin/skills/troubleshooting/SKILL.md · 228 lines

How it starts

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

Repairing the memory kit

Something in core-memory-kit is failing. Diagnose it, then repair what you are allowed to repair and PROPOSE the rest.

The one rule that outranks everything below

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.

Step 1 — read the evidence before running anything

The whisper on the prompt already names the failure code. If you need more:

  • cmk doctor — the full health audit. Every check reports PASS / WARN / FAIL / SKIP with a repair command. This is the diagnosis, not the fix; doctor repairs nothing by itself.
  • context/.locks/health.log — the kit's own append-only failure log, one JSON 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.

Read the full file on GitHub · 228 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 First seen · 228 lines · 159 tokens per session scan A 4ed3a6e35686

Subscribe to this mod's changes

troubleshooting is a skill published in the GitHub repository LH8PPL/core-memory-kit (6 stars, last pushed 6d ago), licensed MIT. It adds 159 tokens to every session and 2,770 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories