simonrw/skills · Archived

handoff-claude-session

Create a handoff document from an existing Claude Code session history without resuming the session or invoking Claude.

First seen Aug 18, 2026

Installation

$ npx skills add simonrw/skills --skill handoff-claude-session

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from simonrw/skills.

npx skills add simonrw/skills

Browse all from simonrw/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 3
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,298 B
  • docs SUMMARY.md 149 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 9 installs

SKILL.md

Handoff a Claude session

Create a handoff for another agent from Claude Code's local session log. Treat the log as the source conversation: the Claude session is unavailable for further prompts.

Process

  1. Require the Claude session ID. If the user did not provide one, ask for it and stop. Do not guess from recent sessions, because the user can retrieve the ID without spending a Claude prompt.
  2. Run python3 scripts/extract_session.py <session-id> --output <scratchpad>/claude-session-<session-id>.md, resolving scripts/ relative to this skill. Use the OS temporary directory, not the workspace, for <scratchpad>.
  3. Read the extracted history. Trace the user's objective, decisions, completed work, verification, failures, unresolved work, and the latest state. Inspect referenced files, diffs, commits, issues, or plans when they are available locally and needed to distinguish current state from stale conversation.
  4. Write <scratchpad>/handoff-<session-id>.md for the receiving agent. If the user supplied a focus after the session ID, tailor the handoff to it.
  5. Return the handoff path and a one-sentence summary.

Use filesystem reads and the bundled extractor only. Do not run claude, resume the session, invoke a model through a CLI or API, or send any prompt back into Claude.

Handoff contents

Make the document concise and operational. Include:

  • source session ID and working directory
  • objective and relevant user intent
  • current state, including completed and partially completed work
  • decisions, constraints, and rejected approaches that still matter
  • artifacts by path, URL, branch, commit, or issue
  • verification already run and its result
  • remaining work, blockers, and the clearest next action
  • suggested skills for the receiving agent

Reference existing artifacts instead of copying their contents. Distinguish facts observed in the log or workspace from inference. Redact credentials, tokens, private keys, and unnecessary personal information from the handoff.