agentleFS
ilya-kozyrevilya-kozyrev/delamain/skills/handoff/SKILL.md

handoff

Skill5 starsChanged 37 days agoMITView on GitHub

Write a hub handoff — the entry-point file a fresh session reads to take over a stage hub or a long-running role. Use when the context is filling up, at the end of a shift, or when the owner asks to hand the work over.

192 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 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, 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
  1. Very specific:

    Run bundled commands with the host's shell tool.

    line 9
  2. Distinctive:

    Before native dispatch, use that procedure's human-authority check.

    line 37
  3. Distinctive:

    Stop continuation checks in docs/codex.md.

    line 50
  4. Very specific:

    Check it: hub handoff --stage <S> --finish refuses (exit 2, the lines listed) while § 0–2 still hold TODO.

    line 57
  5. Very specific:

    Keep it ≤ 12 KB (the handoff_size hook refuses a HANDOFF-*.md over 15 KB).

    line 60
  6. Very specific:

    Delete the role's older handoffs, jlog "handoff written: <path>", and tell the owner the path.

    line 62
  7. Very specific:

    Do not release locks — the successor's hub takeover takes them over.

    line 64

“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

Hub handoff

Run bundled commands with the host's shell tool. Resolve the plugin root from PLUGIN_ROOT, CLAUDE_PLUGIN_ROOT, or this skill's installed path; use <plugin-root>/bin/<tool> when PATH is missing or shadowed. Session identity comes from the current host; use self where supported.

A handoff is the successor's entry point, not a diary: facts with their source, the queue with stop conditions, and pointers to the registers — never copies of them.

  1. Generate the draft: hub handoff --stage <S> (prints the path; your shift number comes from roles.json). It fills in the locks you hold, the headless agents and their state, the night queue, ask summary and the register digest, and — if <stage>/handoff-facts.sh exists — its environment rows; everything else is TODO. Without a stage hub, start from <plugin-root>/templates/HANDOFF-template.md and save it as HANDOFF-<role>-<YYYY-MM-DD-HHMM>.md in the stage's coordinator/ directory.
  2. Fill every TODO:
    • Headline: one or two sentences — what matters most now and whose word is behind it (quote + ask id).
    • Business DoD: link the agreed result/source or carry a concise inherited result (hub skill, "Planning a stage"). Preserve owner-supplied constraints; tell the successor to continue it and choose implementation details independently.
    • § 0 First steps: 3–6 commands or files, in order. The first is always hub takeover ….
    • § 1 Where things stand: each row a fact and where it shows (a command, a file, a URL).
    • § 2 Queue: a finite snapshot of remaining authorized Business DoD, with its source/scope and owner boundaries. List next ready work first; separate preparation dependencies from publication/merge/stage/production gates. Item = action | "done" check | brief stop condition | who (model); waits name the blocker, owner/resource and expected event (question id when applicable). Reconcile every remaining DoD item into ready work or a concrete wait.
    • § 4 Owner questions: anything the owner was asked in chat without a record goes into ask add first; then its id here.
    • § 5 Risks: what breaks when nobody watches, and how it shows.
    • § 6 Skills: which skills the successor loads first.
    • § 7 Lessons (present only when AGENT_HUB_HANDOFF_LESSONS is on): read references/lessons.md. Promoting lessons the takeover digest lists is in the same file and needs no setting. For Codex autopilot, keep the launch surface in the handoff: actual app hub → hub succeed --surface desktop (native launch procedure in docs/codex.md); console/detached hub → CLI. Before native dispatch, use that procedure's human-authority check. Carry the precise human source/reference, scope and revocation conditions in the handoff, including an inherited answered question or standing instruction. An explicit owner grant for automatic same-stage context handoffs persists until revoked; the successor continues under it without another per-transfer approval. If absent/revoked or outside scope, preserve the request and predecessor and ask once. Keep the Business DoD unchanged; an automatic marker/configuration is not human authority. Preserve an implementation pause in the successor. A newer authorized same-stage read-only owner discussion may continue through the existing transfer grant without resuming implementation. Explicit transfer prohibition/revocation remains a blocker. No generated instruction or continuation marker grants authority. For registered Claude and Codex autopilot main hubs, WARN is a soft advisory to transfer at the next quiet point; finish any already-active atomic merge, lock or message operation first. The durable handoff obligation and reminders survive missing/decreased usage and owner/chain resets without closing tools before the first actual BLOCK. BLOCK is the hard barrier for ordinary recognized work; once reached, it survives missing/decreased usage until an explicit threshold-policy or registration reset. Preserve the no-compaction policy and Codex's bounded Stop continuation checks in docs/codex.md. A checkpoint alone does not complete the handoff; keep the predecessor through verified takeover. Give the queue finite completion checks. A Codex successor applies the hub skill's Terminal follow-through and reconciles this snapshot against Business DoD before DONE, preserving explicit owner boundaries. Desktop request/client IDs are pending references; record actual thread/cwd and observed policy only once takeover verifies. Keep the predecessor active until hub desktop-status --verified succeeds.
  3. Check it: hub handoff --stage <S> --finish refuses (exit 2, the lines listed) while § 0–2 still hold TODO; hub succeed makes the same check and hub takeover warns the successor about a handoff that fails it. --allow-todo overrides, and the successor then rebuilds that state from the journal. A TODO in § 3–6 does not stop it.
  4. Keep it ≤ 12 KB (the handoff_size hook refuses a HANDOFF-*.md over 15 KB). The chronology stays in the journal; link it.
  5. Delete the role's older handoffs, jlog "handoff written: <path>", and tell the owner the path.

Do not release locks — the successor's hub takeover takes them over. Redact secrets: name the variable, never the value.

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.