Skip to content
Back to skills

Handoff

ASecurity

Write a handoff document so a fresh agent can continue this conversation or change from the same spot.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 23, 2026
ai-agentsgobashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 23, 2026

npx -y skills add mmgordon82/agent-skills --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mmgordon82-handoff/badge)](https://www.skillsdirectory.com/skills/mmgordon82-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff
description: Write a handoff document so a fresh agent can continue this conversation or change from the same spot.
argument-hint: "What will the next session focus on?"
disable-model-invocation: true
---

# Handoff

Write one Markdown file that lets a new agent, in a new conversation, continue exactly where this one stops. The next agent has none of this conversation. It knows only what the file says and what it can read on disk.

If the user passed arguments, they describe what the next session will do. Shape the document around that.

## Where to save it

`<root>/<project>/<dir>/<date>-<short-name>.md`:

- `<root>` and `<project>`: resolve them exactly as the `agent-workdir` skill says. It reads `[workdir] root` from `${XDG_CONFIG_HOME:-$HOME/.config}/agent-skills/settings.toml`, default `~/agent-work`, and covers a missing or broken settings file. Without that skill, apply the same default and use the repo's directory name as `<project>`.
- `<dir>`: `[handoff] dir` from the same settings file, default `handoffs`. A value that isn't a plain relative folder name → use `handoffs` and tell the user.
- Never inside the repo, unless the user names a path there.

`<date>` is today in `YYYY-MM-DD` form: run `date +%F`. Don't write it from memory.

`<short-name>` is 2–4 kebab-case words for the work (`auth-token-refresh`). If the file exists, add `-2`, `-3`. Never overwrite.

## Gather facts first

Don't write from memory. Check:

```bash
git status --short; git branch --show-current; git log --oneline -10
git diff --stat; git stash list; git worktree list
```

Also note anything still running or left behind: background jobs, dev servers, containers, VMs, temp branches, worktrees, open PRs. Only state a check passed if it ran in this session and you saw the result. Otherwise write "not run".

## Template

```markdown
# Handoff: <short name>

<YYYY-MM-DD> · repo `<path>` · branch `<branch>` @ `<sha>` · tree: <clean | N uncommitted files>

## Goal
<What the user wants, in their words. The constraints and preferences they stated in this
conversation: "no new dependencies", "don't touch X", "wait for my review before pushing".>

## What happened before
<How we got here: what was investigated, what was tried and failed (and why, so it is not
retried), and the decisions made, each with its reason.>

## What changed, and why
<Per file or commit: what changed and the reason. Reference commits and diffs, don't paste them.>

## Current state
- Works, verified: <what, and how it was verified>
- Broken or unverified: <what>
- Uncommitted or unpushed: <what>
- Still running or left behind: <servers, containers, worktrees, temp branches>

## Next steps
1. <first concrete action, with the command>
2. ...

## Open questions
<Decisions waiting on the user, and assumptions the next agent must not treat as settled.>

## References
<Specs, plans, logs, issues, PRs, by path or URL.>
Suggested skills: <skills the next agent should load, and when>
```

## Rules

- Write for a reader with zero context. Use full paths, exact commands, exact error text.
- Reference artifacts that already exist (specs, plans, ADRs, commits, issues) by path or URL. Don't copy them in.
- Keep it short. A section with nothing to say gets "none". Don't drop the heading.
- Redact secrets, tokens, passwords and personal data.
- Finish by telling the user the file's full path and a one-line starter for the next session: `Read <path> and continue from "Next steps".`

Files in this skill

  • SKILL.md3.4 KB
  • agents/openai.yaml157 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.