/engram:engramfrom Engram Alpha
Reads and writes project reasoning memory (decisions, principles, cautions, problems, insights) via Engram MCP tools. Recalls relevant memory before non-trivial work and captures durable knowledge at natural stopping points.
Ships in Engram Alpha. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Engram is a local, user-owned graph of why this project is the way it is: decisions and their reasons, gotchas, problems and their fixes, conventions. Not code structure — the code holds that. The user sees every node in the pane, so quality and honest edges matter more than volume: a noisy graph stops being trusted, and an untrusted graph stops being read.
Relaxed: capture only durable, high-value, non-obvious knowledge. When in doubt, fewer and better nodes. Don't mirror Claude Code's own memory (CLAUDE.md, auto-memory): Engram holds project reasoning, not user preferences, workflow or code structure.
brief once. Its first line names the graph — if that is not this workspace, call brief(project: "<workspace absolute path>").search. Read the confidence verdict (strong act / weak verify first / none say the graph is silent) and each hit's standing (contested and tombstone are said out loud; superseded → read the replacement). If a Decision or Caution covers what you're about to do, follow it or raise the contradiction with the user before acting.weak/none, reformulate before concluding absence: name the thing (entity-first), use the words a note would use, or scope in time (after: "last week", during_version). Pass time expressions as written; the daemon resolves them.detail: "compact" when scanning; full only for hits you'll act on. get_node / traverse pull the reasoning around a hit; timeline walks a supersession chain; audit shows who changed what; list_open is the worklist; list_nodes is the lossless read for reviews and exports.because/answers edges and timeline, retell as a short dated narrative.history section — leads, not knowledge. expand_history(session, turn) before relying on one; capture what matters as a proper note. list_sessions answers "what was I doing last Tuesday".Save (sparingly):
Decisions are never opt-in, and they hide in feature requests: "add a login page" is a feature; sessions in httpOnly cookies, not localStorage is the Decision made while building it. At every stopping point ask: what did I just choose, and why? That holds in Relaxed mode too — restraint applies to everything else, never to decisions.
Never save secrets, credentials, tokens or PII; line numbers or transient state; or what code, git history or CLAUDE.md already record, or one-off chatter with no lasting value.
Decision, Principle, Caution, Problem, Resolution, Insight, Intent, Anchor, Tombstone; if the brief teaches a custom ontology or a write is refused for an unknown type, describe_ontology and use that. Custom fields go in "fields": {...} when the graph declares them; refusals name the roster.add_notes, then link the returned ids. Calls are keyword JSON; notes never carry links:
add_notes {"notes": [{"type": "Decision", "title": "…", "body": "…"}]} → link {"from": "<id>", "to": "<id>", "type": "because"}.
Edges read as a sentence, from → verb → to:
because (Decision → its reason) · answers (Resolution → Problem/Intent) · about (any → Anchor only) · builds-on · replaces (newer → older; edge note = why it changed) · conflicts-with (always create it when you see a contradiction) · needs (Intent → blocker). No verb fits → don't link.about-link them. code_refs are repo-relative paths, never line numbers.matched, created: false → a near-duplicate exists: update_node it, never re-add.suspects → judge each now with resolve_suspect: contradict → conflict and tell the user in one line; yours is the fresher truth → replaces; fine together → dismiss (then add the real edge if one fits).warnings → you landed near contested or superseded canon: read it, align or record the disagreement. tombstoned → a person removed this on purpose: don't re-add it; tell the user.canon → supports: link the support; contradicts: read it, conflicts-with if real, tell the user.unlink, or update_edge to settle it.dismiss, ensure the answers edge, close the Intent. Hint inherited → the contradiction flows through an edge; if the other note is now wrong too, conflict or fix it.answers a Problem/Intent → set that node resolved.merge_nodes (you write the merged body).Removed: <title> with the why, then link it replaces → the victim. Hard delete is user-only./engram-sleep [subject]); run it only on a yes.list_drift → fix moved paths, and re-read the claim — if the code change made it false, supersede it.update_node (that re-confirms it); wrong → supersede or conflict.set_version.handoff; resolve it when acted on. Work in progress belongs in tasks.Tasks live beside the graph: never searched, never knowledge. The brief's ## Tasks lists the active titles, so the next session knows what you were doing. Use them when the user asks you to plan, or when work clearly spans sessions — not for a single-session fix.
## Tasks section is where the last session stopped — list_tasks reads the body (plan, progress lines) of the one you pick up. search never returns tasks; list_tasks with ref finds the tasks about a note.refs it.add_tasks {"tasks": [{"title": "Feature X"}, {"title": "Its store part", "parent": "$1"}]}. Groups are one level deep.update_task with progress (where you stopped, what's next); finished → status: "done"; blocked → delayed; abandoned → dropped. A matched verdict means the task already exists — update it.close / wake take a version ("0.10.0", ">0.9.12"), a date ("in 3 days") or "node:<id>". A release-shaped title ("publish 0.9.12") closes itself once the version moves past it.refs. Tasks point at notes; notes never point back.idle or ↻ from <version>: finish it, park it, or drop it — don't let the list rot.handoff Intent carries what the next session must see first).Trust is computed from deliberate acts, never from being read. approve_node only on the user's explicit word, or after verifying the note word-by-word. Pins are user-only — if a pinned note looks wrong, tell the user. check_claim("<one sentence>") asks the canon before you act on an assumption: contradicts → surface it; retracted → a Tombstone forbids it.
project on most tools reaches another graph: knowledge about a sibling goes in its graph; home holds user-level canon ("remember this everywhere"); all reads across graphs (attribute foreign hits). Edges never cross graphs.brief(project: …) rebinds the session — later writes go there. If its reply warns that writes moved and you only meant to read, go back at once with the call it names; for read-only looks, pass project to search / list_open / get_node instead. A write refused as "bound … by fallback" → bind with brief(project: <workspace path>), then retry. Every write verdict names its project.GET /guide first (port in .engram/daemon.json). Never on your own judgment..engram/ exists or the project plainly had memory, an empty brief means a wrong cwd or db — check .engram/daemon.json before seeding; never seed a duplicate graph.POST /nodes to the core (URL in .engram/daemon.json, "source": "claude"), or list what you'd have saved and ask the user to /mcp reconnect.engram-alpha serve in the repo root (it exits on its own), then share the pane URL (default http://127.0.0.1:8787). Binary missing → point to the README; don't improvise an install./engram means act now.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/engram-digestSeed or top up this project's Engram graph from the existing codebase — an explicit, user-invoked digestion of the current working tree into typed memory nodes (decisions, principles, cautions, problems, insights, intents). Use when the user says "digest this project", "ingest the codebase into memory", "seed the graph", or invokes /engram:digest. Not for routine capture during work — the engram skill covers that./engram-sleepConsolidate an Engram graph ("sleep") — settle standing conflicts, work the subjects (named piles of close notes) into one state-of note each, merge restatements, link what supersedes what, tie islands (notes nothing reaches) back in, and mark the rest reviewed. On demand only - use when the user asks to sleep, consolidate, tidy or deduplicate memory, invokes /engram-sleep, or complains about too many, duplicate or noisy memories. Not for routine capture — the engram skill covers that.npx claudepluginhub techtheist/engram --plugin engramOther plugins' skills for the same job