gentleman-programming avatar

Engram Memory Protocol

This is a memory discipline protocol that makes Claude actually remember things across conversations in a codebase. It triggers on decisions, bugfixes, discoveries, and preferences, saving structured context with what, why, where, and what was learned. The skill enforces proactive search before similar work and requires session summaries before closing. What I like here is the specificity: it's not vague "remember stuff" advice, it's a concrete workflow with clear triggers and structured formats. If you're working on a project where Claude keeps forgetting architectural decisions or rediscovering the same bugs, this gives you the scaffolding to build persistent context that survives compaction and session boundaries.

skills.sh installs
229
GitHub stars
7.9K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/gentleman-programming/engram
First seen
Jun 3, 2026

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs