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 skills add usefulmove/enso --skill enso-session-persistgit clone --depth 1 https://github.com/usefulmove/ensoWrote 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.
[](https://agentmods.dev/skills/usefulmove/enso/enso-session-persist)<a href="https://agentmods.dev/skills/usefulmove/enso/enso-session-persist"><img src="https://agentmods.dev/badge/skills/usefulmove/enso/enso-session-persist/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.
<a href="https://agentmods.dev/skills/usefulmove/enso/enso-session-persist"><img src="https://agentmods.dev/badge/skills/usefulmove/enso/enso-session-persist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00537 |
| Opus 5.5 | $0.00008 | $0.00215 |
| Sonnet 5.5 | $0.00004 | $0.00107 |
| Haiku 4.5 | $0.00002 | $0.00054 |
Grade A, and why
enso-session-persist 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 3mo 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Contract
Persist session state across the ephemeral -> durable seam. Write the smallest useful durable update. Skip ceremony that will not help a future agent or human resume work.
Principles
- Persist deltas, not transcripts.
- Prefer active story progress, decisions, next steps, reusable lessons, and handoff notes.
- Do not create generic logs, lessons, or reflection prompts unless they have future value.
- Respect local harness shape.
docs/stories/,docs/logs/, anddocs/reference/LESSONS.mdare conventions, not requirements. - If write/edit tools are available,
/enso-persistcounts as permission to write the minimal checkpoint after a concise proposal. - If only read-only tools are available, generate the proposed diff/content and ask the user to apply or switch modes.
Minimal Probe
Use lightweight read-only inspection as needed:
git status --short 2>/dev/null || true
ls -t docs/stories/*.md 2>/dev/null | head -5 || true
ls -t docs/logs/*.md 2>/dev/null | head -3 || true
[ -f docs/reference/LESSONS.md ] && tail -80 docs/reference/LESSONS.md || true
Read only the files needed to decide what is worth persisting.
Persistence Proposal
Before writing, show a compact proposal:
Persist proposal:
- <file>: <why this durable update is useful>
Content:
- Decisions: <only new durable decisions>
- Progress: <only useful resume state>
- Next: <next concrete step>
- Lessons: <only reusable lessons, or "none">
Then proceed according to available tools:
- With write/edit tools: write the proposed minimal checkpoint.
- Read-only mode: provide a patch or exact content block and ask the user to apply it.
Write Targets
Choose the smallest appropriate target:
- Active story: progress, decisions, verification state, next step.
docs/logs/YYYY-MM-DD-session.md: session-level handoff when no active story is right, or when a log improves re-entry.docs/reference/LESSONS.md: only reusable lessons that should survive this task.- New skill/story/reference doc: only when the session exposed a repeated capability or durable concept worth naming.
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.
- 3mo ago First seen · 69 lines · 21 tokens per session scan A d343de41edd9
enso-session-persist is a skill published in the GitHub repository usefulmove/enso (2 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 537 once invoked, about $0.0001 per session on Opus 5.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.
enso-session-persist compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| enso-session-persistusefulmove/enso | Skill | 2 | 5mo ago | MIT | A | 21 | Claude Code, Codex |
| harness-creatorwalkinglabs/learn-harness-engineering | Skill | 27k | 6d ago | MIT | A | 142 | Codex |
| capabilitieschaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 69 | Claude Code |
| temporalchaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 114 | Claude Code |
| md-auditchaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 85 | Claude Code |
| last30Dayschaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 83 | Claude Code |
| thisQuarterchaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 78 | Claude Code |