agentleFS
MariomarqueztMariomarquezt/claude-session-handoff/skills/wrap/SKILL.md

wrap

Skill0 starsChanged 4 months agoMITView on GitHub

Session/project closing routine. Creates or updates a docs/STATUS.md handoff doc so a future session can resume without re-reading the conversation, commits it if the project is a git repo, then runs any project-specific closing steps. Use when the user says "/wrap", "let's wrap up", "wrap up", or "close out"; use lite mode for "/wrap lite", "quick wrap", or "light wrap-up".

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use start, update and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 4 projects that use this

  • AnthropicSkill

    update

    Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.

    Also in 3 projects that use this

  • LangChainSkill

    remember

    Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.

    Also in 3 projects that use this

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 3 projects that use this

  • termdockSkill

    recall

    Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the closing routine. Create a todo per checklist item and complete them in order.

    line 8
  2. Very specific:

    Create or update docs/STATUS.md (create docs/ if missing) so a future session, or another person, can resume without re-reading the …

    line 21
  3. Distinctive:

    Keep it concise: durable state and reasoning, not a transcript.

    line 23
  4. Very specific:

    If docs/STATUS.md already exists, update it in place.

    line 35
  5. Distinctive:

    Gotchas should be written the moment they cost you time: If something took forty minutes to work out, it will take the next session forty …

    line 43
  6. Very specific:

    Update any persistent memory the setup has with a one-line pointer that full state lives in docs/STATUS.md, plus a terse status summary and …

    line 47
  7. Distinctive:

    If the project is a git repo, commit the doc.

    line 48
  8. Distinctive:

    Run only the steps that this session actually touched, and only those the project has configured.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Wrap Up a Session

Run the closing routine. Create a todo per checklist item and complete them in order.

Modes

  • Full (default — /wrap, "let's wrap up"): everything below.
  • Lite (/wrap lite, "quick wrap", "light wrap-up"): Block 1 only, plus any Block 2 steps the project marks as lite-safe. For small or short-lived projects where the full routine is overkill.

Two blocks. Block 1 always runs. Block 2 steps run only if this session actually touched that thing.


Block 1 — the handoff doc (always)

Create or update docs/STATUS.md (create docs/ if missing) so a future session, or another person, can resume without re-reading the conversation.

Keep it concise: durable state and reasoning, not a transcript.

Sections:

  • To resume (top line): Read this file + git log --oneline -25. Code and git history are the source of truth for what was built; this captures why and what's pending. Include today's date.
  • What this project is — one or two lines.
  • Architecture / where things run — the moving parts, where each is hosted or deployed, how they connect. Services, domains, key files, scheduled jobs.
  • Built & live — done and shipped.
  • In flight / key decisions — mid-stream work, and decisions with the why: trade-offs, rejected options, non-obvious choices.
  • Open todos — checkbox list, most important first.
  • Conventions / gotchas — what trips a fresh session. Environment quirks, deploy oddities, access limits, naming rules, "don't do X because Y".

If docs/STATUS.md already exists, update it in place. Preserve still-valid history, revise what changed, don't duplicate. A handoff doc that only grows stops being read.

What to write down, specifically

The value is concentrated in two sections, and they're the ones most often skimped:

Decisions need their reasoning. "Chose Postgres" is nearly worthless six weeks later. "Chose Postgres over SQLite because two processes write concurrently" prevents a future session from cheerfully re-proposing SQLite. Record rejected options too — those are the ones that get re-suggested.

Gotchas should be written the moment they cost you time. If something took forty minutes to work out, it will take the next session forty minutes unless it's in the file. These are the highest-value lines in the doc.

Then:

  • Update any persistent memory the setup has with a one-line pointer that full state lives in docs/STATUS.md, plus a terse status summary and the top open todos. Keep the detail in the doc, not in memory.
  • If the project is a git repo, commit the doc. Memory notes are separate and are not committed. If there is no git repo, skip all git steps.

Block 2 — project-specific closing steps (only what applies)

Run only the steps that this session actually touched, and only those the project has configured. If none are configured, Block 1 is the whole routine.

This is the extension point. Typical steps teams add here:

  • Session log — append a dated entry to a shared log or knowledge base: what was done, decisions made, what's next.
  • Persistent memory — store any new stable facts, preferences, or conventions learned this session.
  • Documentation index / knowledge graph — reindex if new documents were added.
  • Notification — tell a channel or a teammate that the work landed.

See docs/EXTENDING.md in this repository for how to wire your own without forking the skill.

Rule for every Block 2 step: report the real outcome. If an indexing step reports nothing new, say so and note why in the handoff doc — a silent step that did nothing is indistinguishable from one that succeeded, and that ambiguity is exactly what bites the next session.


Finally — the reopen command

Give the user the exact command to paste next session, with the real project name filled in:

/continue <ProjectName>

That reads the project's docs/STATUS.md and git log and reports what's open on the pipeline.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.