engram

engram is a skill for Claude Code from Patdolitse/piia-engram. It costs 175 tokens per session (1,189 once invoked), scanned A, original, AGPL-3.0.

A local memory and identity layer for coding assistants that work with MCP-compatible tools. It keeps past lessons, decisions, and project context so later sessions can pick up where earlier ones ended.

In plain words
What is it for?
Continuing previous coding sessions, recalling past decisions, and keeping project-specific lessons or working instructions available across sessions.
Why use it?
It reduces the need to repeat background and helps the assistant recall what was decided before. The information stays on the local computer.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the piia-engram plugin — 1 skill, 1 MCP server shipped together

Good fit Continuing previous coding sessions, recalling past decisions, and keeping project-specific lessons or working instructions available across sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/patdolitse/piia-engram/engram
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Patdolitse/piia-engram --skill engram
Clone the repo
git clone --depth 1 https://github.com/Patdolitse/piia-engram

Made for: Claude Code.

Or install piia-engram, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for engram

README.md
[![agentmods](https://agentmods.dev/badge/skills/patdolitse/piia-engram/engram/github.svg)](https://agentmods.dev/skills/patdolitse/piia-engram/engram)
Your own site
<a href="https://agentmods.dev/skills/patdolitse/piia-engram/engram"><img src="https://agentmods.dev/badge/skills/patdolitse/piia-engram/engram/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for engram

Your own site · 80×15
<a href="https://agentmods.dev/skills/patdolitse/piia-engram/engram"><img src="https://agentmods.dev/badge/skills/patdolitse/piia-engram/engram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,189 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00175 $0.01189
Opus 5 $0.00088 $0.00594
Sonnet 5 $0.00035 $0.00238
Haiku 4.5 $0.00017 $0.00119

Measured 10d ago against content hash 6fa79204d1e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

engram scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/engram/SKILL.md · 82 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 82 lines · 175 tokens per session scan A 6fa79204d1e5

Subscribe to this mod's changes

engram is a skill published in the GitHub repository Patdolitse/piia-engram (160 stars, last pushed 8d ago), licensed AGPL-3.0. It adds 175 tokens to every session and 1,189 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

docmancer

Work from the same local memory as every other coding agent on this machine. Recall prior decisions, preferences, instructions, and project conventions that Claude Code, Codex, Cursor, and other agents wrote here, with cited sources, fully local. Also searches a separate local technical-documentation index.

docmancer/docmancer · 62 tokens

layered-context

L0/L1/L2 three-layer context loading protocol — reduces token consumption during /resume boot.

myths-labs/muse · 23 tokens

semantic-search

Zero-dependency TF-IDF search across MUSE memory, roles, and skills. Use when user wants to find information across their project context.

myths-labs/muse · 32 tokens

lians

Use Lians financial-grade agent memory - store and recall facts with a bitemporal model so stale revisions never contaminate context. Use whenever an agent needs persistent memory in finance, healthcare, or legal work, or when a task asks "what did we know on/before ", needs an audit trail, or must erase a data…

Lians-ai/Lians · 73 tokens

lians-integrate

Wire Lians memory into an existing agent codebase, test-first and minimal-diff. Use when the user asks to add persistent/compliance memory to their agent, integrate Lians, or replace a vector store with bitemporal memory.

Lians-ai/Lians · 53 tokens

strategic-compact

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction. Supports focus-aware compaction for targeted context preservation.

myths-labs/muse · 37 tokens