agentleFS
xsyetopzxsyetopz/dotclaude/skills/handoff/SKILL.md

handoff

Skill0 starsChanged 58 days agoMITView on GitHub

Writes a handoff note so a fresh session can continue the task. Use when the user wants to hand off, pause, or save progress before `/clear` or `/compact`.

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what 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.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 5 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 51 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 41 projects that use this

  • loulanyueSkill

    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 15 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 20 projects that use this

  • RoentekSkill

    writing-fragments

    Writing, explore — mine raw fragments, no structure yet.

    Also in 20 projects that use this

  • +5 more from aws
  • +1 more from Roentek

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git status --short, git diff --stat HEAD, git log --oneline -10, and git rev-parse --abbrev-ref HEAD.

    line 9
  2. Distinctive:

    Write only what you verified or what the user said.

    line 11
  3. Very specific:

    Before you name an uncommitted or untracked file as the user's work, look for an Edit or Write call or a command of this session that …

    line 14
  4. Distinctive:

    When you cannot tell, mark the file as unverified.

    line 16
  5. Distinctive:

    Start the note with this front matter, so the next session can read the state without the prose:

    line 20
  6. Very specific:

    When a newer note continues the work of an earlier open note, set the earlier note to status: superseded.

    line 32
  7. Distinctive:

    Use these sections in this order.

    line 37
  8. Distinctive:

    When a later decision replaced an earlier one, give the later one and name the one that it replaced.

    line 46
  9. Very specific:

    Keep the note under about 80 lines.

    line 53
  10. Very specific:

    When the note path is not ignored by git (git check-ignore -q <path> exits 1), add the path to .git/info/exclude.

    line 58
  11. Very specific:

    Use that file and not .gitignore, because .gitignore is a tracked project file.

    line 59
  12. Distinctive:

    Write a handoff note that a fresh session reads in place of this conversation.

    line 64
  13. Very specific:

    Write it to $ARGUMENTS, or, when the user gives no path, to a new file .claude/handoffs/<YYYY-MM-DD-HHMM>-<topic>.md.

    line 66
  14. Distinctive:

    Use the UTC time and a topic of two to four lowercase words joined by hyphens, so the names sort by time and show the work.

    line 67
  15. Very specific:

    Keep the earlier notes, because they record other work.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 167 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
<procedure> 1. Collect the facts before you write. Run `git status --short`, `git diff --stat HEAD`, `git log --oneline -10`, and `git rev-parse --abbrev-ref HEAD`. Find which test or build commands ran in this session, and their last result. 1. Write only what you verified or what the user said. Mark each item that you are not sure of as unverified, because the next session reads the note as fact. 1. List as done only the files that this session or its subagents edited. Before you name an uncommitted or untracked file as the user's work, look for an `Edit` or `Write` call or a command of this session that changed it. Name it as the user's work only when you find no such call, because the next session repeats the note as fact. When you cannot tell, mark the file as unverified. </procedure><header> Start the note with this front matter, so the next session can read the state without the prose:
---
status: in-progress # or blocked, done, or superseded
branch: <current branch>
head: <short sha of HEAD>
written: <UTC time, ISO 8601>
---

Set status: done only when Open is empty. When a newer note continues the work of an earlier open note, set the earlier note to status: superseded. A new session continues only from a note with in-progress or blocked.

</header><sections> Use these sections in this order. Skip a section only when it has no content:
  1. Goal: the user's request in their own words, and each constraint that they added later, quoted exactly. End with a Done when line: the observable result that completes the task, such as a passing command.
  2. State: what is done, with file paths, and if each part is verified (name the command and its result) or not. Mark partial work as partial: a file left mid-edit, an interrupted command, a background job that still runs. Otherwise the next session takes it as complete.
  3. Decisions: each choice and its reason, with the options tried or rejected and why, so the next session does not try them again. When a later decision replaced an earlier one, give the later one and name the one that it replaced.
  4. Open: the remaining steps in order, each request from the user that is not started, and each blocked item with its blocker. Include each question that waits for the user's answer, and each thing that you told the user you would do.
  5. Details that are hard to rebuild: exact error messages, commands, IDs, versions, and file:line locations that the next session would otherwise find again.</sections>

<output_format> Keep the note under about 80 lines. Give file paths, not pasted file contents. Tell the user the path. Tell them that a new session can start with Read <path>, check it against the repository, and continue. A handoff note describes one session, so it stays out of the project history. When the note path is not ignored by git (git check-ignore -q <path> exits 1), add the path to .git/info/exclude. Use that file and not .gitignore, because .gitignore is a tracked project file. Tell the user that you added it. </output_format>

<task> Write a handoff note that a fresh session reads in place of this conversation. It carries what the conversation knows and the repository does not. Write it to `$ARGUMENTS`, or, when the user gives no path, to a new file `.claude/handoffs/<YYYY-MM-DD-HHMM>-<topic>.md`. Use the UTC time and a topic of two to four lowercase words joined by hyphens, so the names sort by time and show the work. Keep the earlier notes, because they record other work. An earlier note in `.claude/handoffs/` can cover the same work and still be `in-progress` or `blocked`. Then copy its open items into the new note and set its `status` to `superseded`. </task>

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.