engram-memory-protocol
Persistent memory discipline for Engram contributors. Trigger: Decisions, bugfixes, discoveries, preferences, or session closure.
How do I install this agent skill?
npx skills add https://github.com/gentleman-programming/engram --skill engram-memory-protocolIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill defines a memory management protocol for AI agents to store and retrieve context. It uses standard internal tools for bookkeeping and session summaries. No security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
When to Use
Use this skill when:
- Making architecture or implementation decisions
- Fixing bugs with non-obvious root causes
- Discovering patterns, gotchas, or user preferences
- Closing a session or after compaction
Save Rules
Call mem_save immediately after:
- decision
- bugfix
- pattern/discovery
- config/preference changes
Use structured content:
- What
- Why
- Where
- Learned
Use stable topic_key for evolving topics.
Search Rules
- On recall requests:
mem_contextfirst, thenmem_search. - Before similar work: run proactive
mem_search. - On first message: if user references the project, a feature, or a problem, call
mem_searchwith their keywords before responding.
Session Close Rules
Before saying done/listo:
- Call
mem_session_summary. - Include goal, discoveries, accomplished, next steps, relevant files.
After compaction:
- Save summary first.
- Recover context.
- Continue work.
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/gentleman-programming/engram/engram-memory-protocol">View engram-memory-protocol on skillZs</a>