Skip to content
Development
Command

/memory-init

Initialize local memory store + vector index for this project.

From plugin
62 skills1 agents2 commands4 hooks
shell
$ npx -y skills add baodq97/tencentdb-agent-memory --agent claude-code

Ships with tencentdb-agent-memory. Installing the plugin gets this command.

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.

Read it on GitHub ↗
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
Stats
6
Stars
0
Views
1
Forks
Active
Maintenance
JavaScript
Language
1h ago
Last commit
2mo ago
Created

Repo: baodq97/tencentdb-agent-memory

More commands in this plugin
See everything inside