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 markmhendrickson/neotoma --skill close-sessiongit clone --depth 1 https://github.com/markmhendrickson/neotomaWrote 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/markmhendrickson/neotoma/close-session)<a href="https://agentmods.dev/skills/markmhendrickson/neotoma/close-session"><img src="https://agentmods.dev/badge/skills/markmhendrickson/neotoma/close-session/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/markmhendrickson/neotoma/close-session"><img src="https://agentmods.dev/badge/skills/markmhendrickson/neotoma/close-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00066 | $0.00868 |
| Opus 5.5 | $0.00026 | $0.00347 |
| Sonnet 5.5 | $0.00013 | $0.00174 |
| Haiku 4.5 | $0.00007 | $0.00087 |
Grade A, and why
close-session 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 2mo 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
close-session
Specification status: This file is a specification, not a runnable skill. The core_workflows bundle is defined in m1 of the Bundles Strategy (plan ent_089da2ecebc3bd804d63dcf2); the runtime path that installs and auto-loads these skills lands in m2 alongside plan ent_b5a51d1395d206e10945b6b1 (Resolve #205). Until m2, treat this file as the locked spec the implementation MUST match.
Adapted in structure from the reference implementation in lemon-skills-share (https://github.com/Lemonbrand/lemon-skills-share). The interaction and session_close entity types are added by the core_workflows bundle to the core shared schemas at m2.
Purpose
End every session with a deterministic write-out. Nothing learned in-session should depend on the agent's working memory after termination. Every decision, every outbound message, every follow-up MUST land in the state layer or in a human-readable ledger.
When to use
- At the end of every working session.
- When the user says "wrap up", "we're done", "close out", or "save and exit".
- Before any planned context reset.
Required entity types
task, observation, interaction, session_close. The first two come from the default-install core bundle; the latter two are contributed by core_workflows to the shared schemas.
Process
Step 1: Archive locally
Snapshot the session transcript and any work-in-progress artifacts to the agent's local archive location. This is the safety net for everything downstream.
Step 2: Pull daily activity
Aggregate the entities touched this session (from start-session cache plus in-session writes).
Step 3: Store session_close entity
Write a session_close entity with:
- A summary of no more than 8 bullets.
- Each bullet no more than 240 characters.
- Links to the entity IDs touched.
- A timestamp.
Step 4: Write entity observations
For every entity whose state materially changed this session, write a new observation row capturing the change and its source.
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.
- 2mo ago First seen · 83 lines · 66 tokens per session scan A 0d71ef6185b5
close-session is a skill published in the GitHub repository markmhendrickson/neotoma (37 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 868 once invoked, about $0.0003 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-09-03.
close-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| close-sessionmarkmhendrickson/neotoma | Skill | 37 | yesterday | MIT | A | 66 | Claude Code, Codex |
| taste-companionwhiteguo233/OpenBiliClaw | Skill | 3.8k | 4d ago | MIT | A | 26 | Claude Code, Codex |
| taste-explorerwhiteguo233/OpenBiliClaw | Skill | 3.8k | 4d ago | MIT | A | 33 | Claude Code, Codex |
| emem-multi-agent-handoffVortx-AI/emem | Skill | 91 | yesterday | Apache-2.0 | A | 172 | Claude Code |
| emem-sign-and-attestVortx-AI/emem | Skill | 91 | yesterday | Apache-2.0 | A | 172 | Claude Code |
| emem-shared-identityVortx-AI/emem | Skill | 91 | yesterday | Apache-2.0 | A | 0 | Claude Code |
| emem-long-horizon-memoryVortx-AI/emem | Skill | 91 | yesterday | Apache-2.0 | A | 164 | Claude Code |