Index of every page on this site: llms.txt
All skills
Run it yourself

Save or resume a session handoff in HANDOFF.md at the repository root, so the next session with any AI agent continues from exactly where this one stopped. Use when the user types /handoff, says "handoff", "update the handoff", "wrap up", "save where we are", or asks to continue from the last session.

Use this Skill: https://skilld.dev/gh/yourakshaw/handoff/handoff

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈78 tokens for metadata: the name and description. ≈787 when used: this file. ≈9k more on demand in 19 files.

Description uses 3.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈312 characters, or 3.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Handoff

Carry work from one session to the next through a single file, HANDOFF.md, at the repository root. Whichever agent opens the repository next — Claude Code, Codex, Gemini CLI, Antigravity, Grok, or another — reads that file first and continues from it. It holds only what a fresh session needs, and points to files instead of copying them.

Start here

  1. Decide which job the user asked for:
    • Resume — a new session, the user says "continue", or the repository has a HANDOFF.md you have not read yet.
    • Save — the user asks for a handoff, to wrap up, or to save where things stand.
    • Bootstrap — the repository has no HANDOFF.md or no handoff rule in its agent instructions.
  2. Read the matching workflow below, then follow the handoff format for the file's shape.
  3. Apply what to capture when deciding what goes in and what stays out. Never record secrets, tokens, one-time codes or personal data.

Choose the workflow

Requested outcome Read Expected result
Continue from the last session Resume a handoff Work picks up at the first open step, with the recorded constraints respected
Save the session for next time Save a handoff HANDOFF.md rewritten in place, short, current, and committed when allowed
Set a repository up for handoffs Bootstrap a repository HANDOFF.md plus a short rule in the repository's agent instructions

Resources

Rules that always apply

  • HANDOFF.md is rewritten, never appended to. Old, finished items are removed, not archived.
  • Keep it under about 80 lines. A long handoff defeats its purpose.
  • Respect the repository's own instructions and the user's standing constraints (protected branches, commit conventions, what not to touch). Record those constraints in the handoff so the next session keeps them.
  • Commit the file only when commits are allowed in the session, on its own, following the repository's commit rules.

Validate the package

Run python3 scripts/validate-skill.py from this directory (Python 3.9+, standard library only), or the shell or PowerShell wrapper. The validator checks the manifest, required files, local links and anchors, and that every resource is reachable from this file. After changing the validator, run its regression suite.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning14d3 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    The handoff skill is a safe and well-documented utility designed to help AI agents maintain context between sessions using a local HANDOFF.md file. It includes a robust, standard-library-only validation tool to ensure the skill's integrity. While technically exposed to indirect prompt injection because the agent adopts instructions from the repository content, the skill explicitly warns against recording sensitive data and follows development best practices.

  • Socket14d

    No alerts

  • Snyk14d

    Risk: MEDIUM · 1 issue

Signed by skilld at 9bc9e0c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated last month

README badge

README badge for yourakshaw/handoff