/session-flow:orient [catch-up|zoom-out [--days <N>]] [--unattended]from session-flow
Read-only orientation briefing that synthesizes conversation context with durable state (ledgers, handoffs, open PRs, work items, git) to answer where the session stands and why. Use for catch-up or zoom-out timelines.
Ships in session-flow. 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.
Read when SKILL.md points to them.
Take session-id, branch, status, and recent-commits at -8. Probe commands, the
one-command-per-call and treat-failure-as-unknown rules, and the $-expansion rationale for
gathering at run time rather than pre-computing:
${CLAUDE_PLUGIN_ROOT}/reference/gather.md.
Answer, in one read-only briefing: where do we stand, what are we doing, and why. The briefing draws on both the live conversation and the durable, off-thread state a conversation does not hold. Ledger files, handoff save-points, workflow checklists, running-retro ledgers, open pull requests and work-items, and git state. It orients; it changes nothing.
Not the built-in /recap. /recap summarizes only the conversation,
never the durable state on disk or the work running off this thread, and this
skill does not invoke it. So this skill synthesizes the conversation summary
inline and adds the durable + off-thread layer /recap cannot see. Reach
for it when "what did the last session decide, and what is in flight right
now" matters, not just "what did we just say." The verification records
(pointer, as-of date, recheck trigger) live in
reference/native-recap.md.
<memory_dir>/handoffs/), the last session's
in-flight snapshot; its own brief names where the work stood. Read each
section the briefing uses by name, with
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/save_point.py" read <file> --section "<name>"
(Original goal, Resumption brief, Remaining actions, Decisions in force,
Open questions, Environment to re-establish, Observations, Reminders, and any other
the ask needs), never by position; open reminders in the latest closed handoff are
reported in full, since an unattended close leaves user and at close entries for the
next attended session to raise: a section moved to the archive file is
read from there; <memory_dir> resolves as
save-point.md "Where save-points live"
says (.work/ in a git work tree by default), never Claude Code's auto-memory directory;
a handoff opened with Read instead has each - Moved: pointer's archive file read too, before a section or result is reported absent;<memory_dir>/<slug>/), the stage ledger;<memory_dir>/running-retros/), accumulated
in-flight findings.
This skill only reads these; it never writes them, so the write-time
runtime guards do not apply. Degrade quietly when a location is absent.gh pr list for the current branch / author), open
work-items (the consumer's tracker seam), and a glance at work running
off this thread. Background tasks, monitors, subagents, and the other
off-thread kinds
(${CLAUDE_PLUGIN_ROOT}/reference/off-thread-work.md).
On the desktop app, with a tool that lists the user's other sessions,
include those sessions per
${CLAUDE_PLUGIN_ROOT}/reference/desktop-session-list.md.
Report the off-thread work at a glance. In the four-part briefing, do
not inspect or recover it; that is /session-flow:keep-going.Synthesize the reads into a short, current-state briefing:
workflow) or acting on it.Ground every claim in a read this turn. Where the durable state and the
conversation disagree, surface the discrepancy rather than picking one,
and point at /session-flow:reanchor to verify which still holds.
/session-flow:orient catch-upThe four-part briefing above stays the default. This scope runs only on the explicit
argument catch-up; a bare "catch me up" keeps the four-part briefing. --unattended, anywhere in the arguments,
is not that argument: it is the caller declaring that nobody is present, so take it out first and
match catch-up against the rest. It answers "what
happened since my last message, and what needs me", still read-only.
Word cap. The What happened part stays within ${user_config.orient_catch_up_word_cap}
words, visuals excluded. A value still reading ${user_config.…}, or empty, is unset: the cap is
250. A value below 150 is treated as 150. The cap never costs an action item: list every one in
full, even past the cap, never as a count, never merged with another, never as a link in its
place. To fit the cap, shorten What happened.
Anchor. The user's last message they wrote themselves. Notifications and subagent results are not the user's messages. Assume the user remembers that message and nothing after it, so name each pull request, branch or agent as the user would know it, not by an internal id.
Gather, read-only. Read the session's own work since the anchor, subagent reports, and
messages from others in the chat. Re-check the current state of each pull request, CI run and
agent the chat touched, rather than repeating what the chat last said; say which are still
running and which could not be checked. This is a status read only; recovering or resuming
an agent stays /session-flow:keep-going. Change nothing to gather. This is the one scope of
this skill that re-checks live state; every "does not inspect", "does not verify" and "reports
at a glance" limit below and above applies to every other scope.
Action items. An action item is a decision or step only the user can take: a product choice, an approval, an irreversible action, or access the session lacks. Include any still waiting from before the anchor. Work the session can still do itself is not an action item.
Order of the reply.
Add a visual (table, diagram) only when one exists or can be built from what is in hand; never invent a number or picture.
When the reply did not stop at Needs you, offer a video of the catch-up through
/explainer-video:produce (if enabled), which owns how the video is made: end the reply with a
one-line offer and on a yes hand the catch-up to that skill; otherwise say nothing about a video.
Unattended, record the offer in the output instead of asking.
/session-flow:orient zoom-out [--days <N>]The whole effort, not just this session: when it started, what each day and each session did and
left, what runs now, and what comes next. It runs on the argument zoom-out (strip --unattended
first, as for catch-up), or when the ask is about the effort's history across sessions: "zoom
out", "when did we start", "what did we do each day". A bare "catch me up" keeps the four-part
briefing. --days <N> sets the last-N-days horizon; with none, or a value that is not a positive
whole number, it is 7.
Effort boundary. A boundary the ask names (a container, branch, plan file or topic) wins. Otherwise take the first of these that resolves, and name the one used, with its value, in the report's first line:
/work-items:track (if enabled).topic of the handoff this session resumed from.When none resolves, say so, report only today and the last N days from git, and say the user can
name a boundary in the ask. The effort's handoff chain is the newest handoff in
<memory_dir>/handoffs/ that matches the boundary (its branch, plan, topic or linked item),
walked back; the directory also holds unrelated tasks' handoffs, so never take the newest file
alone.
Timeline. Build one row per session from the chain
(${CLAUDE_PLUGIN_ROOT}/reference/structure.md
"Prior sessions" and the frontmatter shapes):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/save_point.py" chain <newest file> --json: each entry
of hops is one session (hop, date, session id, and its This session line under sections,
read from the next hop's file when its own handoff file is gone), newest first, and links gives
each handoff file the walk reached with its status. That covers every handoff shape and needs no
read by position.save_point.py read <newest file> --section "Prior sessions" for the transcript of each listed
session. A session with no This session line gives an UNVERIFIED row from its Resumption
brief. A row that differs between a table and the hop it names is a disagreement, reported as
one.date, the boundary's first commit and
the container's creation; give each candidate when they differ. Find the first commit with no
date bound, so it can be older than the other two: for a branch boundary it is the first line of
git log <default branch>..HEAD --reverse --format='%h %as %s'; otherwise it is the first line
of git log --reverse <boundary match> --format='%h %as %s'. The boundary match is
--fixed-strings --grep=<term> for the plan file's name or the topic slug. For the container
id it is --extended-regexp --grep='<container id>([^0-9]|$)', so the search for #200 does
not also match #2001 or #20000.git log <default branch>..HEAD --format='%h %as %s'; otherwise run
git log --since=<effort start> <boundary match> --format='%h %as %s', with the same boundary
match as above and the effort start being the earliest date found above, and keep the commits
that name the boundary. Then run /session-flow:recall once, its topic the
boundary's topic slug or the branch's distinctive words, and place its dated results on those
days. Show a day only when a source has something for it, except inside the last N days, where
an empty day is shown as empty. Transcripts reach this scope only through handoff rows and
recall's report; never open a transcript file here.Roadmap. Near term comes from the plan's open phases, the newest handoff's remaining actions and recorded preconditions or deviations, and open tracker items linked to the boundary. Long term comes from later plan phases and the container's open children. Report what each source holds; never invent a phase.
Provenance. Every claim ends with its source label: [git <sha>], [handoff <file>],
[tracker <id>], [plan <file>], [recall] or [conversation]. When two sources disagree, give
both with their labels, and point to /session-flow:reanchor to settle which still holds.
Order of the reply.
A session timeline (a Gantt chart) or a phase-status diagram is optional: offer it in one line
above the open decisions. On a yes, hand the rows to /visualization:visualize (if enabled), which owns the form and the medium, including a shareable page; when the visualization plugin is not enabled, write the
rows as a mermaid block in the reply. Unattended, record the offer in the output instead of asking.
/session-flow:workflow. "What stage is next." Orientation reports
where we stand; it does not prescribe the next step./session-flow:reanchor. "Are my assumptions still true against
live reality." Orientation synthesizes current state; it does not run a
freshness/drift verification. When freshness is in doubt, it points here./session-flow:keep-going. Recovers and continues off-thread work.
Orientation reports off-thread work at a glance; it recovers nothing./session-flow:retro. "What did we learn" (end-of-session scoring +
codify). Orientation extracts no learnings and scores nothing./session-flow:handoff. Writes a save-point and ends the session.
Orientation writes nothing and ends nothing./session-flow:recall. "What did we try for X" across transcripts,
reverts and closed PRs. The zoom-out scope calls it only for days the
handoff chain does not cover./recap commandBoth answer "where were we", so a request to catch up can land on either.
/recap (built-in command): generates a one-line summary of the current conversation on
demand, alongside the automatic recap shown when you return to an idle terminal. It writes nothing
to disk and reads nothing outside the conversation. It is reserved for the person to run; the
model does not invoke it.Native suggestions are on unless native_suggestions resolves off: the team docs/conventions/session-flow.yaml value wins over the per-user value ${user_config.native_suggestions} (a literal unexpanded token means unset); with none set they are on. A value other than on or off is named and that layer dropped: a valid higher layer still wins, otherwise on, never a lower layer's value. When off, skip the offer below and write nothing in its place, not even a note that it was skipped or why.
Routing. When the person wants only a one-line reminder of this conversation, offer it to
the person: If /recap is available in your session (gate basis: ungated, though some hosts decline
it, as Availability is never assumed below says; records in
reference/native-recap.md) and native suggestions are on (native_suggestions, Configuration), you can run it instead of or alongside this
skill. Make the offer at the end
of the briefing, or at the start when the ask names only the current conversation. Prefer this
skill whenever durable or off-thread state matters. When the caller passes --unattended, the run makes no offer and writes Withheld suggestion (unattended): /recap in the output; without that flag
it asks.
Mutation gate. Neither writes files. This skill never runs /recap on the person's behalf.
Availability is never assumed. The command can decline in some hosts, for example when the request is relayed from a chat thread, a routine, or a webhook; this section states what to do when the person can run it, never that it is present. The four-part records live in reference/native-recap.md.
/clear, in every scope,
zoom-out included. It is a read-only briefing that leaves state untouched.catch-up, which re-checks
live status, see its scope). It reports what the durable state says;
confirming those claims still hold is /session-flow:reanchor.catch-up status read) and resuming it is
/session-flow:keep-going./session-flow:workflow./session-flow:retro./recap. The model cannot invoke it
(reference/native-recap.md); it synthesizes the conversation summary inline instead./session-flow:reanchor rather than asserting it as
current fact.gh, a tracker CLI) may be absent or unauthenticated.
Degrade to the state you can read and say what you could not reach; never
block the briefing on a missing optional source./session-flow:keep-going, not this
skill.evals/evals.json (opens in a new tab)evals/fixtures/four-session-chain/handoffs/20260901T164000Z-handoff-invoice-export.md (opens in a new tab)evals/fixtures/four-session-chain/handoffs/20260902T111500Z-handoff-invoice-export.md (opens in a new tab)evals/fixtures/four-session-chain/handoffs/20260902T190500Z-handoff-invoice-export.md (opens in a new tab)evals/fixtures/four-session-chain/handoffs/20260904T103000Z-handoff-invoice-export.md (opens in a new tab)evals/fixtures/plan-and-container/handoffs/20261005T170000Z-handoff-ledger-sync.md (opens in a new tab)evals/fixtures/plan-and-container/handoffs/20261007T120000Z-handoff-ledger-sync.md (opens in a new tab)evals/fixtures/plan-and-container/plans/ledger-sync-plan.md (opens in a new tab)reference/native-recap.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub melodic-software/claude-code-plugins --plugin session-flow20 skills in this plugin
/audit-frictionAudit frictionAudit Claude Code sessions for permission and autonomy friction (denials, approval prompts, hook blocks, hand-offs), traced to cause in one decision brief. Use when the agent keeps asking or handing off, auto mode denies, or re-measuring after permission fixes./audit-sessionsAudit sessionsAudit every Claude Code session on this machine or behind a pull request for wasted time and tokens against a baseline, routing findings to fixes, plus score trends over time. Use when: 'audit my sessions', 'which sessions burned the most tokens', 'retro this PR', trends, or repeating corrections. Not for one session: /session-flow:retro./clean-stopClean stopClean stop before the machine goes away: sweep every repo and worktree touched for uncommitted, unpushed or PR-less work, push it, and give a free-and-clear verdict. Use when: 'clean stop', 'safe to shut down', or stopping for the day. Gates destructive cleanup./continue-in-backgroundContinue in backgroundHand the task to a fresh detached background agent (claude --bg or --cloud) that continues it now from a save-point. Use when the user is going AFK and explicitly asks to 'continue in the background'. Launches only on that request, never self-elected./find-handoffFind handoffRecover a lost handoff save-point or resume prompt after /clear, from the handoffs folder then recent transcripts, confirming before resuming. Use when: 'find my handoff', 'I lost the resume prompt'. A session that ended mid-work: /session-flow:keep-going./go-with-recommendationsGo with recommendationsAccept the agent's latest recommendations after re-grounding each in code/sources, surfacing changed or unconfirmable items; supports exceptions.Other plugins' skills for the same job