New advertisers: 50% off your first month with code FIRSTMONTHSee slots
gentleman-programming avatar

Engram Memory Protocol

Selective, deduplicated memory protocol for Engram contributors that governs what gets persisted and how sessions close.

skills.sh installs
232
GitHub stars
8.3K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers when to search and write: recall via mem_context, mem_search, and mem_get_observation, plus selective mem_save and mem_update writes
  • Limits persistence to durable, costly-to-reconstruct knowledge such as decisions, root causes, constraints, and pending work, excluding secrets and routine progress
  • Enforces topic_key-based updates over duplicate saves, and never merges memory across projects or scopes
  • Designed for contributors working on Engram, with session summaries reserved for significant closure or handoff points

Install

$ npx -y skills add gentleman-programming/engram --skill engram-memory-protocol -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/gentleman-programming/engram
Categories
Memory & Context, Agent Workflow & Planning
First seen
Jun 3, 2026

Similar to Engram Memory Protocol

More Memory & Context