agentleFS
RinisnotarobotRinisnotarobot/rinco-pi-skills-commands/skills/workflows/session-handoff/SKILL.md

session-handoff

Skill2 starsChanged 2 months agoMITView on GitHub

Explicit-only session compaction - serialize the current session into a handoff document a fresh session can continue from, written into the repository's wired handoff location, in the session-continuation format owned by living-docs-governance. Invoke when you want to hand off, compact, or package the session for continuation; not for phase-to-phase handoffs inside a lane.

139 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ascii-diagram, research-fleet 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.
  • SethGammonSkill

    ascii-diagram

    Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.

    Also in 4 projects that use this

  • SethGammonSkill

    research-fleet

    Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.

    Also in 3 projects that use this

  • vicoa-aiSkill

    live-preview

    Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.

    Also in 4 projects that use this

  • botlearn-aiSkill

    doc-gen

    Also in 4 projects that use this

  • flyingobsidianSkill

    terminology

    Read a codebase, find terminology, create/update definitions into a markdown document.

    Also in 3 projects that use this

  • Dizzy-TenSkill

    bug-diagnosis

    Diagnose bugs and product issues without modifying code. Use when the user explicitly invokes $bug-diagnosis or asks for diagnosis, root-cause analysis, issue classification, or fix strategy for code bugs, failing tests, configuration/dependency problems, deployment issues, performance regressions, data anomalies, or frontend/user-experience problems described through screenshots, annotations, logs, errors, or natural-language reports. Prioritize analysis and recommendations only; do not edit files.

    Also in 3 projects that use this

  • +1 more from SethGammon

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 117 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user passed an argument describing the next session's focus, use it to sharpen the next-invocation and startup entries.

    line 33
  2. Very specific:

    Never restate the handoff format - the field list lives only in living-docs-governance.

    line 55
  3. Very specific:

    Write only the live handoff at the wired repo path - never to /tmp, never a second copy, never a dated pile.

    line 56
  4. Very specific:

    Never fill a field by inference - none, unresolved, and no repository are valid, honest values.

    line 57
  5. Distinctive:

    Never copy artifact content - path and revision only.

    line 58
  6. Distinctive:

    Never include secrets or personally identifying information.

    line 59
  7. Distinctive:

    Never spawn or chain the next session - the user starts a fresh session in the project, where the wired startup signpost points it at the …

    line 60

“Common” is measured: kept by at least 6 in 10 of the 117 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

Serialize the current session's state into a handoff document a fresh session can continue from. This skill is a thin serializer: the format, the field list, and the navigate-don't-duplicate rule are owned by living-docs-governance — this skill never restates, extends, or overrides them.

Explicit-only: serialize only when the user asks; never produce one speculatively at a session boundary.

Workflow

1. Read the format from its owner

Resolve living-docs-governance from its location in the current session's discovered Skills. If it is reference-only and not discovered, look relative to the directory containing this SKILL.md: ../living-docs-governance/SKILL.md — this repo's layout and flat installations both keep the two skills as siblings under one family folder, so the same relative path resolves either way. scripts/install.sh installs the host automatically whenever session-handoff is requested; if the host is absent from every discovery location, the sibling path cannot resolve and the BLOCKED rule below applies. Use an existing file whose frontmatter names living-docs-governance; stop on conflicting copies rather than choosing silently. Never resolve these paths against the user's working directory or assume the source checkout is installed.

Read only its "Session continuation handoff" section as format content, not an instruction to start documentation governance. Serialize exactly the fields defined there. If the file or section is missing, report BLOCKED with the attempted paths and what would make the format readable. Never reconstruct the format from memory.

Completion criterion: the field list being filled is the one currently in that file, not a remembered or invented one.

2. Gather evidence, not fields

For each field the owner's format names, gather from these sources:

  • Repository state — branch, HEAD, and worktree status from git commands, never from conversation claims.
  • Artifacts this session produced or consumed — specs, plans, tickets, reviews, verification reports; each referenced by path and the revision it was established against. Artifacts inherited from prior sessions count when this session consumed them.
  • Session facts — the current owner and phase, open blockers and unresolved decisions verbatim, conclusions the session superseded, and the next explicit invocation.
  • The next session's startup — normal pi startup in the target project unless the user states an exception. Note any skill or tool the next phase needs and record it as unresolved when its availability cannot be verified. The continuation depends on artifact paths, revisions, evidence freshness, and the next invocation — not on remembered startup flags.

If the user passed an argument describing the next session's focus, use it to sharpen the next-invocation and startup entries; do not drop other fields.

Fill rules, in order of honesty: a value evidenced in the sources above; none when the field's honest value is an absence (no blocker, nothing superseded); unresolved when evidence is missing; no repository for the repository fields outside a git repository. Never guess and never leave a field blank.

Completion criterion: every field of the owner's format has one of these four fill values.

3. Write the live handoff into the repository

Write to the project's wired handoff location - the path the repo convention or living-docs-governance points to, default docs/handoffs/current.md (create docs/handoffs/ when the repository has no docs convention). Prefer a tracked file so a fresh session or clone can find it; if a different live-handoff path is already wired, follow that existing convention instead of creating a competing one. The file is a live slot: overwrite the previous handoff, never accumulate dated copies.

The document contains navigation, not content: artifact references are path plus revision; never copy an artifact's body into the handoff. Redact secrets, tokens, and personally identifying information before writing.

After writing, re-sample the repository state (branch, HEAD, git status --short) and refresh the repository-state fields with the post-write snapshot. The write itself is a worktree change whenever the handoff file is untracked or modified — name that self-inflicted change explicitly instead of inheriting the pre-write snapshot; mark which repository fields are pre-write and which are post-write when they differ.

Completion criterion: the file exists at the wired path inside the repository, every referenced path exists on disk at write time, and the repository-state fields describe the state after the write with the handoff file's own untracked or modified status named.

4. Report and stop

Report to the user: the handoff file's path, the target project directory, normal pi startup (or an explicit user-requested exception), the next invocation, and any unresolved fields with what evidence would resolve them. Point out the startup signpost that should let a fresh session find the file by itself (ask living-docs-governance to wire it into the harness when it is not yet wired); do not assume the next session inherits this conversation. Then stop. Starting the next session's work, fixing the unresolved fields, or touching anything but the handoff file is downstream - not this skill's.

Guardrails

  • Never restate the handoff format - the field list lives only in living-docs-governance.
  • Write only the live handoff at the wired repo path - never to /tmp, never a second copy, never a dated pile. The slot is superseded when the next session consumes the work or completes it.
  • Never fill a field by inference - none, unresolved, and no repository are valid, honest values.
  • Never copy artifact content - path and revision only.
  • Never include secrets or personally identifying information.
  • Never spawn or chain the next session - the user starts a fresh session in the project, where the wired startup signpost points it at the handoff file.

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.