agentleFS
Kumadori0195Kumadori0195/codex-session-skills/skills/session-handoff/SKILL.md

session-handoff

Skill0 starsChanged 4 months agoMITView on GitHub

Create a concise, source-grounded checkpoint for continuing work after a long session, context compaction, or task handoff, and update reproduction guidance only when continuation details materially changed. Use when the user asks for a handover, checkpoint, status snapshot, continuation note, or reproducible continuation guide; invoke explicitly rather than automatically.

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use domain-modeling, subagent-driven-development 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.
  • AWSSkill

    domain-modeling

    Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

    Also in 4 projects that use this

  • OpenAISkill

    subagent-driven-development

    Use when executing implementation plans with independent tasks in the current session

    Also in 3 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

  • OpenAISkill

    executing-plans

    Use when you have a written implementation plan to execute in a separate session with review checkpoints

    Also in 3 projects that use this

  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 3 projects that use this

  • AWSSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 4 projects that use this

  • +3 more from openai

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 7

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    If candidates tie, stop and report the ambiguity.

    line 26
  2. Distinctive:

    Do not reconstruct missing history from repository state.

    line 42
  3. Distinctive:

    Read applicable guidance and existing selected artifacts, treating old content as a hypothesis.

    line 47
  4. Distinctive:

    Check GitHub, branches, worktrees, deployments, or other external state only when the session changed that state or the result is material …

    line 50
  5. Distinctive:

    Create or update the handoff with:

    line 54
  6. Distinctive:

    Create or update the reproduction record only when environment, start/stop instructions, reproduction steps, expected outputs, validation …

    line 62
  7. Very specific:

    Default to a report in the response.

    line 76
  8. Distinctive:

    Do not commit, push, merge, delete branches, change settings, or modify unrelated files without separate authorization.

    line 78
  9. Distinctive:

    Never include tokens, credentials, cookies, transcripts, or sensitive logs.

    line 80

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

Overview

Capture verified project state, decisions, risks, and one executable next action so another session can continue without reconstructing the conversation. Prefer current repository and GitHub state over stale notes or remembered intent.

Artifact discovery

Establish the active project root from the workspace and nearest applicable guidance. Do not let a nested Git repository silently replace a parent project root when the work spans both.

Resolve the handoff through this precedence:

  1. a path explicitly named in the current user request;
  2. a path explicitly named by the nearest applicable project guidance;
  3. repository convention, preferring HANDOVER.md over docs/HANDOVER.md;
  4. HANDOVER.md at the active project root.

If candidates tie, stop and report the ambiguity. If the active root is unavailable, report the artifact path as UNAVAILABLE and ask for an explicit path. Preserve unrelated or ambiguous edits instead of overwriting them.

Resolve an explicitly named reproduction path through the same precedence; otherwise use REPRO.md beside the selected handoff as its candidate path. Path resolution alone does not require creating or updating the reproduction record.

Evidence status

  • VERIFIED — directly observed through the current context or a successful check;
  • FAILED — attempted and failed;
  • NOT RUN — known but intentionally not executed;
  • UNAVAILABLE — required evidence cannot currently be accessed;
  • UNVERIFIED — a claim or artifact exists but cannot be confirmed.

Do not reconstruct missing history from repository state. Separate facts, assumptions, open decisions, risks, and next actions.

Workflow

  1. Read applicable guidance and existing selected artifacts, treating old content as a hypothesis.
  2. In one evidence pass, inspect branch, working-tree status, current commit, relevant changes, and applicable validation already visible in the session.
  3. Check GitHub, branches, worktrees, deployments, or other external state only when the session changed that state or the result is material to continuation.
  4. Reuse a visible successful validation result when its command, outcome, and unchanged relevant state are established. Do not rerun product tests solely because handoff documentation changed.
  5. Create or update the handoff with:
    • Current state
    • Goal and scope
    • Changed and verified
    • Decisions and assumptions
    • Risks and blockers
    • Next first action

Create or update the reproduction record only when environment, start/stop instructions, reproduction steps, expected outputs, validation commands, or known failures materially changed, or when the user explicitly requests it. Otherwise leave an existing record unchanged and do not create an empty one. When triggered, use:

  • Environment and prerequisites
  • Start and stop
  • Reproduction steps
  • Expected outputs
  • Validation commands and results
  • Known failures and limitations

Persistence and safety

  • Default to a report in the response. Persist artifacts only when the user explicitly asks or when session-close invokes this capability under its persistence contract.
  • Do not commit, push, merge, delete branches, change settings, or modify unrelated files without separate authorization.
  • Never include tokens, credentials, cookies, transcripts, or sensitive logs.
  • Review only changed artifact diffs and run proportionate validation before reporting success.
  • Report whether the reproduction record was changed or intentionally omitted.

A useful handoff is short, factual, and immediately actionable. Preserve uncertainty rather than filling gaps with plausible details.

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.