Skip to content

/memory-init

Initialize local memory store + vector index for this project.

From plugin
tencentdb-agent-memory
112 skills1 agent2 commands5 hooks
Install
> /plugin marketplace add baodq97/tencentdb-agent-memory
> /plugin install tencentdb-agent-memory@tencentdb-agent-memory

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/memory-init

Context preview

What this command does when you run it.

Initialize local memory store + vector index for this project.

Command definition

memory-init.md
description: Initialize local memory store + vector index for this project.
allowed-tools: Bash
( cd "${CLAUDE_PLUGIN_ROOT}" && npm install --no-fund --no-audit && npm link --no-fund && mkdir -p ~/.local/bin && install -m 0755 scripts/tmem.js ~/.local/bin/tmem ) 2>/dev/null; tmem init

The `tmem` command is a version-independent launcher (`scripts/tmem.js`): it resolves the cli at runtime — preferring the plugin Claude Code loaded (`$CLAUDE_PLUGIN_ROOT`), else the newest installed version — so it never drifts behind after a plugin update. Installing it to `~/.local/bin` overrides any stale hardcoded shim.

Ships withtencentdb-agent-memory

Four-layer long-term memory (L0 Conversation → L1 Atom → L2 Scene → L3 Persona) for Claude Code, inspired by Tencent/TencentDB-Agent-Memory. Fully local — no external Gateway, no paid API, no Python.

Get the whole plugin, auto-invoked

Other commands on tencentdb-agent-memory.