end-session

end-session is a skill for Claude Code from shashankreddy509/claude-tdd-kit. It costs 0 tokens per session (1,989 once invoked), scanned A, original, MIT.

A session-ending utility that records what was learned during the conversation, including preferences, corrections, successful approaches, and things to avoid. It saves these notes in feedback and project memory files.

In plain words
What is it for?
Use it at the end of a session to update feedback, persistent project memory, and session notes.
Why use it?
It prevents useful context from being lost when the session ends. Future sessions can use the recorded project knowledge and working preferences.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the dev-day plugin — 12 skills shipped together

Good fit Use it at the end of a session to update feedback, persistent project memory, and session notes.

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

Made for: Claude Code.

Or install dev-day, the plugin that ships this one along with the rest of its 12 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/shashankreddy509/claude-tdd-kit/end-session/github.svg)](https://agentmods.dev/skills/shashankreddy509/claude-tdd-kit/end-session)
Your own site
<a href="https://agentmods.dev/skills/shashankreddy509/claude-tdd-kit/end-session"><img src="https://agentmods.dev/badge/skills/shashankreddy509/claude-tdd-kit/end-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 end-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/shashankreddy509/claude-tdd-kit/end-session"><img src="https://agentmods.dev/badge/skills/shashankreddy509/claude-tdd-kit/end-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 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.
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.00000 $0.01989
Opus 5.5 $0.00000 $0.00796
Sonnet 5.5 $0.00000 $0.00398
Haiku 4.5 $0.00000 $0.00199

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

Security

Grade A, and why

end-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 1mo 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.

dev-day/skills/end-session/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

End Session

Read the entire conversation from this session. Extract and synthesize everything the user revealed about how they want to work.

Output — four artifacts

  1. tasks/feedback.md — DELEGATE to the merge-feedback skill. Invoke it. It owns the synthesis of this session's preferences/corrections into the five sections and the never-delete / superset merge rules (with its own SUPERSET-CHECK). Do NOT reimplement that merge logic here — call the skill. (This is the single source of truth for the feedback merge, shared with start-session's auto-capture.)
  2. The project memory vault — update the persistent memory for the current project, never a hardcoded path. Derive the path from cwd: replace every / with -, write under ~/.claude/projects/<that-slug>/memory/ (create if absent). One durable fact per file with frontmatter + a one-line MEMORY.md pointer. Merge, don't replace: read the existing file first, preserve prior facts, only correct one if this session proved it wrong (and say so). Save only durable, non-obvious facts — not what git/the repo records, and not behavioral preferences (those go to feedback via merge-feedback).
  3. tasks/session-notes.md — this session's 2-line "Left off" block plus ## Open points (see below).
  4. Optional task inbox — see "Optional task-inbox hook" below; skipped silently when absent.

session-notes.md detail

Several sessions can share one checkout, so the file holds one "Left off" block per session plus one shared Open points list. /start-session reads all of it:

## Left off
### <YYYY-MM-DD> · <branch> · <topic, a few words>
- <the task that was mid-progress when the session ended>
- <the next concrete step to take>
### <an older block from another session, kept as is>

## Open points
- <each thing left undone, one line, with its next action>

Synthesize from the actual work done this session. Task tracking itself stays in Jira — this is only the "where I stopped" pointer, not a backlog. Merge into the file, never replace it:

Read the full file on GitHub · 129 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. 1mo ago Changed · -90 lines scan C → A 7c4ad95f9dba
  2. 1mo ago Changed c574bf6ba8d2
  3. 2mo ago Changed · +7 lines b6d28752fad8
  4. 3mo ago First seen · 212 lines · 0 tokens per session scan C d7c5ea6cceb0

Subscribe to this mod's changes

end-session is a skill published in the GitHub repository shashankreddy509/claude-tdd-kit (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,989 tokens. 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.

Related

end-session compared with skills from other repositories

end-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
end-sessionshashankreddy509/claude-tdd-kitSkill21mo agoMITA0Claude Code
jiracriblio/ultra-jira-mcpSkill1yesterdayMITA57Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70ktodayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k16d agoMITA184Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex