Skip to content
Agentmart
Submit a tool

handoff

End-of-session: commit and push all changes across projects touched in this session.

Skill by hsigstad

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hsigstad-handoff

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

End-of-session: commit and push all changes across projects touched in this session. Write a handoff note only when there's a cognitive thread the rest of the system doesn't capture (mid-stream WIP, noticed-but-not-acted-on, partial verification). Use when the user is done working and wants to wrap up.

Use cases: backend, writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/handoff

What's inside

Skill name
handoff
Description
End-of-session: commit and push all changes across projects touched in this session. Write a handoff note only when there's a cognitive thread the rest of the system doesn't capture (mid-stream WIP, noticed-but-not-acted-on, partial verification). Use when the user is done working and wants to wrap up.
License
MIT
Instructions
150 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Session Handoff

Wrap up an end-of-session: commit and push the session's changes, plus
optionally write a focused handoff note for the next session.

## Default flow

Always do these:

1. **Identify which projects/pipelines were modified** during the session
   (`git status` in each one that was touched).

2. **For each repo with uncommitted changes**, separately:
   - Review `git status` and `git diff` to inventory the changes.
   - **If the repo has convention-guard scripts (`source/diagnostic/*.py`
     that exit non-zero on a violation), run them and confirm green
     before committing.** These are the project's own drift/lint guards
     (e.g. a canonical-spec or superseded-citation check); a red guard
     means this session introduced a NEW violation to fix first. Run at
     the checkpoint, not as a blocking commit hook — in a shared repo a
     repo-wide guard can go red for another session's change, so read the
     `[FAIL]` line and only act on your own.
   - Stage relevant files — prefer naming specific files over `git add .`
     to avoid sweeping in unrelated WIP.
   - Draft a commit message and confirm with the user.
   - Commit, then push (unless the user asks to hold off).

3. **Move completed `todo.md` items to `done.md`** if the session
   actually completed any. Add new tasks that emerged to `todo.md`.

After step 3, **decide whether a handoff note is needed**.

## When to write a handoff note

A note is worth writing **only** when the rest of the system doesn't
capture what the next session should know. The rest of the system
already gives you commits, `done.md`, `todo.md`, the per-iteration
`/next` reports, `artifacts.yaml`, and `decisions.md` — most "where
did I leave off" questions are answered by those.

A note earns its keep when:

- **Mid-stream work:** a script is half-written, or run but not yet
  propagated to docs. Commit + push captures the bytes; the note
  captures *what's incomplete and why*.
- **Noticed but not acted on:** "Bacenjud hit-rate has a weird drop in
  2022Q4 — not investigated." No commit, no todo, but worth
  surfacing.
- **Partial verification:** "parser fix verified on TJSP-PGE only;
  PGM cohort hasn't been spot-checked." Easy to forget in commits.
- **Cognitive context for the next session** that doesn't fit a
  one-line todo (e.g., "the cross-state merge in H17 is tricky;
  come back to it fresh — the inscrição-year alignment isn't
  trivial").

**Skip the note** when the session finished a clean iteration with
nothing surprising — `/next`'s end-of-iteration report, the commit
message, and an updated `todo.md`/`done.md` cover it.

Ask the user explicitly: *"Anything mid-stream or noticed-but-not-
acted-on that the next session should know? (skip if no)"* — and
write a note only if the answer is yes.

## How to write the note (when warranted)

Write to a **per-session file** under `docs/notes/handoffs/`:

```
docs/notes/handoffs/<ISO-timestamp>_<short-tag>.md
```

- `<ISO-timestamp>`: `YYYY-MM-DDTHH-MM` (filename-safe; colons replaced
  with hyphens). `date +%Y-%m-%dT%H-%M` gives the right value.
- `<short-tag>`: a brief slug derived from the session's primary
  `/next` target if one was set (e.g. `h17-cross-jurisdictional`),
  otherwise from what the user describes (`parser-fix-followup`,
  `paper-companion-s4`).

Content schema (see `research/rules/workspace.md` §Session handoff):

```markdown
# Session handoff — 2026-05-11T15-32 — h17-cross-jurisdictional

- **What's mid-stream / unfinished:** [if anything]
- **Noticed but not acted on:** [if anything]
- **Next session should:** [specific next step that doesn't fit todo.md]
```

Use only the sections that apply — empty sections add noise. Commit
the new file with the rest of the session's work (or as a tail
commit).

## Why per-session files (not append-to-todo.md)

Multiple parallel `/handoff` sessions on the same repo would race on
`todo.md`:
- **Git conflicts** if both commit simultaneously.
- **Overlapping content** with both sessions writing under the same
  date header.

Per-file handoffs sidestep both: distinct filenames, distinct files,
no merge conflict surface, clear ownership.

## Pickup workflow (separate session)

When starting a new session:

1. `ls docs/notes/handoffs/` — enumerate pending handoffs.
2. Read each file (or have Claude summarize).
3. Act on whatever's relevant: open the mid-stream work, investigate
   the noticed-but-not-acted-on flag, run the verification step.
4. After acting, `git rm docs/notes/handoffs/<file>` to clear the
   handoff. Commit the deletion separately or roll into a `/next`
   step 6 close-out commit.

Handoffs that go a week without being consumed are a smell — either
the cognitive thread no longer matters, or it's important enough to
turn into a `todo.md` entry. Either way, don't let them accumulate
indefinitely.

From hsigstad/research-kit, MIT.

More from hsigstad/research-kit

Signals

Stars
0
Forks
1
Open issues
1
Last commit (this folder)
Aug 1, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hsigstad

Cite this page

handoff skill. Agent Mart. https://agentmart.dev/skills/hsigstad-handoff (last updated 2026-10-24)