agentleFS
fmindfmind/dot/skills/handoff/SKILL.md

handoff

Skill10 starsChanged 56 days agoMITView on GitHub

Save and copy a continuation prompt before /clear or switching harnesses.

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

Files
SKILL.md

Handoff

Treat /handoff as "I am about to clear this session or move to another harness; let the next one continue without me re-explaining." It writes a continuation in the task-prompts format, saves it, and copies it with clipboard. Arguments can name a focus, a receiving harness, or pointer to copy only the file reference. Native resume (claude --resume, codex resume, or codex fork to branch) is better when the same harness continues with the full history.

Workflow

  1. Freeze the state: git status --short --branch, git rev-parse --short HEAD, staged versus unstaged work, worktrees, and anything still running: background shells, servers, monitors, subagents, scheduled wakeups. Stop nothing; record what is running, its handle or PID, and how to check on it.
  2. Write the continuation from the prompt template. When space is short, keep in this order: objective and authority, the user's latest corrections and rejected approaches (quoted when the wording matters), current state with proof and the next step as an imperative, failed approaches, then the paths, logs, and running-work handles the next session needs, citing paths and lines instead of pasting code. Omit tool narration, passing logs, and anything the repository or AGENTS.md already states. Write it for a reader without this conversation; never include secrets or private passages. End with this fixed block, because the receiving session will not have this skill loaded:

    ## Resume
    
    Read this whole file. Compare `git status --short --branch` and `git rev-parse --short HEAD` with the recorded state and report any drift before acting. Reuse recorded proof only while its inputs are unchanged, start at the next step, and keep the recorded authority boundaries. Delete this file once the work lands; it is task-owned scratch.
  3. Save: in a repository, .agents/prompts/<YYYY-MM-DD>-handoff-<slug>.md under git rev-parse --show-toplevel (gitignored globally); outside one, ~/.agents/prompts/. Never overwrite an existing handoff; add a suffix.
  4. Copy: send the file itself, which avoids quoting the content into a shell command. With pointer, or when the prompt exceeds about 8,000 characters, copy one line instead: Continue from <absolute path>: read it fully, verify the recorded state, then do the next step.

    python -I ~/.agents/skills/clipboard/scripts/copy.py < "$handoff"
  5. Confirm: the saved path, what was copied (full prompt or pointer), and anything still running that the user should know about before clearing.

Gotchas

  • Authority does not grow: a handoff records approvals already given; it never turns a proposal into an authorized action.
  • Record staged selections exactly: the next session must not restage or commit unrelated work.
  • Flag running work for restart: a background job started by this session may die with it; say whether it must be restarted.

Documentation

  • Claude Code sessions · Codex resume
  • Companion skills: task-prompts (prompt grammar and delegation), clipboard (verified copy), git-worktree (isolated continuation).

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.