/shippable-skills:session-primerfrom Shippable Skills
Briefs a fresh session in one read-only pass using git state, open plan checkboxes, the newest handoff file, and the instruction file. Use at session start or when asking 'where was I', 'catch me up', or 'what's the state of this repo'.
Ships in Shippable Skills. 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.
Give a fresh session a short, fixed-format briefing so work starts without
exploratory warm-up. One read-only sweep, one ## Session Briefing block.
This skill is host-neutral. It runs on Cursor, Copilot, Codex, Claude Code, and any other Agent Skills host, using only plain shell commands and file reads.
Never block on I/O. Every read here is best-effort. If a call is denied, fails, or the file is absent, treat that source as unavailable, note it in a word, and carry on. Do not retry and do not guess another path.
You are running session-primer right now. These instructions are in your context because the skill was invoked, so produce the briefing in this reply.
## Session Briefing block of five to eight lines with
these labelled lines: Branch, Last activity, Uncommitted, Open items,
Resume from, Next step. The whole reply stays under twenty lines.git fetch, git pull, git checkout, git stash, and any
write.The line format and the next-step table are in references/briefing-format.md.
None. The skill reads the repository it is in.
It is for orientation. If the user asks a question that names a file or a feature ("how does the payment module work?"), do not run it: answer the question.
Gather everything in one pass. Issue plain commands, one command per call,
and issue independent calls in parallel where the host allows. Do not chain
with ; or &&, and do not nest in a subshell. Read each source once.
| Fact | Command |
|---|---|
| Current branch | git branch --show-current |
| Default branch | git symbolic-ref --short refs/remotes/origin/HEAD |
| Working tree | git status --porcelain |
| Last five commits | git log -5 --oneline |
| Plan documents with open boxes | grep -rl --include=*.md -e "- \[ \]" docs and grep -l -e "- \[ \]" *.md |
| Handoff files | ls of .claude/handoff, .agents/handoff, docs/handoff, and the override directory if the instruction file names one |
| Instruction file | read the first existing of AGENTS.md, CLAUDE.md, .github/copilot-instructions.md |
| Today | date +%Y%m%d |
A command that fails because a path is missing is a normal "none". Outside a git repository, skip the git rows and say the directory is not under version control; the briefing still reports what the other sources hold.
Default branch. Detect it from origin/HEAD: the symbolic-ref output
origin/develop means the default branch is develop. That name is for the
briefing only. Count the distance against the ref itself, never the name:
git rev-list --left-right --count origin/HEAD...HEAD (behind, ahead). If
there is no origin/HEAD, use main...HEAD when
git rev-parse --verify --quiet main succeeds, else master...HEAD. If none
exists, omit the distance.
Plan documents. A plan document is any *.md under docs/ or at the repo
root with an unchecked - [ ] item. Sort the matches by modification time
(ls -t with each path single-quoted, under the data rule in Rules), keep
the five newest, and count their unchecked boxes.
Read none of them in full: the count and the file names are enough. Open items
may also name the first unchecked line of the newest one.
Handoff. Handoffs are handoff-*.md files. Scan every handoff directory
that exists: .claude/handoff/, .agents/handoff/, docs/handoff/, plus a
directory named by shippable-handoff-dir: <path> in the instruction file
(ignored when absolute or containing ..). Pick
the newest across all of them by the YYYYMMDD-HHMMSS timestamp in the
filename, not by file mtime. Ignore other kinds (explore-*, wire-in-*,
skill-candidate-*).
If the newest handoff is less than seven days old (by its filename timestamp against today), read its first line (the resume stamp) and these four sections only: Next Steps, Decisions Made, Do Not Redo, and Verified vs Assumed. Its consume rule:
handoff-*.md across every handoff directory.If the stamp's branch or head differs from the checkout, say so in the
Resume from line. A handoff seven days old or more is named as stale and does
not supply the next step.
Print the block. The format of each line and how to infer the next step are in references/briefing-format.md. In short:
## Session Briefing
Branch: <name> (<N> ahead, <M> behind <default>)
Last activity: <latest commit subject>, <relative time>
Uncommitted: <count> files (<staged> staged, <unstaged> unstaged)
Open items: <count> unchecked in <N> plan docs (newest: <path>)
Resume from: <path> (<stamp>) | fresh start
Next step: <one line>
A fresh clone with no handoff and no plan document still gets Branch, Last
activity, and Uncommitted, and reads Resume from: fresh start.
; or && chaining.$(...). Paste a path into a command
only when it holds nothing but letters, digits, ., _, -, and /, and
single-quote it. Leave any other path out and name it as skipped.CHANGELOG.md (opens in a new tab)README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)evals/cases/brief-format.yaml (opens in a new tab)evals/cases/catch-me-up.yaml (opens in a new tab)evals/cases/read-only.yaml (opens in a new tab)evals/cases/skip-named-file.yaml (opens in a new tab)evals/cases/where-was-i.yaml (opens in a new tab)evals/eval.yaml (opens in a new tab)references/briefing-format.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/bump-releaseBump the project's version in every manifest at once, then commit, tag, push, and cut a release, so no manifest keeps a stale version./exploreDeep read-only reconnaissance before a change is designed. Fans out parallel investigators when a question spans several subsystems, compares options, needs cross-file tracing, or changes what a shared value means, then synthesizes one picture and, in an autonomous run, writes a durable brief. Use when asked how something works end to end, what breaks if a shared value changes, which of several approaches fits, or to explore, map, trace, or investigate before building. Skips single-file questions, never writes code, and is not for interviewing the user./fix-testsDiscover and persist how a project's tests run, then run the suite and repair failures by root cause, clustering failures by error signature, fixing the shared cause once, and asserting no test was weakened. Use when tests are failing, the suite is red, CI pasted a failure log, or someone asks to make the tests pass. Not a general debugger, and not for a failure that is not a test run./gitlab-issueTurn a one-line request into a GitLab issue that carries the project's own OpenSpec and docs context, written in plain language with technical notes collapsed at the end. Use when someone explicitly asks to "create a gitlab issue", "file a ticket", "raise a bug on GitLab", "open an issue for this", "log a bug", or "draft an issue". Does not run on a passing mention such as "we should track this", on questions about existing issues such as "what issues are open?", on commenting on, closing, or editing an existing issue, or for GitHub, Jira, or Linear issues./product-spineHelp an engineer act as product owner: suggest parallel work threads (features, improvements, fixes) from the repo, then draft, review, and capability-check the one-pager, epics, and briefs that land them. Writes artefacts, never code. Answers "can the platform do X?" from the project's own primer./readme-pitchRewrite this repository's README into a first-screen pitch. Hero above the fold, pitch done before the first heading, technical detail moved into docs with links, every test pin and anchor kept.npx claudepluginhub renzrollon/shippable-skills --plugin shippable-skills