Skip to content

/memory-init

Initialize local memory store + vector index for this project.

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

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.

@baodq97
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.

Stars on GitHub

Momentum

stars in total
12
Star history of baodq97/tencentdb-agent-memory on GitHub, a chart by star-history.com

Other commands on tencentdb-agent-memory.

contrib
Auto-invoked

contrib

Command

Profile how top GitHub contributors work — ingest, build personas, and synthesise a capability model + learnable playbook.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command