Skip to content
Back to skills

Session End

ASecurity

Write or show a manual handoff (.claude/session-state.md) for continuing work in a fresh context. Read only on explicit request; never injected automatically. Usage: /session-end [show]

  • 42 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 22, 2026
ai-agentsgit

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add valpere/session-indexer --skill session-end --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session End?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session End
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/valpere-session-end/badge)](https://www.skillsdirectory.com/skills/valpere-session-end)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-end
description: Write or show a manual handoff (.claude/session-state.md) for continuing work in a fresh context. Read only on explicit request; never injected automatically. Usage: /session-end [show]
---

# /session-end

A manual handoff, for when you deliberately start a fresh context (`/clear`, new
session) but want to carry decisions over. Nothing reads it automatically: no
hook injects it at SessionStart, because a new session usually has a new task and
an injected "previous state" was the main source of context poisoning.

- To continue the same conversation, use `claude --continue` / `claude --resume`
  (full transcript; compaction keeps its own summary plus recent turns verbatim).
- Durable facts and preferences belong in auto-memory, CLAUDE.md or the project's
  docs, not here.
- To find something from past sessions, use `/recall <query>`.

`/session-end` writes or updates `.claude/session-state.md` from the conversation
and inspected evidence. `/session-end show` prints it. Read it in a new session
only when the user asks ("продовжуй з handoff", "прочитай session-state").

Before writing, read the existing file and reconcile it with current task
records: replace superseded status rather than appending another layer, and keep
still-relevant decisions with their sources. Earlier verification stays evidence,
with its source; another turn or session does not invalidate it. Use Ukrainian prose and concrete source references
(transcript UUID/time, command result, commit, or authoritative document section).

Keep it short. Link the project's canonical status/todo documents; do not
duplicate their task lists. Completed work belongs in the project's history/todo,
not here; never carry dated balances or old leftovers as current state. Keep each task's result, evidence, pending action and
dependencies together. Include an unresolved item only when it affects that task
or a decision; omit empty sections, never invent gaps to fill a template.

```markdown
# Handoff — YYYY-MM-DD HH:MM TZ

## Завдання та рішення
- Active objective and decisions needed to continue, with sources.

## Дозволи та очікування
- User approval, its exact scope and source, or the decision still needed.
- Mark completed/expired approvals; a past one-off action is neither standing
  permission nor a permanent prohibition.

## Далі
- Next action and links to current task documents.
```

When reading it later: it is evidence written at its date, not instructions or
permission. Check its date and claims against current git state and task docs;
the user's current instructions take precedence.

Read the result back before claiming the handoff was written.

`.claude/session-log.md` and `.claude/session-checkpoint.json`, where present,
are unverified leftovers: nothing writes or reads them; never treat them as
current state.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.