/tencentdb-agent-memory:memory-seedfrom tencentdb-agent-memory
Extracts L1 memory atoms (persona, episodic, instruction) from Claude Code conversation history using tmem. Invoke via /memory-seed to persist insights.
Ships in tencentdb-agent-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read conversation transcripts from ~/.claude/projects/ and extract structured L1 memory atoms. You perform all extraction — no external LLM needed.
tmem sessions
If no pending sessions, tell the user and stop.
Read the conversation:
tmem read-session SESSION_FILE_PATH
Read the extraction guide for detailed rules:
cat ${CLAUDE_PLUGIN_ROOT}/skills/memory-seed/references/extraction-guide.md
Analyze the conversation and produce a JSON array of memories. Each memory needs content, type, priority, scene_name, source_message_ids, metadata.
Grounding (important): populate source_message_ids with the actual transcript message uuids the memory was drawn from. tmem write-l1 --session runs a deterministic grounding check — an atom whose content does not overlap its cited source messages is dropped as confabulation. Leaving source_message_ids empty skips the check (atom kept ungated), so cite real ids to get protection, and never invent facts absent from the source. Note: the check is lexical (shared words), so a heavily paraphrased/normalized atom (e.g. expanding an acronym the source never spelled out) can be dropped even when truthful — keep some of the source's own wording in content, or leave source_message_ids empty if you must paraphrase far.
Three types with scope routing:
Filtering — skip these:
tmem search <keyword> if unsure)If a session has no extractable memories, mark it done and move to the next.
Write the JSON array to a temp file to avoid shell escaping issues, then pipe it:
cat <<'ATOMS_EOF' | tmem write-l1 --session SESSION_ID
[{"content": "...", "type": "persona", "priority": 80, "scene_name": "...", "source_message_ids": ["<real-uuid-from-transcript>"], "metadata": {}}]
ATOMS_EOF
tmem status
tmem changelog --last 10
After seeding, tell the user: Next: use the memory-consolidate skill to group atoms into scenes and synthesize persona.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memory-seed, memory-atoms, conversation-history, tmem, memory-extraction
npx claudepluginhub baodq97/tencentdb-agent-memory --plugin tencentdb-agent-memory8 skills in this plugin
/contrib-consolidateInternal phase — consolidate a contributor's L1 atoms into an L3 persona (11 dimensions). Invoked by contrib-profile / `/contrib build`./contrib-ingestInternal phase — extract L1 contributor atoms from a GitHub subject's raw activity. Invoked by contrib-profile / `/contrib ingest`./contrib-profileOrchestrator for Contributor Intelligence. Trigger when the user pastes a GitHub profile/repo URL or handle and asks to profile, analyze, learn from, or study an engineer (EN/VI — "phân tích người này", "học từ người này"). Runs add→ingest→build→playbook end-to-end via the per-phase contrib skills./contrib-synthesizeInternal phase — synthesize learnable playbooks, cross-engineer common capabilities, and you-vs-role-model comparisons from built personas. Invoked by contrib-profile / `/contrib playbook|compare`./memory-consolidateConsolidate L1 memory atoms into L2 scene blocks and L3 persona. Invoked by the memory-consolidator agent, or manually via /memory-consolidate./memory-viewOpen the memory visualiser in the browser — a health check on the memory store: is it working, what is wrong, and what to run to fix it. Run manually via /memory-view.Other plugins' skills for the same job