ClaudeMod
Skills

Handoff

A Claude Code skill that saves a structured session-summary markdown file when your rate limit or context window is approaching — so another AI (or a fresh session) can resume work without losing context.

Install
$claude plugin marketplace add ozgurersil/ai-handoff
$claude plugin install handoff@ai-handoff
Run claude plugin validate to auditGuide →
Özgür 2 starsAdded 1 months ago

ai-handoff

Claude Code session usage bar showing 53% used with 3 hr 30 min until reset

A Claude Code skill that saves a structured session-summary markdown file when your rate limit or context window is approaching — so another AI (or a fresh session) can resume work without losing context.


The Problem

Claude Code has a 5-hour rolling usage limit. When it hits, your session ends cold — all context, decisions, and in-progress work disappears. Starting a new session means re-explaining everything from scratch.

The Solution

/handoff generates a self-contained markdown file capturing:

  • What was accomplished this session
  • Exactly where work stopped
  • Key decisions and their rationale
  • All files modified
  • Prioritized next steps
  • Environment snapshot (git state, directory, deps)
  • Gotchas and context the next AI needs

The next session opens the file and picks up immediately.


Install

Option 1 — skills CLI (works with all AI tools)

npx skills@latest add ozgurersil/ai-handoff

Installs to Claude Code, Cursor, Windsurf, Antigravity, Codex, Copilot, Aider, Gemini — whichever you use.

Option 2 — Claude Code plugin marketplace

claude plugin marketplace add ozgurersil/ai-handoff && claude plugin install handoff

Option 3 — Manual

git clone https://github.com/ozgurersil/ai-handoff.git
mkdir -p ~/.claude/skills/handoff
cp ai-handoff/skills/handoff/SKILL.md ~/.claude/skills/handoff/SKILL.md

First use: When you run /handoff for the first time, Claude will ask which AI coding tool you use and save the preference. All future handoff files include resume instructions tailored to that tool. To reconfigure: say "handoff setup" anytime.


Usage

Trigger manually

/handoff

Natural language triggers

Any of these phrases activates the skill automatically:

  • "save context"
  • "session summary"
  • "rate limit approaching"
  • "context dump"
  • "wrap up session"
  • "handoff"
  • "save progress"

Resume in new session

Open a new Claude Code session, then:

Continue from handoff: handoffs/handoff-fix-auth-redirect-2026-05-04-1430-claude.md

Claude reads the file and resumes immediately.


Output Format

Generated file: ./handoffs/handoff-{summary}-YYYY-MM-DD-HHmm-{model-slug}.md

Examples: handoffs/handoff-fix-auth-redirect-2026-05-04-1437-claude.md, handoffs/handoff-add-stripe-webhooks-2026-05-04-1437-gpt.md

The handoffs/ directory is created automatically if it doesn't exist.

Sections with nothing to report are omitted, so the file stays small:

# Handoff — my-project — 2026-05-04 14:30 — claude

**Reason:** rate limit approaching

## Resume (Claude Code)
## Context          — project, goal, cwd, branch, last commit, dirty files
## Done
## In Progress
## Blocked
## Decisions
## Files
## Next Steps
## Open Questions
## Gotchas

Git is optional. Without a repo, the branch/commit line is dropped and the Files section becomes exhaustive — every file touched, with what changed — since there's no git diff for the next AI to fall back on.


Supported Tools

The handoff file includes per-tool resume instructions. Skill auto-detects which tools are configured in your project and asks which one will resume.

You choose your tool once during setup. Handoff files include only your tool's resume instructions.

ToolResume method
Claude CodeContinue from handoff: handoffs/{file}
Cursor@{file} in chat
Windsurf@{file} in Cascade
Antigravity (Google)@{file} in chat
OpenAI Codex CLIcodex --context {file} "Continue"
GitHub Copilot#file:{file} in Copilot Chat
Aideraider --read {file}
Gemini CLIgemini --context {file} "Continue"
Any other toolPaste file contents as first message

To change your tool: handoff setup


Why This Matters

Without ai-handoffWith ai-handoff
Context lost on rate limitFull context preserved
Re-explain project from scratchAI resumes in seconds
Decisions forgottenDecision log captured
Next steps unclearPrioritized action list
Works only in Claude CodePortable across all major AI tools

Contributing

Contributions welcome. See CONTRIBUTING.md.

Bug reports → GitHub Issues


License

MIT — see LICENSE.

Details

GitHub Stars
2
License
MIT
Added
1 months ago
Last synced
2 days ago

Weekly Mods Digest

Top new Claude Code mods and install commands, once a week. No fluff, unsubscribe anytime.

More Skills

Skills

Superpowers

obra's power-user Claude Code skill pack — deep workflow automations for veteran developers: smart refactoring, architecture analysis, and opinionated code generation.

by Jesse Vincent
Taste-Skill
Skills

Taste-Skill

High-agency frontend skill that gives your AI good taste, stopping it from generating generic UI slop.

by Leonxlnx
Skills

Anthropic Official Skills

The official Anthropic skills library — battle-tested markdown workflows for common dev tasks: code review, test generation, documentation, and refactoring.

by Anthropic

Command Palette

Search for a command to run...