session-end

A session-summary command that records what was completed, decided, discovered, or left unresolved during a work session. It places each kind of information in the appropriate project record.

In plain words
What is it for?
Use it at the end of a coding session to record changed files, decisions, bugs, lessons learned, and other relevant details.
Why use it?
It reduces the chance that useful project context will be lost when a session ends or another agent takes over.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/danielguru/repomemory/session-end
Any agent
npx skills add DanielGuru/repomemory --skill session-end
Clone the repo
git clone --depth 1 https://github.com/DanielGuru/repomemory

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00188
Opus 5 $0.00010 $0.00094
Sonnet 5 $0.00004 $0.00038
Haiku 4.5 $0.00002 $0.00019

Measured 2d ago against content hash adc242d2bb33, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

session-end 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.

skills/session-end/SKILL.md · 20 lines

What it actually says

Session End

When invoked (/session-end):

  1. Summarize what was accomplished in this session
  2. Route knowledge to the RIGHT categories — do NOT dump everything into sessions/:
    • New architectural facts -> context_write(category="facts", ...)
    • Decisions made -> context_write(category="decisions", ...)
    • Bugs/regressions found -> context_write(category="regressions", ...)
    • Coding style preferences -> context_write(category="preferences", ...)
    • The session overview itself -> context_write(category="sessions", ...)
  3. Include: files changed, decisions made, issues encountered, things learned
  4. Be specific: include file paths, function names, and commands
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. 2d ago First seen · 20 lines · 20 tokens per session scan A adc242d2bb33

Subscribe to this mod's changes

session-end is a skill published in the GitHub repository DanielGuru/repomemory (2 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 188 once invoked, about $0.0001 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.