claude-session-handoff

by fvhreimertVerified

AI skill: claude-session-handoff

0
Stars
0
Forks
Python
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/fvhreimert/claude-session-handoff

Getting Started

Guides for using skills like claude-session-handoff.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

claude-session-handoff

Recover a previous Claude Code session into a Codex handoff from local transcript files, without calling Claude in the normal path.

This is for the common failure mode where Claude Code hit a token limit, lost context, or the session ended, and you want Codex to continue from the local artifacts already on disk.

claude-session-handoff demo

The repository ships both

  • a bundled Codex skill inside the plugin package for direct skill installs
  • a Codex plugin package for plugin-based installs and marketplace testing

What it does

  • Finds recent local Claude sessions
  • Shows a short numbered picker instead of guessing
  • Resolves your choice from a saved snapshot, so the picked number stays stable
  • Summarizes the selected transcript into a compact Codex handoff
  • Stops after the handoff so you can decide what happens next

Why this exists

Claude Code can burn through token budget and session limits fast. When that happens, the practical need is simple. Continue the work in Codex without manually reconstructing the whole thread from scratch.

The default recovery pattern is usually manual and messy: find the right transcript, inspect it, reconstruct intent, then restate the open thread to another agent. This skill makes that path deterministic and cheap.

  • No Claude token usage in the normal flow
  • No dependency on the claude CLI
  • Works from transcript artifacts already on your machine

Requirements

  • Python 3.10+
  • Codex CLI
  • Local Claude session transcripts on disk

Install

Install as a Codex plugin

This is the preferred path if you want the plugin to show up in Codex's plugin flow.

From the repository root:

python3 scripts/install_plugin.py

If you prefer a copy instead of a symlink:

python3 scripts/install_plugin.py --mode copy

This installs the plugin into ~/plugins/claude-session-handoff and adds it to your personal Codex marketplace at ~/.agents/plugins/marketplace.json.

Then restart Codex and open /plugins.

If you invoke the bundled skill explicitly after plugin installation, Codex may show it in namespaced form.

  • $claude-session-handoff:claude-session-handoff

Install as a plain skill

From the repository root:

python3 scripts/install_skill.py

If you prefer a copy instead of a symlink:

python3 scripts/install_skill.py --mode copy

Then restart Codex.

Manual install targets

  • macOS/Linux: ~/.codex/skills/claude-session-handoff
  • Windows: %USERPROFILE%\.codex\skills\claude-session-handoff

Use

After installation, prompts like these should trigger the skill

  • Resume my last Claude session for this repo
  • Recover a Claude Code session that ended and give me a handoff
  • Find my last 5 Claude sessions and ask which one to resume

Explicit invocation depends on how you installed it

  • plain skill install: $claude-session-handoff
  • plugin install: $claude-session-handoff:claude-session-handoff
  • natural-language prompts also work through implicit matching

Normal flow:

  1. Discover recent local Claude sessions
  2. Show a numbered picker
  3. Summarize the selected session into a Codex handoff

Plugin packaging

The plugin package lives at

  • plugins/claude-session-handoff

The installable skill that SkillsLLM and manual skill installs rely on lives at

  • plugins/claude-session-handoff/skills/claude-session-handoff/SKILL.md

For repo-local testing, this repository also includes

  • .agents/plugins/marketplace.json

That lets Codex surface the plugin when you open this repository locally. The current public Codex docs still describe the official global Plugin Directory publishing flow as coming soon, so the supported path today is local, personal, or repo marketplace installation.

Verify your setup

macOS/Linux:

python3 scripts/doctor.py --cwd "$PWD"

Windows PowerShell:

py -3 scripts/doctor.py --cwd (Get-Location)

The doctor reports

  • whether the skill is installed into Codex
  • which Claude directories were checked
  • how many transcript files were found

Run the scripts directly

macOS/Linux:

python3 scripts/discover_sessions.py --cwd "$PWD" --limit 5 --picker
python3 scripts/discover_sessions.py --cwd "$PWD" --limit 5 --json --snapshot-out /tmp/claude-session-handoff-snapshot.json
python3 scripts/discover_sessions.py --snapshot-in /tmp/claude-session-handoff-snapshot.json --picker
python3 scripts/resolve_session_choice.py --snapshot /tmp/claude-session-handoff-snapshot.json --choice 1 --field file_path
python3 scripts/summarize_handoff.py --session /path/to/session.jsonl --json

Windows PowerShell:

$snapshot = Join-Path $env:TEMP "claude-session-handoff-snapshot.json"
py -3 scripts/discover_sessions.py --cwd (Get-Location) --limit 5 --picker
py -3 scripts/discover_sessions.py --cwd (Get-Location) --limit 5 --json --snapshot-out $snapshot
py -3 scripts/discover_sessions.py --snapshot-in $snapshot --picker
py -3 scripts/resolve_session_choice.py --snapshot $snapshot --choice 1 --field file_path
py -3 scripts/summarize_handoff.py --session C:\path\to\session.jsonl --json

How discovery works

Discovery checks these locations in order:

  1. --claude-projects-dir
  2. CLAUDE_PROJECTS_DIR
  3. CLAUDE_HOME/projects
  4. platform defaults in references/storage-locations.md

If your Claude data lives elsewhere, pass --claude-projects-dir.

Privacy and limits

  • The normal path reads local transcript files only.
  • The skill recovers a handoff, not Claude's exact internal state.
  • It is best-effort and depends on Claude transcript formats staying close to the JSONL structures covered by the tests.
  • Session selection still happens through normal Codex chat replies because this is a plain skill, not a custom UI.

Troubleshooting

If no sessions are found

  • run scripts/doctor.py
  • confirm Claude transcript files exist locally
  • pass --claude-projects-dir if Claude stores data outside the default path

If the wrong session is selected

  • run the discovery script directly and inspect the picker output
  • invoke the skill from the repository you actually want to match

If a session file is missing or corrupted

  • malformed transcripts are skipped when possible
  • direct summarize_handoff.py calls return a file-specific error

Development

Run the test suite

python3 -m unittest discover -s tests -v

Verify the packaged skill bundle matches the checked-in source files:

python3 scripts/verify_packaged_skill.py

The repository includes:

  • scripts/doctor.py for local diagnostics
  • scripts/install_plugin.py for personal plugin installation
  • .github/workflows/ci.yml for cross-platform CI
  • agents/openai.yaml for packaged skill metadata
  • plugins/claude-session-handoff/.codex-plugin/plugin.json for Codex plugin packaging

License

MIT

Frequently Asked Questions

What is claude-session-handoff?

claude-session-handoff is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by fvhreimert. It has 0 GitHub stars.

Is claude-session-handoff safe to use?

Yes. claude-session-handoff passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-session-handoff?

Clone the repository with "git clone https://github.com/fvhreimert/claude-session-handoff" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claude-session-handoff written in?

claude-session-handoff is primarily written in Python. It is open-source under fvhreimert on GitHub, so you can review or fork the full source.

Are there alternatives to claude-session-handoff?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-session-handoff against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details