agentleFS
jnMetaCodejnMetaCode/skillet/skills/engram-memory/SKILL.md

engram-memory

Skill1 starsChanged 6 months agoMITView on GitHub

Give the agent durable, local memory with engram — recall past decisions before answering, and persist new decisions, preferences and facts as they happen. Use when work spans sessions or the user says "remember".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. jnMetaCode/local-agent-toolkit★ 14100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat it as your long-term memory: read it before you answer, write to it when something durable happens.

    line 13
  2. Very specific:

    If the engram_recall / engram_remember MCP tools are available, use those.

    line 18
  3. Distinctive:

    Before answering anything that may depend on prior context, search memory first:

    line 28
  4. Distinctive:

    Don't store what the repo already records (code, git history, docs).

    line 59
  5. Distinctive:

    When a recalled memory turned out to be the correct answer — the fix worked, the user confirmed — say so, and similar future queries will …

    line 63
  6. Very specific:

    After remembering, do a quick recall of a keyword from the new memory.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

engram-memory

You have access to a local, private memory layer (engram). Treat it as your long-term memory: read it before you answer, write to it when something durable happens. Everything stays on the user's machine.

Setup (once)

If the engram_recall / engram_remember MCP tools are available, use those. Otherwise use the CLI (zero install):

npx @jnmetacode/engram serve &          # HTTP API on :7077, or
npx @jnmetacode/engram mcp              # as an MCP server

When to RECALL

Before answering anything that may depend on prior context, search memory first:

  • "What did we decide about X?" / "Why did we choose Y?"
  • Resuming work after a gap ("where were we?")
  • Anything referencing a person, project, deadline, or preference you don't see in the current conversation.
npx @jnmetacode/engram recall "pricing decision" --since month

Quote the recalled passage with its citation (file/date) rather than paraphrasing from your own context — the citation is the point.

When to REMEMBER

Persist a memory when the conversation produces something with a shelf life:

  • A decision and its why ("we picked Postgres over SQLite because …")
  • A user preference ("always use pnpm", "no AI attribution in commits")
  • A fact that took effort to establish (a root cause, a benchmark number)
npx @jnmetacode/engram remember "2026-06-10: chose scoped npm names (@org/pkg) because unscoped were taken"

Rules for good memories:

  1. One fact per memory. Atomic entries rank and recall better.
  2. Date it. Lead with an absolute date — engram's ranking is time-aware.
  3. Include the why, not just the what; the why is what future-you needs.
  4. Don't store what the repo already records (code, git history, docs).

REINFORCE what proved right (self-improving recall)

When a recalled memory turned out to be the correct answer — the fix worked, the user confirmed — say so, and similar future queries will rank that source higher:

npx @jnmetacode/engram reinforce "staging deploy fails" deploy-notes

(MCP: the engram_reinforce tool, {query, source}.) Only reinforce verified answers; reinforcing guesses trains the memory to be confidently wrong. For the full improvement loop, see the self-evolve skill.

Verify it stuck

After remembering, do a quick recall of a keyword from the new memory. If it doesn't come back first, rewrite it more concretely.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.