agentleFS
Eurie92Eurie92/Agent-kit/skills/handoff/SKILL.md

handoff

Skill1 starsChanged 7 days agoMITView on GitHub

Save or restore project state between threads. Use when the user says "save", "boot", "handoff", "wrap up", or starts a new thread in an existing project.

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

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    If decisions were made this session, append them to docs/DECISIONS.md with who made them.

    line 12
  2. Very specific:

    If docs/PLAN.md exists, tick finished tasks.

    line 13
  3. Very specific:

    Commit the docs if the rest of the work is verified (GLOBAL §8): stage only the doc files you changed, by name (never git add -A or .).

    line 14
  4. Very specific:

    Read, in order: AGENTS.md, docs/STATE.md, headings of docs/DECISIONS.md, open tasks in docs/PLAN.md.

    line 19
  5. Distinctive:

    Run git status and git log --oneline -5 to check STATE matches reality.

    line 20
  6. Distinctive:

    Do not read old threads unless the user gives a link and the files miss something.

    line 22
  7. Very specific:

    If docs/STATE.md is missing: say so, build it from git log, the code and the docs, then show it to the user.

    line 24

“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 (save / boot)

Threads carry no memory between each other. Files do. docs/STATE.md is the bridge.

save

  1. Rewrite docs/STATE.md from scratch using the template below. Max 60 lines. Facts only.
  2. If decisions were made this session, append them to docs/DECISIONS.md with who made them. Then fix entries the work has made stale (an Open point now decided, a "later" item now done). STATE and DECISIONS must not contradict each other.
  3. If docs/PLAN.md exists, tick finished tasks.
  4. Commit the docs if the rest of the work is verified (GLOBAL §8): stage only the doc files you changed, by name (never git add -A or .). Otherwise leave them uncommitted and say so.
  5. Reply: one line "Saved." plus the "Next" items.

boot

  1. If "Global rules (Agent-kit)" is not in your context, read ~/Desktop/Agent-kit/rules/GLOBAL.md, ~/Desktop/Agent-kit/local/MODELS.md and ~/Desktop/Agent-kit/local/PREFS.md first and follow them. (Antigravity inside T3 Code loads no rule files on its own.) If the local/ files are missing, say the kit is not set up and offer the setup skill.
  2. Read, in order: AGENTS.md, docs/STATE.md, headings of docs/DECISIONS.md, open tasks in docs/PLAN.md. Nothing else yet.
  3. Run git status and git log --oneline -5 to check STATE matches reality. Flag any mismatch, including DECISIONS entries that contradict STATE. A docs-only save commit on top of the "Last commit" in STATE is expected, not a mismatch.
  4. Reply in 5 lines max: where we are, what is next, any blocker, then ask what to do.
  5. Do not read old threads unless the user gives a link and the files miss something.

If docs/STATE.md is missing: say so, build it from git log, the code and the docs, then show it to the user.

STATE.md template

# State
Updated: <YYYY-MM-DD> · Branch: <branch> · Last commit: <short sha> <subject>

## Now
<1-3 lines: what the project is doing right now>

## Done this session
- ...

## Next
1. ...

## Blockers
- none

## Open decisions
- ...

## Related threads
- <link or title>: <why it matters>

"Last commit" is the last work commit before the save. The save commit that adds this file comes after it and is not listed.

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.