# Wrap Session

> A universal session closer — checkpoint all work, write a handoff note, reveal deliverables, and produce an exact resume prompt. Use when the user says "wrap it up", "let's pause", "save our progress", "I need to stop", "checkpoint", or when a long session is winding down. Never let a session end with state living only in the conversation.

- Skill: `danielonpurpose/wrap-session` (Agent Skill)
- Install (CLI): `npx skillmds@latest add danielonpurpose/wrap-session`
- Raw SKILL.md: https://api.skillmd.com/api/skills/danielonpurpose/wrap-session/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: DanielOnPurpose (https://skillmd.com/u/danielonpurpose)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/danielonpurpose/wrap-session

---


# Wrap Session

Work gets lost to session limits, crashes, and "I can't remember where I put it" restarts. This skill makes every session end the same safe way. Run ALL steps — order matters (most fragile state first).

## Step 1 — Persist state to disk FIRST

Before writing any summary, make sure everything built this session exists on disk. Unsaved artifacts, drafts, or analysis that only live in the conversation → write them to files now.

## Step 2 — Write the handoff note

Create or update `HANDOFF.md` in the project's root folder:

```markdown
# Handoff — <project> (<YYYY-MM-DD>)

## Where things stand
<2-4 sentences: what got done this session, current state>

## Files that matter
<absolute paths to every deliverable, template, and data source touched>

## Open items
<unchecked boxes for anything unfinished, detailed enough that a fresh session needs no re-explaining>

## Decisions & rules established
<conventions decided this session — naming, "never do X" — so they don't get re-litigated>

## Resume prompt
<a single copy-paste prompt a brand-new session could run to continue exactly from here, including file paths>
```

## Step 3 — File into the right place

Route knowledge to the correct project folder or knowledge base. Update (don't duplicate) existing notes; link related people/orgs/projects.

## Step 4 — Deliverables visible

For any shippable output (site, zip, doc, report): copy/zip the final deliverable to an easy-to-find location and reveal it in the file manager so the user can see exactly where it landed.

## Step 5 — Update project docs

If the project has a `CLAUDE.md` (or README), append any new standing rules (brand colors, deploy policy, account names, key contacts, domains). If it doesn't and this is a real ongoing project, create one with the essentials a fresh session would otherwise need told.

## Step 6 — Final message format

End with exactly three things, in this order:
1. **What's saved where** — bullet list of paths.
2. **Open items** — what's left, if anything.
3. **Resume prompt** — in a code block, ready to copy-paste into the next session.

