MCPInstall

engram-memory-protocol

Persistent memory discipline for Engram contributors. Trigger: Decisions, bugfixes, discoveries, preferences, or session closure.

Installs
225
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/gentleman-programming/engram --skill engram-memory-protocol
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads engram-memory-protocol automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

When to Use

The agent MUST follow this protocol without waiting for activation. Canonical prose lives in DOCS.md; this contributor skill is manually maintained.

Selective Memory

Persist verified knowledge that is durable and costly to reconstruct: decisions with rationale, non-obvious root causes, real constraints, and resumption-relevant pending work. Group related conclusions deliberately, not every task, response, or event. Exclude secrets, private data, speculation, raw dumps, and routine progress.

Search when materially useful for recall or related work; mere project mentions do not require a search. For recall: mem_context, then mem_search with distinctive keywords, then mem_get_observation for full content. Narrow by project/type after broad recall as needed.

For selected writes, use mem_search on the bounded topic in the intended project and scope before writing. Read candidates in full with mem_get_observation; snippets are not identity evidence. For the same bounded topic use mem_update by ID: keep topic_key, preserve every still-valid fact, and record superseded facts as history. For a genuinely new topic use mem_save with a deliberate, distinct topic_key. If already covered, write nothing. On ambiguous identity or failed lookup, do not overwrite or fall back to a duplicate save. A failed read is not evidence of absence. A suggested topic_key is a hint, not proof of identity. Never merge across projects or scopes. Structure content as What, Why, Where, Learned.

Session Close Rules

At significant explicit closure or handoff, call mem_session_summary with Goal, Instructions, Discoveries, Accomplished, Next Steps, Relevant Files. Ordinary task completion does not require a summary. After relevant compaction, follow the host's recovery instructions; otherwise persist the compacted summary first, recover context, then continue. Summary persistence does not itself end a session; retain the host's attribution, registration, privacy, and lifecycle obligations.

Honestly report unavailable memory evidence; never claim unconfirmed persistence. Do not blindly repeat writes. Complete unrelated work even if bookkeeping fails. Do not add per-event learning sections or ceremonial delivery blocks.


Delivery Guarantee

Memory operations are internal bookkeeping, never the user-facing answer. Complete required memory work before composing the completed-task reply; send the complete answer as the final message of the turn with no later tool calls. If memory work fails or needs follow-up, still send the answer.

FAQ

What does the engram-memory-protocol skill do?

Persistent memory discipline for Engram contributors. Trigger: Decisions, bugfixes, discoveries, preferences, or session closure.

How do I install engram-memory-protocol?

Run npx skills add https://github.com/gentleman-programming/engram --skill engram-memory-protocol in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/engram-memory-protocol/ (personal) or .claude/skills/engram-memory-protocol/ (project).

Which AI agents can use engram-memory-protocol?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is engram-memory-protocol safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains engram-memory-protocol?

It is published by gentleman-programming in gentleman-programming/engram. It has 225 recorded installs.

More from gentleman-programming/engram

View all →

engram-memory

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

147 installs

engram-testing-coverage

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

Testing & QA98 installs

engram-branch-pr

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

engram-sdd-flow

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

89 installs

engram-docs-alignment

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

Docs & Writing89 installs

gentleman-bubbletea

gentleman-programming/engram

Open the skill to read its SKILL.md instructions.

88 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs