resume
Skill5 starsChanged 3 months agoMITView on GitHub
Load context for a fresh session in a worktree with in-flight pair-flow work. Reads the kickoff brief (the contract), tasks.md state, recent git log, the open PR state, and an optional handover brief, then surfaces uncommitted changes and asks before proceeding. Read-only over your in-flight work: no stash, clean, push, merge, or commit of it. The skill's only write is the standard self-healing drift-log note.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- qbeka/jev-job-searchtheir own version, first seen Oct 4, 2026
- marinvch/Cortextheir own version, first seen Oct 1, 2026
- ArcticFox2029/chamnantheir own version, first seen Sep 30, 2026
- baobab-tech/researcher-harnesstheir own version, first seen Sep 19, 2026
- EliaAlberti/cpr-compress-preserve-resumetheir own version, first seen Sep 9, 2026
- thesun4sky/jobstacktheir own version, first seen Sep 5, 2026
Used with
Projects with it also use discuss, report and 9 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.
shawnla90Skilldiscuss
Decision-lock workflow for complex features. Asks targeted domain-specific questions, locks scope, and writes a CONTEXT.md that downstream skills consume. Auto-invoked when a feature touches 3+ files across 2+ concerns, or manually via /discuss.
Also in 3 projects that use this
MicrosoftSkillreport
Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.
Also in 4 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 5 projects that use this
AnthropicSkillstart
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 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
SentrySkillreview
Fixture review skill.
Also in 5 projects that use this
- +1 more from anthropics
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- H-mmer/pentest-agents★ 984same name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- EliaAlberti/cpr-compress-preserve-resume★ 512same name
- thesun4sky/jobstack★ 137same name
- jananthan30/Resume-Builder★ 86same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- wrg32786/aigent-os★ 19same name
- Hassaan146/claude-skills★ 18same name
- maxwellsdm1867/wheeler★ 12same name
- urmzd/incipit★ 12same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- builderSkill
- drainSkill
- execute-taskSkill
- offloadSkill
- orchestrateSkill
- polishSkill
- self-reviewSkill
- spec-draftSkill
- spec-kickoffSkill
- spec-walkthroughSkill
- towerSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
Read the current branch name and parse it against the convention planwright/<spec>/task-<id-or-ids>.
- Very specific: line 100
If Step 2 resolved a <spec>, read specs/<spec>/kickoff-brief.md — the durable contract downstream work executes against.
- Very specific: line 112
If a <spec> was resolved, read specs/<spec>/tasks.md, keying the read off the bundle's declared Format-version: (invariant-tasks D-7):
- Very specific: line 147
If a remote and the gh CLI are available, read the PR for this branch (gh pr view on the current branch): its number, draft/ready state, …
- Very specific: line 157
If <worktree>/.claude/handover.md exists, read it and fold its in-flight notes into the context Step 8 offers.
- Distinctive: line 170
Run git status and surface the working tree exactly as it is: staged, unstaged, and untracked changes.
- Very specific: line 204
When a <spec> was resolved, also recommend — as an optional independent step, one line — that the human may run /spec-walkthrough …
- Very specific: line 236
After each run, compare these instructions against the doctrine and spec they implement: REQ-F2.1 (the read-only loader contract), D-30 …
“Common” is measured: kept by at least 6 in 10 of the 28 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.
Files
/resume — read-only context loader
/resume rehydrates a session that lands in an in-flight worktree with no
memory of how the work got there (REQ-F2.1, D-30). It gathers the durable
context a worker needs — the kickoff brief, tasks.md state, the branch's
git log, the PR state, and an optional handover brief — surfaces the
working tree's uncommitted state, and asks before any work continues.
It is strictly read-only. It surfaces information and defers every decision to the human: it never auto-stashes, auto-commits, or auto-cleans (D-30), and as a read-only loader it never pushes or merges (REQ-F2.1). The point is to make the situation legible, not to act on it.
This is a read-only, non-dispatching path. Outside a git repository there is
nothing to resume, so it stops with a clear message (Step 1); every other
missing prerequisite (no remote, gh absent, a brief that is not there yet)
degrades with a clear note and a still-useful partial load rather than a hard
halt. Both arms are graceful per REQ-K1.7: a clear message, never an opaque
failure.
Doctrine
This skill is procedure, not doctrine. Two rule docs inform it; resolve
each via the rule-doc resolution convention
(scripts/resolve-rule-doc.sh <doc-name> under the resolved planwright
root, or the documented PLANWRIGHT_ROOT / CLAUDE_PLUGIN_ROOT chain):
spec-format— the two-brief model (kickoff = durable contract, handover = optional in-worktree cache), the kickoff-brief structure, and theplanwright/<spec>/task-<id-or-ids>branch convention this skill parses to locate the spec.interaction-style— the three disciplines and the turn/artifact arbitration, which govern the one attended turn this skill has: Step 8's.
Because /resume is a read-only loader, a doc that does not resolve is a
one-line degradation note, not a halt: fall back to reading the brief and
tasks.md directly and proceed (REQ-K1.7).
Doctrine manifest (machine-parseable, per doctrine/instruction-hygiene.md;
run-start loads before work begins, point-of-use at the named step):
Doctrine: run-start spec-format Doctrine: point-of-use interaction-style (Step 8's turn)
Procedure
1. Establish location and prerequisites
Confirm the current directory is inside a git repository and resolve its
top level. If it is not a git repo, say so plainly and stop — there is no
in-flight worktree to resume. Note (do not fail on) the absence of a remote
or of the gh CLI; those only narrow the PR-state step below.
2. Identify the in-flight unit
Read the current branch name and parse it against the convention
planwright/<spec>/task-<id-or-ids>. Before interpolating the parsed
<spec> into any path, validate it against the REQ-A1.8 spec-identifier
charset (^[a-z0-9][a-z0-9-]*$, max 64 chars) and refuse the reserved word
flight; no skill interpolates a failing identifier into a path or command
(REQ-A1.8), so a segment that fails is treated as no match. The <spec>
segment names the spec bundle (specs/<spec>/); the <id-or-ids> segment
names the task or bundle being executed. A flight branch
planwright/flight/<flight-id> is specless: say so and resolve no spec. If
the branch does not match the convention or <spec> fails validation (e.g.
a spec branch planwright/<spec>/spec, a hostile branch name, or an
unrelated branch), do not guess a task: say which branch you are on and try
to resolve <spec> only when it is unambiguous — a single spec bundle
under specs/ (a direct child whose name passes the REQ-A1.8 charset; the
reserved underscore-prefixed directories _pending/, _observations/
and _flights/ are not bundles and are skipped), or a single bundle whose
requirements.md carries the literal **Status:** Active marker and that
has a kickoff brief
(a format-version 2 bundle never stores Active — its header rests at
Ready while work is in flight — so a stored **Status:** Ready with a
kickoff brief counts the same way there, but only when the render reports
work in flight: a freshly signed-off, undispatched v2 bundle is not an
in-flight unit).
Both arms consider only directory names that pass REQ-A1.8 (an Active bundle
has already passed validation, so its name conforms). If that inference is
unambiguous, continue with the resolved <spec>. If it is not — zero
candidates (no specs/ directory, or no bundle directory passes REQ-A1.8) or
several candidates — say so plainly and proceed with no resolved <spec>
(Steps 3-4 below degrade to a spec-less partial load, a clear message rather
than an opaque failure per REQ-K1.7) rather than inventing a unit.
3. Load the kickoff brief (the contract)
If Step 2 resolved a <spec>, read specs/<spec>/kickoff-brief.md — the
durable contract downstream work executes against. Surface the signed-off
goal restatement, the task-graph slice for the in-flight unit, and the
risk-register entries that touch it (when unsure whether an entry is
relevant, include it rather than omit it). If the brief is absent or has no
final sign-off section, note that the work predates a signed brief (or the
brief is partial) and continue with the rest of the load; do not stop. If no
<spec> was resolved, note that and move on — Steps 5-8 still produce a
useful spec-less partial load.
4. Load tasks.md state
If a <spec> was resolved, read specs/<spec>/tasks.md, keying the read
off the bundle's declared Format-version: (invariant-tasks D-7):
- Format-version 1: surface the in-flight unit's block — and when the
branch encodes a cohesion bundle (
task-<id-or-ids>, e.g.task-3-4), every task block the bundle covers, not just one — including each block's section (In progress / Awaiting input / etc.), itsStatus:andLast activity:annotations,Done when:, andDependencies:, and note whether each dependency sits inCompleted. - Format-version 2: the committed file holds definitions plus
human-authored payload only — no placement sections and no state
annotations exist. Surface the unit's block (
Done when:,Dependencies:) from## Tasks, note any reference bullet naming the task in## Awaiting input,## Deferred, or## Out of scope(a parked task), and read execution status — the unit's phase, each dependency's completion, the bundle's derived Active/Done — through the render, the canonical human-facing read surface (mise run status specs/<spec>, i.e.scripts/spec-status.sh; invariant-tasks D-6). A render failure degrades to reporting the definition and bullet state with a clear note. - Missing or unparseable
Format-version:: neither arm applies — surface it and report definitions and bullets as found, assuming neither version's semantics (D-7's fail-closed direction; this loader writes nothing regardless).
This is the canonical orchestration state record; report it as found,
without editing it. With no resolved <spec>, skip this step.
5. Load the git log
Show the recent commits on this branch (most recent first), and the branch's relationship to its base (commits ahead / behind where that is observable). This is what reconstructs what the prior session actually did.
6. Load the PR state
If a remote and the gh CLI are available, read the PR for this branch
(gh pr view on the current branch): its number, draft/ready state, title,
and review/CI status. If gh is absent or unauthenticated, there is no
remote, or the branch simply has no PR yet, record that no PR state is
available and proceed with a partial load: everything except the PR state is
still available (REQ-K1.6, REQ-K1.7). A branch with no PR is a normal pre-PR
state, not an error.
7. Load the optional handover brief and polish audit
If <worktree>/.claude/handover.md exists, read it and fold its in-flight
notes into the context Step 8 offers. It is an optional best-effort cache (D-3), not a
contract: its absence is normal and never an error.
<worktree>/.claude/polish-audit.md is the same kind of cache, left by a
standalone /polish run, and this skill is its named reader. If it exists,
carry it into Step 8 the way /polish would have: each pending sign-off and
each queued fork as one line among the question's options, the counts in the
detail, the file as the pointer. Never replay the tables into the turn. Its absence is normal and
never an error, exactly as for the brief above.
8. Surface the working tree and ask before proceeding
Run git status and surface the working tree exactly as it is: staged,
unstaged, and untracked changes. Do not stash, commit, clean, or otherwise
touch the working tree — the decision about uncommitted state belongs to
the human (D-30).
Then, before doing any further work, ask the human how they want to
proceed. Steps 3–7 gather; nothing they gather reaches the operator before
this turn, which is a projection of the load (interaction-style, the
arbitration), not the load itself:
- The question leads, with the decisions the load surfaced as its options — uncommitted changes to settle, a pending sign-off or open fork from the polish audit, a halt recorded against the unit — each option stating its own action and consequence, per the balance rules, with an explicit leave-it-for-now option.
- One compact status line follows: the unit, its derived phase, the PR number and draft state (or none, or unknown when Step 6 could not ask), the working tree as clean or a count of changed paths, and "partial load" when any step degraded.
- The context elements — unit, brief slice, task state, git log, PR state, handover notes, the polish audit's counts, working-tree status — are offered on request, one layer at a time, never emitted by default. A decision the operator must weigh is never hidden in that layer: it belongs in the question.
A follow-up the operator names in the answer gets its tracked form proposed
per interaction-style's Capture at birth, but /resume stays read-only:
the session continues with that write as its first act, once the operator
confirms, and this skill never makes it. A proposal the operator declines is
not tracked. Mirror the turn into
the structured decision/transcript log as one turn record, sanitized like
the log's other records (D-19); where the harness provides no such log, say
the mirror was skipped, never improvising one into the repository.
When a <spec> was resolved, also recommend — as an optional independent
step, one line — that the human may run /spec-walkthrough specs/<spec>
themselves for an unaided, plain-language re-read of the bundle to re-orient
(REQ-F1.1, REQ-F1.2, D-11). It is a suggestion only, never a step this skill
performs, and as a read-only loader /resume neither runs it nor depends on
it. /resume ends here; continuing the work is a separate, human-initiated
step.
Invariants
These hold at every step. The skill's one and only write is the REQ-B3.2
self-healing drift-log note (Maintenance section): recording one observation
fragment through scripts/obs-record.sh and committing it as its own chore
commit. That chore never touches the resumed work; every invariant below
describes the read-only guarantee over that work, and the drift-log note is
the sole carved-out exception. Step 8's turn record goes to a log the
harness provides, outside the repository, so it touches neither.
- Never modify the working tree of the resumed work: no stash, clean,
checkout, reset, or commit of in-flight changes.
/resumeonly reads it (REQ-F2.1); D-30 specifically forbids auto-resolving uncommitted state. - Never push, create or update a PR, or merge.
- Never edit
tasks.md, the brief, or any spec bundle file. The observations fragment store underspecs/_observations/is the carved-out drift-log exception above, not a spec file. State moves belong to/orchestrateand/execute-task, not to a context loader. - Never hard-fail opaquely on a missing prerequisite: outside a git repo, stop with a clear message (Step 1); for every other missing prerequisite, degrade with a clear note and load what is available (REQ-K1.7).
Maintenance
After each run, compare these instructions against the doctrine and spec
they implement: REQ-F2.1 (the read-only loader contract), D-30 (surface,
do not auto-resolve), REQ-A1.8 (the spec-identifier charset gate on <spec>
before path use), and the spec-format doc's two-brief model, brief
structure, and branch convention. If the brief structure, the handover-brief
location, the identifier charset, or the branch convention have drifted from
what this skill describes, record a one-line drift observation through the
shared helper (scripts/obs-record.sh --slug skill-drift --scope <repo>
--text 'skill-drift(resume): <what>' — the entry text keeps the
skill-drift(...) prefix) and commit the fragment as its own chore commit,
per REQ-B3.2 / D-42; surface a non-zero helper exit rather than silently
dropping the observation. In repositories without specs/, surface the
drift to the user instead of recording it. Do not edit this skill or the
doctrine docs to resolve the drift; the accumulator's canonical reader
(/spec-draft) owns folding drift into spec amendments.
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
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.

