thedotmack-mem
БесплатноЗапускает вложенные скриптыНе проверенOperate thedotmack/claude-mem, a persistent cross-session memory system for coding agents using lifecycle hooks, an HTTP worker daemon on localhost port…
от akillness★ 63 звезды на GitHubОб этом скилле
thedotmack-mem (thedotmack/claude-mem)
Source-pinned operator guide for thedotmack/claude-mem (v17.0.0, Apache-2.0). Note that this package uses the local name thedotmack-mem for skill evaluator compatibility while keeping upstream claude-mem commands and plugin paths verbatim.
When to use this skill
- Installing or repairing
claude-memhooks, SQLite FTS5 stores, and the background worker service (localhost:37777). - Running progressive three-layer memory queries (
search->timeline->get_observations, orsmart_search/smart_outline/smart_unfold) instead of loading raw history dumps. - Configuring privacy tags (
<private>...</private>), telemetry opt-outs (npx claude-mem telemetry disable), or cross-IDE integrations (--ide opencode). - Triaging why
npm install -g claude-memfailed to register hooks or why session context injection is missing. - Routing out: use
mexfor repo-pinned.mex/structural wikis,graphifyfor code-and-doc graph clusters,context-modefor tool-output sandboxing, andobsidian-second-brainfor curated vault notes.
Instructions
Run offline preflight first before touching local plugin or
~/.claude-memstate:python3 scripts/preflight.py --jsonConfirm
ok: trueand inspect which runtimes (node,npx,claude,sqlite3,uv) are present.Install via plugin or
npxinstaller (never globalnpm -galone):- Interactive CLI setup (recommended across hosts):
npx claude-mem install(pass--ide opencodefor OpenCode, or--provider ...when prompted). - Claude Code plugin marketplace path:
/plugin marketplace add thedotmack/claude-mem/plugin install claude-mem
- Do not install via
npm install -g claude-memexpecting working hooks; the npm package alone ships the SDK/library without lifecycle hook registration or worker daemon setup.
- Interactive CLI setup (recommended across hosts):
Respect the 3-layer progressive MCP search workflow:
- Step 1 (
search): Fetch compact observation IDs, timestamps, titles, and token estimates (~50-100tokens/result). - Step 2 (
timeline): Expand chronological context around a specific observation ID or anchor query. - Step 3 (
get_observations): Fetch full observation details only for filtered IDs (~500-1,000tokens/result). - Use
save_memoryfor explicit manual memories andsmart_search/smart_outline/smart_unfoldwhen symbol-aware AST lookup is enabled.
- Step 1 (
Enforce privacy, telemetry, and backup boundaries:
- Wrap credentials, tokens, or sensitive terminal snippets in
<private>...</private>tags so hooks strip them at capture time before writing to~/.claude-mem/. - Disable telemetry explicitly when policy requires offline privacy:
npx claude-mem telemetry disableorCLAUDE_MEM_ONLINE_OPTIN=false. - Ask for user confirmation before deleting
~/.claude-mem/, restarting shared background daemons, or sharing raw SQLite/Chroma files.
- Wrap credentials, tokens, or sensitive terminal snippets in
Examples
- Cross-session bug recall:
Call
search(query="token refresh race", limit=10)-> pick matching observation IDs -> calltimeline(anchor=<id>, depth_before=3, depth_after=3)-> callget_observations(ids=[...])to pull only the verified root cause and fix. - Privacy-hardened local installation:
Run
npx claude-mem telemetry disable, review~/.claude-mem/settings.json, then runnpx claude-mem installand verify the worker health endpoint onhttp://localhost:37777. - OpenCode adapter setup:
Run
npx claude-mem install --ide opencodeinstead of manually editing hook templates.
Best practices
- Always inspect
references/upstream.mdfor the five lifecycle hooks (SessionStart,UserPromptSubmit,PostToolUse,Stop,SessionEnd) before mixingclaude-memwith other session-memory hooks (context-mode,mex). - Keep
get_observationsbatch sizes small (3-5 IDs) so episodic memory never bloats the active context window. - Never copy
~/.claude-memSQLite databases into git repositories or shared bundles without auditing for captured secrets.
References
- Pinned upstream summary and command matrix: references/upstream.md
- Pinned source provenance and file digests: references/source.json
- Offline manifest preflight helper: scripts/preflight.py
- Eval suite: evals/evals.json
Установить thedotmack-mem в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepBashВложенные файлы
FAQ
Что делает скилл thedotmack-mem?
Operate thedotmack/claude-mem, a persistent cross-session memory system for coding agents using lifecycle hooks, an HTTP worker daemon on localhost port 37777, SQLite FTS5 plus Chroma search, and progressive three-layer MCP retrieval. Use when installing claude-mem via npx or Claude Code plugins, configuring worker telemetry or OpenCode and Cursor adapters, querying prior observations via search, timeline, and get_observations, or triaging private memory capture. Do not use for repo-local living wikis (route to mex), structural code graphs (route to graphify), or personal Obsidian vaults (route to obsidian-second-brain). Triggers on: claude-mem, thedotmack-mem, session memory plugin, worker 37777, progressive memory retrieval.
Как установить скилл thedotmack-mem?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл thedotmack-mem запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic