com um clique
engram-memory
// ALWAYS ACTIVE — Persistent memory protocol. You MUST save decisions, conventions, bugs, and discoveries to engram proactively. Do NOT wait for the user to ask.
// ALWAYS ACTIVE — Persistent memory protocol. You MUST save decisions, conventions, bugs, and discoveries to engram proactively. Do NOT wait for the user to ask.
Backlog triage protocol for Engram: audit open issues and PRs, classify each item, infer maintainer ideology from comments, and produce an actionable disposition report. Trigger: Auditing open issues or PRs, triaging the backlog, reviewing contributor submissions as a maintainer, or applying triage to any GitHub repo.
PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.
Commit and branch naming standards for Engram contributors, enforced by GitHub rulesets. Trigger: Any commit creation, review, or branch cleanup.
Issue creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a GitHub issue, reporting a bug, or requesting a feature.
Persistent memory discipline for Engram contributors. Trigger: Decisions, bugfixes, discoveries, preferences, or session closure.
Architecture guardrails for Engram across local store, cloud sync, dashboard, and plugins. Trigger: Any change that affects system boundaries, ownership, state flow, or cross-package responsibilities.
| name | engram-memory |
| description | ALWAYS ACTIVE — Persistent memory protocol. You MUST save decisions, conventions, bugs, and discoveries to engram proactively. Do NOT wait for the user to ask. |
You have access to Engram, a persistent memory system that survives across sessions and compactions. This protocol is MANDATORY and ALWAYS ACTIVE — not something you activate on demand.
Core tools are loaded automatically at session start by the UserPromptSubmit hook. They are available immediately — no manual ToolSearch needed.
mem_save, mem_search, mem_context, mem_session_summarymem_get_observation, mem_suggest_topic_key, mem_updatemem_session_start, mem_session_end, mem_save_promptFallback: If tools are unexpectedly unavailable, run engram setup claude-code
again and restart Claude Code. Setup repairs the durable MCP config and
permissions allowlist for both current (mcp__engram__...) and older
plugin-scoped (mcp__plugin_engram_engram__...) server ids.
Admin tools (deferred — use ToolSearch only if needed):
mem_stats, mem_delete, mem_timeline, mem_capture_passiveCall mem_save IMMEDIATELY and WITHOUT BEING ASKED after any of these:
"Did I or the user just make a decision, confirm a recommendation, express a preference, fix a bug, learn something non-obvious, or establish a convention? If yes, call mem_save NOW."
Format for mem_save:
project (default) | personalarchitecture/auth-modelmem_save with the same topic_key so memory is updated (upsert) instead of creating a new observationmem_suggest_topic_key first, then reuse that key consistentlymem_updateWhen the user asks to recall something — any variation of "remember", "recall", "what did we do", "how did we solve", or the equivalent in the user's language, or references to past work:
mem_context — checks recent session history (fast, cheap)mem_search with relevant keywords (FTS5 full-text search)mem_get_observation for full untruncated contentAlso search memory PROACTIVELY when:
mem_search with keywords from their message to check for prior work before respondingBefore ending a session or saying "done" / "that's it", you MUST:
mem_session_summary with this structure:[What we were working on this session]
[User preferences or constraints discovered — skip if none]
This is NOT optional. If you skip this, the next session starts blind.
If you see a message about compaction or context reset:
mem_session_summary with the compacted summary content — this persists what was done before compactionmem_context to recover any additional context from previous sessionsDo not skip step 1. Without it, everything done before compaction is lost from memory.
All core tools are loaded automatically by the hook at session start. If they are unexpectedly missing, rerun engram setup claude-code and restart Claude Code.