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.
npx agentmods add skills/raya-ac/engram/session-continuitynpx skills add raya-ac/engram --skill session-continuitygit clone --depth 1 https://github.com/raya-ac/engramWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00053 | $0.00610 |
| Opus 5 | $0.00026 | $0.00305 |
| Sonnet 5 | $0.00011 | $0.00122 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
session-continuity 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Continuity
Use Engram as an active resume layer, not just a memory dump.
The goal is simple:
- start by loading the latest structured handoff
- work normally while keeping important state in Engram
- end with a handoff the next session can use immediately
When to use this
Use this skill when:
- the task spans more than one turn or session
- a second agent may continue the work later
- there are important decisions, blockers, or open loops
- the repo or environment takes time to reconstruct from scratch
Startup flow
At the start of a session:
- Call
resume_contextfirst. - If the result is thin, call
session_summaryor a targetedrecall. - Treat the returned
open_loops,decisions, andrecent_workas the default resume packet.
This is better than trying to rebuild context from raw diary entries or a large recall dump.
During work
Keep the handoff current while you work:
- use
diary_writewhen a short progress note will matter later - use
rememberfor verified facts and implementation state - use
remember_decisionfor tradeoffs and rationale - use
remember_negativefor limitations, unsupported paths, and things that should not be assumed
Engram refreshes the active session handoff automatically after diary writes and important memory writes, so you do not need to manually rebuild the handoff every few minutes.
Before stopping
Near a natural stop point:
- Call
session_handoff. - Save it unless you have a reason not to.
- Check that it captures:
- current state
- key decisions
- recent work
- open loops
If the next agent should resume the same thread of work, the handoff should make sense without the full chat log.
Suggested pattern
start:
- resume_context
during work:
- diary_write for meaningful progress
- remember / remember_decision / remember_negative as needed
before stopping:
- session_handoff
Quality bar
Good continuity state is:
- specific
- recent
- actionable
- easy to resume from
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.
- 2d ago First seen · 96 lines · 53 tokens per session scan A 04d9ae72f37c
session-continuity is a skill published in the GitHub repository raya-ac/engram (2 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 610 once invoked, about $0.0003 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-31.
Other skills, from other repositories
uteke-memory
Persistent memory engine for AI agents via the uteke CLI — remember, recall, search, forget with semantic + FTS5 hybrid search, documents, knowledge graph, rooms, tiered memory, and multi-agent namespaces.
build-pack
Author, measure and publish a YantrikDB knowledge pack. Use when asked to create a pack, turn documentation or a domain into a pack, package knowledge or skills for a local model, or publish to packs.yantrikdb.com. Covers the three tiers (constitution / corpus / coverage), the measurement that decides whether a pack…
mfs-find
Search, grep, browse, and read across registered MFS data sources via the mfs CLI — codebases, docs, PDFs, web crawls, databases (postgres/mysql/mongo/snowflake/bigquery), issue trackers (jira/linear/github), CRMs (hubspot), chat (slack/discord/gmail/feishu), object stores (s3/gdrive). Use whenever the user asks to…
mfs-ingest
Register, update, or re-sync data sources for MFS so they become searchable — postgres / mysql / mongo / snowflake / bigquery, github / jira / linear / notion / hubspot / zendesk, slack / discord / gmail / feishu, s3 / gdrive / web / file. Use whenever the user wants to ADD a new data source to MFS, change an existing…
deep-research
Answer a broad, open-ended, or multi-part question by iteratively searching MFS-indexed sources, following up on gaps, and synthesizing a cited report — the same "reason and search over private data" job zilliztech/deep-searcher does, but as a skill on top of mfs-find instead of a standalone framework. Use when the…
debug-capture-pipeline
Debug llm-wiki-memory capture/recall — flush breadcrumbs, daily-vs-compile lag, failed-distill stash recovery, embedding cache, hook wiring. Use when memory didn't capture, doesn't recall, or a hook/cron looks broken.