close-session

close-session is a skill for Claude Code, Codex from markmhendrickson/neotoma. It costs 66 tokens per session (868 once invoked), scanned A, original, MIT.

A session-ending routine that saves the work completed during an agent session to Neotoma and a project task record.

In plain words
What is it for?
It records the session close, outbound interactions, follow-up tasks, and a human-readable project task ledger.
Why use it?
It reduces the risk of losing decisions, messages, discoveries, or follow-up work when the session ends.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It records the session close, outbound interactions, follow-up tasks, and a human-readable project task ledger.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/markmhendrickson/neotoma/close-session
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 markmhendrickson/neotoma --skill close-session
Clone the repo
git clone --depth 1 https://github.com/markmhendrickson/neotoma

Made for: Claude Code, Codex.

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 close-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/markmhendrickson/neotoma/close-session/github.svg)](https://agentmods.dev/skills/markmhendrickson/neotoma/close-session)
Your own site
<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.

agentmods 80×15 button for close-session

Your own site · 80×15
<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>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00066 $0.00868
Opus 5.5 $0.00026 $0.00347
Sonnet 5.5 $0.00013 $0.00174
Haiku 4.5 $0.00007 $0.00087

Measured 2mo ago against content hash 0d71ef6185b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

docs/skills/core_workflows/close-session/SKILL.md · 83 lines

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.

Read the full file on GitHub · 83 lines

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. 2mo ago First seen · 83 lines · 66 tokens per session scan A 0d71ef6185b5

Subscribe to this mod's changes

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.

Related

close-session compared with skills from other repositories

close-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
close-sessionmarkmhendrickson/neotomaSkill37yesterdayMITA66Claude Code, Codex
taste-companionwhiteguo233/OpenBiliClawSkill3.8k4d agoMITA26Claude Code, Codex
taste-explorerwhiteguo233/OpenBiliClawSkill3.8k4d agoMITA33Claude Code, Codex
emem-multi-agent-handoffVortx-AI/ememSkill91yesterdayApache-2.0A172Claude Code
emem-sign-and-attestVortx-AI/ememSkill91yesterdayApache-2.0A172Claude Code
emem-shared-identityVortx-AI/ememSkill91yesterdayApache-2.0A0Claude Code
emem-long-horizon-memoryVortx-AI/ememSkill91yesterdayApache-2.0A164Claude Code