handover
Use when wrapping up or capturing the current state of a coding session — writes a short, dated entry to the repo's RepoHandover.md so a future agent or you can resume without grepping archived sessions. Triggers on "handover", "hand off", "write handover", "capture state", "checkpoint this session".
git clone --depth 1 https://github.com/jazzyalex/agent-sessions /tmp/handover && cp -r /tmp/handover/tools/handover ~/.claude/skills/handoverSKILL.md
# Handover
Append a **short**, dated entry to `RepoHandover.md` at the repo root (newest-first)
capturing where things stand, so you or a future agent can resume. Keep it lean — a handful
of lines, **no git audit**. The user already opted in by running `/handover`, so **draft and
write it directly — do NOT ask for approval or show a draft to confirm.** Just write, report
one line, and stop. **Never commit.**
## Procedure
1. **Draft from the conversation — do NOT run a git audit.** You already know what happened
this session. At most, run a single `git branch --show-current` if you want the branch in
the header. Do not run `git status`/`log`/`diff` sweeps — that's the verbosity we removed.
2. **Compose a short entry** in this format. Omit any line/section that would be empty.
Aim for ~8–15 lines total:
## <YYYY-MM-DD HH:MM> · <slug> · <title>
status: in-progress # in-progress | blocked | done
**State:** <one sentence — where things stand right now>
**Decided / don't redo:** <only if there is something>
- <a decision made, or a dead-end already tried>
**Key files:** <only if it helps resume>
- `path` — <why it matters>
**Next:**
1. <the next concrete step>
2. <...>
- `slug` = the branch or plan/spec name (keep it stable — supersede-matching uses it).
- Timestamp: `date +'%Y-%m-%d %H:%M'`.
3. **Write it immediately — no approval prompt.**
- New file → create `RepoHandover.md` with this entry as its only content.
- Existing file → **prepend** the entry above the current top entry (blank line between).
Don't touch older entries except the silent supersede below.
- Ensure the repo's `CLAUDE.md` contains this pointer (add it once, creating a short
`CLAUDE.md` if absent):
> Before starting work, read the newest entry in `RepoHandover.md`.
- **Silent supersede:** if an older entry has the same `slug` and its status isn't already
`done` or `superseded-by:`, change that older entry's status line to
`status: superseded-by:<new-entry-date>` (one-line edit; leave its prose alone). No prompt.
- **Never run `git commit`.**
4. **Report one line and stop.** e.g. `Wrote handover to RepoHandover.md (superseded the
previous runway-auth entry). Not committed.` Do not ask follow-up questions — the user is
about to close/archive the session.
## Notes
- **Lean by default.** State + key decisions + next steps. No git verification dump, no
"Verified/Believed" ceremony, no risk matrix.
- If the drafted entry is wrong, the user edits the file directly — it's short and uncommitted,
so a bad entry is cheap. That's why no approval gate is needed.
- Sanity-check (optional, cheap): `handover-lint.sh RepoHandover.md` — installed next to this
skill — exits 0 when the newest entry's heading + `status:` line are well-formed.
- Rotation: if `RepoHandover.md` passes ~1000 lines, offer (never silently) to move all but
the newest ~10 entries to `RepoHandover-archive.md`.Use when shipping a release of Agent Sessions — bumping version, updating CHANGELOG, building, signing, notarizing, publishing appcast, and creating a GitHub release.
Create and ship AgentSessions support for a new or changed local AI agent/provider. Use when adding, reviewing, testing, documenting, or marketing a provider integration, session parser, transcript source, support-matrix entry, verified-version bump, or provider UI surface; drives the full loop from pre-support research through binary install, real session capture, fixture redaction, parser/discovery/search/UI integration, QA, review/fix loops, support records, PR/release notes, and conservative marketing claims.
Verify agent session format compatibility for Agent Sessions. Use when any agent CLI updates, when monitoring flags drift, or when bumping max verified versions (fixtures + docs + tests). Covers session schema, usage/limits tracking, storage backends, and discovery path contracts for all supported agents.
Maintain Agent Sessions agent support matrix and JSON/JSONL parsing compatibility. Use when checking upstream agent releases for session format changes, updating max verified versions in docs/agent-support/agent-support-matrix.yml, or updating docs/agent-json-tracking.md and fixtures/tests.
Capture deterministic macOS screenshots for testing, docs, release notes, and marketing assets. Use when asked to automate app screenshots, batch-generate screenshot sets, standardize window sizing/composition, or choose between Peekaboo and native macOS screenshot tooling.
Use when writing or curating the user-facing release copy for an Agent Sessions release — README "What's New", GitHub release notes, Sparkle release notes, or website/launch copy. Not for the internal CHANGELOG, which stays a full development history.