memem-doctor
Run a preflight health check on memem — Python version, mcp dep, claude CLI, vault writability, capabilities. Use when the user reports memem misbehaving, has…
Mine ALL existing Claude Code sessions, including history from before memem was installed.
$ npx -y skills add TT-Wang/memem --skill memem-mine-history --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memem-mine-historyContext preview
The summary Claude sees to decide when to auto-load this skill.
Mine ALL existing Claude Code sessions, including history from before memem was installed.
name: memem-mine-history description: Mine ALL existing Claude Code sessions, including history from before memem was installed. allowed-tools: [Bash]
Mine all historical Claude Code sessions for knowledge. By default the Stop hook only handles new sessions; this command backfills existing JSONL transcripts. It also opts you in to event-triggered mining for future sessions.
1. Show how many sessions exist:
find ~/.claude/projects/ -name "*.jsonl" ! -path "*/subagents/*" -size +5k | wc -l
2. Tell the user approximately how long it will take (~3-5 seconds per session, plus Haiku API costs).
3. Confirm with the user before starting — this can take hours for large histories and makes many Haiku API calls.
4. Record the opt-in and start history backfill in the background:
mkdir -p ~/.memem && touch ~/.memem/.miner-opted-in
nohup PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python3 -m memem.server --mine-all > ~/.memem/mine-all.log 2>&1 &
echo "History mining started in background (PID $!)"5. Tell the user:
Persistent, self-evolving memory for Claude Code. Stop re-explaining your project every session. <!-- The Glama badge URL below intentionally uses the legacy cortex-plugin slug.
Run a preflight health check on memem — Python version, mcp dep, claude CLI, vault writability, capabilities. Use when the user reports memem misbehaving, has…
Opt in to memem's event-triggered mining. New sessions are mined automatically via the Stop hook.
Show detailed memem memory system status — memory count, projects, search DB, miner health.
Re-show the full memem welcome screen regardless of whether the user has seen it before. Use when the user wants to see the intro, tutorial, or welcome again.