agentleFS
mmgordon82mmgordon82/agent-skills/skills/handoff/SKILL.md

handoff

Skill3 starsChanged 8 days agoMITView on GitHub

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

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules and 10 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.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 52 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 63 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 110 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 107 projects that use this

  • LesaniSkill

    writing-fragments

    Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.

    Also in 67 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write one Markdown file that lets a new agent, in a new conversation, continue exactly where this one stops.

    line 10
  2. Distinctive:

    If the user passed arguments, they describe what the next session will do.

    line 12
  3. Distinctive:

    Never inside the repo, unless the user names a path there.

    line 20
  4. Distinctive:

    Don't write from memory. Check:

    line 28
  5. Distinctive:

    Write for a reader with zero context.

    line 75
  6. Distinctive:

    Keep it short. A section with nothing to say gets "none".

    line 77

“Common” is measured: kept by at least 6 in 10 of the 172 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

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

# 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".

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.