agentleFS
oneafrikanoneafrikan/the-grid/skills/handoff/SKILL.md

handoff

Skill4 starsChanged 8 days agoMITView on GitHub

Compact the current conversation into a handoff document for another agent to pick up.

  • Commits and pushes

191 other projects use a version of this, 86 of them edited.

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 42 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 93 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 87 projects that use this

  • RoentekSkill

    loop-me

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

    Also in 51 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 54 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a handoff document summarising the current conversation so a fresh agent can continue the work.

    line 9
  2. Distinctive:

    Do not duplicate content already captured in commits, diffs, PRDs, plans, or ADRs — reference them by path or URL instead

    line 22
  3. Distinctive:

    If the user passed arguments, treat them as a description of what the next session will focus on and tailor accordingly

    line 23
  4. Distinctive:

    Project: if the working directory is inside a git repo, the repo root (git rev-parse --show-toplevel).

    line 43
  5. Very specific:

    Missing: create LOGS and write there.

    line 48
  6. Very specific:

    In a git repo: commit the two files by explicit path only (git add -- <f1> <f2>, then git commit -m "docs: handoff <slug>" -- <f1> <f2>), …

    line 61
  7. Distinctive:

    No git repo: leave the files in the folder and say so.

    line 66

“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

Session handoff file

Write a handoff document summarising the current conversation so a fresh agent can continue the work.

Template: load handoff-template.md from this skill's base directory and fill it in. Do not invent a different structure.

Filename: YYYY-MM-DD-<machine>-<slug>-handoff.md where:

  • YYYY-MM-DD is today's date
  • <machine> is the output of hostname -s (e.g. my-laptop, build-box)
  • <slug> is a 2-4 word kebab-case summary of the session topic (e.g. machine-overlays, agent-factory-roster)
  • -handoff is appended to make the file self documenting

Save location: the project's LOGS folder, always (see Document locations below). No other location.

Rules:

  • Do not duplicate content already captured in commits, diffs, PRDs, plans, or ADRs — reference them by path or URL instead
  • If the user passed arguments, treat them as a description of what the next session will focus on and tailor accordingly
  • Suggest relevant skills for the next session in the Suggested Skills section

Session context file

Also write a context file using today's actual date. Template: load context-template.md from this skill's base directory and fill it in. Filename: YYYY-MM-DD-<machine>-<slug>-context.md — same date, machine, and slug as the handoff file, with -context appended. Must include: what was investigated and why, every decision and reasoning, field conventions, known bugs, key findings, open questions, immediate next actions.


Document locations reference

Both files go to the LOGS folder of the project the session ran in. Nothing else decides this: no per-project table, no other directory, and not whether the repo is public or who owns it. Do not ask where.

  • Project: if the working directory is inside a git repo, the repo root (git rev-parse --show-toplevel); otherwise the working directory itself.
  • Folder: <project>/LOGS. If a directory named logs in any casing (logs, Logs, LOGS) already exists there, write there as-is; never create a second one in another casing, and do not compare with git's tracked casing or core.ignorecase.
  • Missing: create LOGS and write there.
  • Automated runs (the SessionEnd worker) name the folder in the prompt as Target directory: use exactly that path; it is already resolved and created.

After writing

Resolve the folder to its real path first (realpath <dir>): it may be a symlink into a different git repo (e.g. the-grid's LOGS/ links to a separate private repo). The repo that matters is the one containing the resolved path, not necessarily the project repo.

  • In a git repo: commit the two files by explicit path only (git add -- <f1> <f2>, then git commit -m "docs: handoff <slug>" -- <f1> <f2>), never the session's other changes. Then git push the current branch. A plain push also publishes any other unpushed commit on that branch. No remote or upstream, or a failed push: say so, leave the commit local, and carry on; never fail over it.
  • No git repo: leave the files in the folder and say so. Do not create a repo.

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.