/session:wrapfrom session
End-of-session wrap. Writes down what was decided, what was built and what is next, into a handoff document the next session can load. Use at the end of a working session, or when the user says "wrap", "let's wrap", "wrap up", "wrap this session", "close out", or invokes /wrap. Pairs with /pickup, which reads what this writes.
Ships in session. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Close the loop before closing the laptop. Your job is to make sure nothing from this session is lost, and that the next one starts with context instead of starting from scratch.
The output is one handoff document. Write it for a reader who was not here.
Two ways handoffs are kept, and this skill does both. Where threads are set up, a handoff written from the home directory belongs to a thread: one document per subject, rewritten in place every wrap, and the only place that thread's rules live. Everywhere else, and anywhere threads are not set up yet, each wrap writes as it always has. Step 1 says which applies.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js capabilities --json
It has to print a JSON object whose threads is 2 or higher. Anything else,
such as a list of commands, an error or threads: 1, means the scripts installed
in this host are older than this skill. Stop and say: "The installed session
scripts are older than this skill; update the session plugin in this host and
start a new session." Wrapping against older scripts writes a new document per
session, which is the behaviour this skill was changed to end.
Then sweep:
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js archive
This moves handoffs untouched for 30 days into an archived/ folder. It moves,
never deletes, and /pickup still finds archived documents by name. It never
moves a declared thread or a handoff listed as protected in the user's config,
and it never renames over a document already in the archive.
If it says the sweep was skipped because another session holds the lock, that is fine: the next wrap sweeps. If it says the sweep was refused, the protected list or the thread list cannot be read; say so in the summary, because until that is fixed nothing that writes a handoff will run.
If it reports moving anything, mention it in the Step 4 summary under "Filed away". If it reports nothing, say nothing about it.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js reconcile
Read-only. It changes nothing here, and it is run at the start rather than the end so that a slug returning the wrong document is known before this session records another one.
Only one of its findings is urgent. A slug reported as returning the wrong
handoff means /pickup opens a different document and says nothing, so surface
that immediately and name both paths. It is not repaired automatically because
choosing between two real documents is the user's call, not this skill's.
Duplicated slugs, dead entries and unlisted documents are untidiness. None of them stops anything being found, so mention them in one line in the Step 4 summary under "Filed away" and move on.
Entries it reports as recorded in the last few minutes are not findings at all. That is another session's wrap in flight, quite possibly one running beside this one. Do not offer to clear them and do not repeat them as a problem. The same goes for an entry whose directory could not be read, which may be a disk that is not plugged in.
Do not run --fix as part of a wrap: it writes to the index, and a wrap is
already the one command most likely to be running in another session at the same
time.
If it reports that the index and the folder agree, say nothing about it.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js threads --json
Threads apply only when this session's working directory is the home
directory. Anywhere else, including a repository that has no HANDOFF.md yet,
write as Step 2 describes for everywhere threads do not apply, whatever mode
says. A thread's save refuses a draft whose **Working directory:** is not
the home directory, so routing anything else to it writes nothing.
mode: "pre-migration": threads do not apply. Skip to the review below.
mode: "invalid", or pending is not zero, in a session whose working
directory is home: stop. (Anywhere else, carry on as the paragraph above
says.) Say the thread list
cannot be read, or that a migration is part way through and needs
cli.js migrate finish, and write nothing.
mode: "threads": this wrap saves exactly one thread. Decide which, in
this order, and never start a new one just because the first answer was
missing:
Thread: line printed by a pickup in this conversation, or kept in its
summary. Check its subject still matches what this session did. If there
is more than one such line, or the work moved on to something else after
the pickup, ask which thread this wrap belongs to.cli.js find "<name>" --json first; if anything matches,
pick another name, or ask whether to adopt that document as the thread
with cli.js declare. Then ask the user to confirm the name in one line.
That becomes a new thread in Step 2.If the session did real work on two threads, say so and offer to run the wrap again for the other one. Never fold two threads into one document.
For an existing thread, get the revision first, then read. Run
cli.js find "<slug>" --json and keep thread.rev and thread.generation,
then read the whole document at thread.path. Never the other way round: a
revision taken after reading can belong to a save this session never saw,
and the save would then overwrite it without a conflict. If a Thread: line
from this conversation shows a rev that is not the start of thread.rev,
another session saved this thread since the pickup: say so, and read what
changed before rewriting.
For a new thread there is nothing to read. Take generation from the
threads --json output above and use --base none in Step 2.
Read back over the whole conversation and pull out:
Then collect what is still binding from before this session. For an existing thread:
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js constraints --thread "<slug>"
That is the thread's own rules, and it is the whole list: this week's constraints, the standing rules, and any project rules files the thread names. Nothing from any other handoff binds a thread, so nothing from any other handoff is carried into it. A new thread starts with only what this session set.
Sort every rule, carried or new, into exactly one of three places. This is the step a thread rewrite exists for. Without it every rule ever written stays in the constraints list for good, which is how one thread came to carry more than 160 of them, most of them true for as long as the project exists.
## Constraints still in force.## Standing rules, under a ### <area> heading naming what it governs.
Moving it there is not a retirement and needs no retirement line.Retired this session:
line, as below.A standing rule about one repository's code belongs in that repository's own
instructions file, where every session working there reads it. Those are
proposed together, once per wrap, as described under "A rule that outlives the
work" below: one question listing every such rule with the file it would go
into. A yes moves the whole batch through a pull request in that repository, on
a branch in its own worktree, through its usual review chain. The rules stay
under Standing rules until that pull request has merged; the next wrap after the
merge deletes them from the handoff and names the file on the
**Project rules:** header line. No answer, or a no, leaves them where they are.
If two of a thread's rules read as one rule in two wordings, keep the current
wording, delete the other, and add one Retired this session: line for it. For
a thread the check is the draft, not the command, which reads the saved file
and keeps reporting both until the save.
Everything from here to the end of this step is about handoffs outside threads, except where a paragraph names threads itself, and except the rules for moving a rule into a project's instructions file (reachability, asking first, writing it before retiring it), which also govern the batch a thread proposes above.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js constraints
Outside threads, a decision made in an earlier session does not stop applying because this session was about something else. Scope is the repository, so a worktree inherits from its main checkout.
It lists constraints. Carry every one into the new handoff, verbatim. The bullet holds the constraint and nothing else. No "(from HANDOFF-x)", no date, no note about why it is being carried. Matching is on the text, so an added annotation makes the copy a different constraint from the original: both then show as live, the list grows a near duplicate at every wrap, and a later retirement quoting one of them silently leaves the other in force. The command already reports where each came from on its own line.
It lists none, and names the handoffs it found for this project. Those documents predate the section. Read them, pull out anything binding, and propose it to the user before writing:
These look like they still apply. Carrying them into the handoff unless you say otherwise:
- the constraint, and which handoff it came from
A constraint is anything that governs work not finished yet: an approved design or standard, a path that must be read first, a deploy restriction, something declared off limits. Not a completed decision, which belongs under "Decisions made".
It says it cannot say what binds this folder, because the thread list cannot be read. Stop and report it. Carry nothing, since the pool it would have listed may be every thread's rules.
It warns that the scan was truncated, or that a retirement matched nothing. Both mean the list is not trustworthy as given. Resolve it before writing rather than carrying a list you have been told is wrong.
It warns that two constraints look like one rule in two wordings. This is the one a wrap can make worse rather than merely inherit. Carrying both forward verbatim, which is what every other instruction here tells you to do, writes the fork into another document and grows it.
Resolving it is not a judgement call about which reads better. Ask which wording is current, carry that one, and retire the other by quoting it exactly, per the retirement rule below. Then check the command again before writing: a retirement that matched nothing has left both live and the wrap is about to record them both.
Where the two turn out to be genuinely different rules that happen to read alike, say so in the handoff. The check reports and never edits precisely because it cannot tell the difference, and an unexplained pair will be reported again at every wrap from here on.
Nothing inside a constraint may change between sessions. No running count, no session number, no date, no "third time this has come up". This governs every route a constraint reaches the handoff by: carried from the command, proposed out of an older handoff, or written for the first time in this session. Matching is on the whole text, so a value that moves makes every session's copy a different constraint: carrying it verbatim preserves a stale figure, correcting it forks a near duplicate, and there is no third option. Measured on 2026-08-15, one rule about where handoffs file was live in five numbered wordings at once, ending "Sixth" through "Tenth session running", and five retirement lines had been written chasing four of them. Retiring one leaves the rest in force, because an exact quote is exact.
Where the recurrence is itself the point, count it rather than storing it. How many handoffs carry a constraint is a search anyone can run, and what a rising count is really reporting, a tool that keeps proposing the wrong answer, belongs in the bug queue where it can be fixed rather than in a number that records it being tolerated.
A rule that outlives the work belongs in the project, not in the handoff. Before carrying one, ask whether it stays true after this piece of work ends. A deploy restriction, a filing rulebook, a standard the code has to meet: those are documentation, and they belong in that project's own instructions file. A handoff constraint is for what is true this week and false next: which checkout is shared right now, what is half migrated, what is waiting on somebody.
This is not Step 3, and the two must not both take the same rule. The durable notes hold what stays true about the work and the person across every project, and load every session wherever it starts. A project's instructions file holds what governs work inside that one project, and loads when the work is in it. So a rule naming a repository, a path, a branch or a deploy target goes to the project; a rule about how to work, or about the person, goes to the notes in Step 3. Sending one rule to both is how two copies come to disagree, which is the thing this whole section exists to stop.
Check the destination is reachable from the runtime before moving anything.
Claude Code loads a project's CLAUDE.md on its own once work moves into the
folder. Codex does not, and this plugin ships a Codex manifest, so a rule filed
that way is invisible to half the hosts this skill runs on. It would not merely
read as noise there, it would stop binding, with a retirement line in the
handoff saying it had been safely filed.
So a project qualifies as a destination when its rules are reachable from every
runtime the work runs under, which today means Claude Code and Codex. The usual
arrangement is the rules in CLAUDE.md with an AGENTS.md beside it holding a
pointer rather than a second copy. A project keeping its rules in AGENTS.md
alone qualifies just as well, provided every runtime in use reads that file.
Confirm it rather than inferring it from the filenames. Which names a host loads is a property of that host and its version, so it is checked where the work is happening and not promised here.
Where a project does not qualify, the rule stays in the handoff. A list that is too long is recoverable by reading it. A rule nobody's runtime can see is not.
Carrying a permanent fact forward instead is how a document about one thing accumulates the rules of everything. Measured on 2026-08-16, a handoff about a writing skill carried 26 rules, and 21 of them belonged to a project rather than to the work that session was doing.
Ask before writing into a project's instructions file, every time. That file is committed and shared with everybody who works in the repository, and a wrap is not the moment to change one unasked. Show the rule and the file it would go into, and move it only on an explicit yes:
This rule outlives the work, so it belongs in
<file>rather than the handoff. Move it there? <the rule, quoted>
No answer is a no. Without one the rule stays in the handoff, the same fallback as a project the runtime cannot reach. Nothing else in this skill writes outside the handoff and the durable notes without being asked, and this is not the exception.
Write it into the project file first, then retire it here. A move is a retirement and uses the same line, so the trace survives:
- Retired this session: <the constraint, quoted exactly as it was written>, because it is now recorded in <the path of the file it was actually written into>.
Name the file the rule landed in, not the file that made the project
qualify. Those are usually different. In the common arrangement the rules sit
in CLAUDE.md and AGENTS.md is the pointer that makes them reachable from
Codex, so the note names CLAUDE.md. A project that keeps its rules in
AGENTS.md instead is named that way. Writing the wrong one produces a note
pointing at a file the rule was never written into, which is the failure
described immediately below rather than a cosmetic slip.
The order is not a preference. A retirement written before the destination exists deletes the rule and leaves a note saying it was filed somewhere it is not, which is worse than either doing nothing or losing it outright, because the note stops anybody looking.
Dropping one requires saying so. If this session retired a constraint, record it as retired with the reason:
- Retired this session: <the constraint, quoted exactly as it was written>, because <reason>.
The quote has to match the original. Retirement works by matching that text
against the bullet in the earlier handoff, so an approximation retires nothing
and the constraint keeps coming back. cli.js constraints says so when a
retirement matches nothing, and that warning means the wording, not the
decision, is wrong.
Silence is not retirement. A constraint that vanishes without a line explaining why is indistinguishable from one that was forgotten, which is how an approved design system was lost between one handoff and the one that superseded it three days later.
Never edit a handoff that is not this wrap's own. That means every other
thread, every history document, and anything protected. Those are a record of
what was true when they were written. Outside threads, the new document is the
carrier. Inside a thread, the thread's one document is, and a retirement there
is the bullet deleted plus one Retired this session: line for this session
only. That line is not carried into later rewrites, because nothing outside the
thread reads it.
Prefer what was verified over what was intended. A version number, a manifest and a passing manifest entry all report intent. Only running something reports behaviour. Where the two differ in this session, write down which is which. That distinction is the single most useful thing a handoff carries, and it is the first thing lost when the session is summarized casually.
A thread's document is the current state of the whole subject, not a log of this session. Rewrite it from the version read in Step 1:
**Last session:** to today's date and one line on what changed;**Format:** 2 in the header;**Label:** value; any other text goes in a section;## sections and no others; anything else, a dated
session section included, folds into one of them under a ### heading;- Retired this session: <rule>, because <reason> at the start of the line; save refuses any other form, because an
indented or reworded one is an example, not a retirement;## Constraints still in force, standing ones under ## Standing rules.A small session must not erase the rest of the subject, and it must not add a dated paragraph for itself either. "What was worked on" says what the subject is now in two or three sentences; it is not a list of sessions. Decisions made are the decisions still in force; one that settled for good becomes a standing rule or goes. Files created or changed are this session's files only.
Write the whole document to a draft file outside ~/.planning/handoffs (in
Claude Code, the session's scratchpad directory; in Codex, the system temporary
directory). Never write the thread's file directly, and never write a
HANDOFF-*.md into the handoffs folder yourself.
Then measure the draft before saving it.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js handoff-check --file "<draft path>" --json
It reports words per section and flags a session log (a second Last session
line, or more than one dated paragraph under "What was worked on" across more
than one date), "What was worked on" over its limit, file rows dated before this
session, a body over its limit without the two rule sections, and any section
over its limit except Standing rules. Fix every flag in the draft, then check
again. The check is how "current state, not a log" is enforced. Its flags are
structural, so read each one against the draft: a log flag means fold the
dated entries into one current account; a size flag means cut what is history.
save measures the same way and reports what it found.
Then save it:
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js save --thread "<slug>" --from "<draft path>" --base "<rev from Step 1>" --generation <N> --json
For a new thread, add --create and pass --base none.
Read what comes back:
saved: true (and declared: true for a new thread): done. Go to Step 3.saved: true and declared: false: the file is written but is not a thread
yet. Go to Step 3 and end as Step 4 says for that case.reason: "check-failed": the budget is enforced on this machine and the
draft is over it. The draft is kept. Fix what flags names and save again.
Only when a flag cannot be fixed this session, save with
--accept-check "<one-line reason>"; the reason is written into the saved
document's header.reason: "bad-shape": the draft has a shape every reader would get wrong: a
## section that is not one of the template's (fold it under the section
the reason names, as a ### heading or as text), a section name reused
below level two, a title that is not the first line, a header label below
the header, a rule or area wholly in brackets, a retirement line in any
form but the exact one, an HTML comment or block tag such as <pre>, a
heading underlined with --- or ===, a subheading inside What was worked
on, a code fence anywhere, a heading with spaces before it or not written as
hashes, one space and text, a rule section name in another spelling or case,
any ## section twice, a heading deeper than ### inside Standing rules, a
rule continued onto a second line or a subheading inside the constraints, a
second # title, a line break other than a plain newline, a
header line not written
exactly as **Label:** value, or a project rules entry that is not an
absolute path or a path starting with ~/. problems names each line. Fix them in the draft and save
again. --accept-check does not cover this.reason: "standing-dropped": the thread has standing rules and the draft has
none and names no project rules file. Carry them into the draft, or name the
file they went to, and save again.reason: "format-downgrade": the thread is already in the new shape and this
draft is not. That means the skill text running here is older than the
document. Stop and say the session plugin needs updating and a restart.reason: "conflict": another session saved this thread after this one read
it. Read it again, merge this session's changes into what is there now, and
save once more with --base set to the currentRev the refusal gave. If that
conflicts too, stop and tell the user; do not overwrite.reason: "name-taken": a new thread's name already belongs to another
handoff. Do not merge into it. Pick another name with the user, or adopt that
document with cli.js declare, and save again.reason: "busy": another session is writing handoffs right now. Wait a
moment and save once more; if it is still busy, stop and say so.draft is present, and stop.The save refuses to write anything it cannot verify, so there is no separate existence check to run afterwards: its answer is the check.
Ask where it goes:
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js target "<short topic>" --json
It returns the path, the kind, and the slug /pickup will need. If it returns
refused instead, stop and report it: the path is protected, or the work
belongs in a thread, and nothing may be written there this way. It also says when the entry
was not recorded in the index (recorded: false); say that in the summary,
because a project handoff kept outside the configured roots may then not be
found by name. The name to use from here on is pickupSlug, not slug.
They differ when the project's name belongs to a thread (it is then recorded
as <name>-project, or a numbered form of it, because /pickup <name> opens
the thread) or is already held by another project. If pickupSlug is null, no
name could be recorded for it; keep the returned path, because the check at
the end of this step and the ending in Step 4 both use it instead.
A directory
with its own work scope gets HANDOFF.md alongside the work. Anywhere else,
including the home directory, gets a topic-named file in the central handoffs
folder, so that separate threads of work do not overwrite each other.
Write this, filling every section that has content and dropping any that does not:
# Session Handoff
**Date:** [today's date, from the session start note]
**Working directory:** [path]
**Last session:** [for a thread: today's date and one line on what changed. Drop this line outside threads.]
**Format:** [for a thread: 2. Drop this line outside threads.]
**Project rules:** [for a thread: the project rules files its standing rules moved into, comma separated. Drop this line when there are none.]
## What was worked on
[Two or three sentences. The subject, not the activity.]
## Constraints still in force
- [what governs future work, and nothing else on the line]
- [Retired this session: the constraint quoted exactly, because the reason. Drop this line unless something was actually retired.]
## Standing rules
[Threads only. Outside threads this section is never read, so a rule written into it in a handoff outside a thread stops binding. Drop the section outside threads. One such section per document, plain bullets. A thread's handoff carries no code fences anywhere, and every header line is written exactly as **Label:** value.]
### [area the rules govern]
- [a rule that stays true as long as the subject does]
## Decisions made
- [Decision, and why]
## Files created or changed
| File | What it does |
|---|---|
| [path] | [one line] |
## Verified vs assumed
- [Claim, and how it was checked. Say plainly which claims were not.]
## Open loops
- [Unfinished or deferred, with enough detail to pick up cold]
## Next actions
1. [First concrete step]
## Context to reload
[Specific files or notes worth opening next time. Name them, do not attach them.]
Do not invent content to fill a section. An empty section is information. A padded one is noise that costs tokens at every future pickup.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js find "<pickupSlug>" --json
The match has to be the path target returned; a match elsewhere says nothing
about this handoff. If target returned pickupSlug: null, do not run that. Open the returned
path with the Read tool instead: it is there if the read succeeds, and missing
if it fails.
Writing the file and recording where it went are two different things, and
cli.js target does the second before the first. It notes the intended path so
/pickup can find it later, and that note survives whether or not anything was
ever written there.
So the index saying a handoff exists is not evidence that it does. This command checks the file itself, and a null match means nothing was written, whatever the step above reported.
Carry the result into Step 4. It decides what that step is allowed to say.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js memory --json
If that returns a directory, this project keeps notes that load at the start of every session. Update them with anything from today that stays true beyond this week, and only that.
Rules, because this file is read every session and grows forever if nobody guards it:
If it returns nothing, skip this step. Do not create the directory. It belongs to the harness, not to this plugin.
Skip this step entirely if the session was empty. An empty session must never overwrite durable notes.
Read the headings already in the file. Then, for each thing you are about to add, say one of these two sentences, and say which one it is:
<heading>." Sharpen that section rather than
opening a new one. A section that already covered the shape and now covers it
better is the result, not a consolation prize.A new section is the exception. Two sections describing the same shape from
different directions are one section, and the later arrival is the one that
should not exist. The rule above was in force for every session that grew
plugin-build-lessons.md to 5,922 words across about 25 dated sections that
were not 25 distinct lessons, three of which open by explaining how they relate
to another section in the same file.
Check the file's declared type while you are writing to it, not only when a
number flags it later. If what you are adding never changes, and most of what
is already there never changes either, the file is durable reference wearing a
live label, and the fix is to retype it rather than to hold it under a cap it
was never meant to meet. Propose the retype and let her decide. The same
guidance sits at the end of this step for the moment memory-check flags a
file, which is a week later than it needs to be.
node "${CLAUDE_PLUGIN_ROOT}"/scripts/cli.js memory-check
Nothing above this line checks whether any of it happened, and every component in this library has now been caught skipping its own rules. This is the number.
It changes nothing and deletes nothing. Surface whatever it reports in the Step 4 summary, and stay silent when it reports nothing.
| What it says | What it means |
|---|---|
oversize-live | A file meant to be replaced has been grown instead. Something in it already happened and can go |
oversize-durable | Long enough to be worth splitting, though length here is allowed |
over-budget | How far the oversize files above are over their own caps, added up. It is silent when every file is within its cap, whatever the directory totals |
unlisted | Nothing in the index points at it, so it may never be recalled |
dangling-index | The index points at a file that is not there |
broken-link | A [[link]] resolves to nothing |
Do not act on these unprompted. Report them and let her decide. Trimming somebody's notes because a number went over is exactly the behaviour a check like this must never have.
If something is flagged oversize-live, check its declared type before
trimming. A file that has quietly become durable reference should be retyped
rather than cut. The first real run of this check flagged two files and one of
them was simply mislabelled.
## Session wrapped
### What we did
- [bullet]
### Decisions captured
- [bullet]
### Files written
- [path], [what it is]
### Next time
1. [first next action]
### Filed away
[Only if Step 0 moved something. List the slugs. Otherwise omit the heading.]
How that ends depends on the check at the end of Step 2, and there is no version of it that does not.
For a thread, the ending follows what save reported:
Handoff saved to [path]. then the pickup
line below, using the slug that save returned, which is the name as the
script stored it.indexUpdated: false with an indexConflict: the same, plus a
line naming the conflicting path, because two documents now answer to the
name and every find will say so until one is renamed or forgotten.indexUpdated: false: the same, plus one line that the index was
not updated. A thread is still found by name.declared: false: Handoff saved to [path], but it is not a thread yet. Run cli.js declare [slug]. and no pickup line.reason of write-failed and nothingWritten: true: Not saved; nothing was written to [path]. The draft is at [draft]. and no pickup
line.reason of verify-failed, or of write-failed with
previousUnchanged: false and no nothingWritten: true: Update NOT saved, and the state of [path] is uncertain. Check it before the next wrap. The draft is at [draft]. and no
pickup line.Update NOT saved ([reason]); nothing was written. The draft is at [draft]. and no
pickup line. These results carry no path, and there may be no previous
handoff at all, so name neither.Anywhere threads do not apply, where the check returned a match at that
path, close with the name as target returned it in pickupSlug:
Handoff saved to [path].
/pickup [pickupSlug]
Where pickupSlug was null and the read of the path succeeded, close with
the path in place of a name, because no name was recorded for it:
Handoff saved to [path]. No name was recorded for it, so pick it up by path.
/pickup [path]
Where it returned nothing, or the read of the path failed, close with this instead and stop:
Handoff was NOT written to [path]. Nothing to pick up.
Do not print the /pickup line in that case. A slug that resolves to no file
sends the next session looking for something that was never there, and the one
after that starts from nothing with no sign anything went wrong.
The two endings are kept out of the template above on purpose. An earlier
version of this step had the saved line and the /pickup line sitting inside
it, with the condition written underneath as prose. That is the same shape as
the bug this step exists to prevent: the part read first states the good
outcome plainly, and the qualification arrives afterwards, where it is easy to
skim past. A template that cannot be copied without deciding is better than a
correct sentence below one that can.
Where the handoff was saved, the /pickup line goes last, always, on
its own. It gets copied straight into the next session, so anything printed
after it has to be scrolled past. In Codex the same slug is passed to the pickup
skill by asking for it; say that in one line above the /pickup line, never
below it.
Small sessions still get wrapped. One decision in twenty minutes is still the thing the next session needs.
If asked for a "quick wrap": write the files, confirm the path, skip the summary.
If there is genuinely nothing to capture, a fresh session with nothing discussed, say "Nothing to wrap, the session was empty" and write nothing at all. Do not touch the durable notes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sarahcallmesmadds/infra-plugins --plugin session5 skills in this plugin
/core-toolsPick which connected tools to watch, so the status line warns when one needs signing in again. Reads the servers actually connected on this machine and lets the user choose. Use when the user says "core tools", "which of my tools are connected", "watch my MCP servers", "tell me when Notion drops", "is my Slack still connected", or invokes /core-tools./core-tools-monitorRun the transition-only core-tools health probe used by a Claude Desktop scheduled task. Alerts once when a configured tool drops, stays silent while the same failure continues, and reports once when it recovers. Use when the user asks to run, test, or schedule the core-tools monitor./pickupLoad a previous session's handoff and start where it left off. Takes a slug produced by /wrap, finds the matching handoff, and surfaces what was happening, what was decided and what is next. Use when the user says "/pickup <slug>", "pickup <slug>", "resume <slug>", "let's pick up <slug>", or "where was I on <slug>"./status-barSet up the native Codex footer and task-progress title, or the richer Claude Code status line with model, folder, current task, spend, context, and connected-tool health. Use when the user says "set up the status bar", "install the status line", "show me my context usage", "show the current Codex task", "add the usage bar", or invokes /status-bar. Also use when a status line has stopped rendering or is showing an old version.