petekp/agent-skills/petekp-agent-skills-handoff
Claude Code and agent skill by petekp/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate a smart bootstrap prompt to continue the current conversation in a fresh session. Use when (1) approaching context limits, (2) user says "handoff", "bootstrap", "continue later", "save session", or similar, (3) before closing a session with unfinished work, (4) user wants to resume in a different environment. Outputs a clipboard-ready prompt capturing essential context while minimizing tokens.
Install
npx vskill@latest install petekp/agent-skills/petekp-agent-skills-handoffSKILL.md
Handoff
Generate a bootstrap prompt that enables seamless conversation continuity in a new session.
Process
1. Analyze Current Session
Identify and categorize:
- Goal state: What is the user trying to accomplish? What's the end state?
- Current progress: What's been done? What's working?
- Blockers/open questions: What's unresolved? What decisions are pending?
- Key artifacts: Files modified, commands run, errors encountered
- Critical context: Domain knowledge, constraints, or preferences established
2. Apply Token Efficiency Heuristics
Include:
- Specific file paths, function names, error messages (hard to rediscover)
- Decisions made and their rationale (prevents re-discussion)
- Current hypothesis or approach being tested
- Exact reproduction steps for bugs
Exclude:
- General knowledge Claude already has
- Verbose explanations of standard concepts
- Full file contents (use paths + line numbers instead)
- Conversation pleasantries or meta-discussion
Compress:
- Use bullet points over prose
- Reference files by path, not content
- Summarize long error traces to key lines
- Use "established: X" for agreed-upon decisions
3. Structure the Bootstrap Prompt
4. Output
Copy the bootstrap prompt to clipboard using:
Confirm with: "Bootstrap prompt copied to clipboard. Paste it to start a new session."
Adaptive Sizing
Simple tasks (bug fix, small feature): 100-200 tokens
- Goal, current file, error/behavior, next step
Medium tasks (feature implementation, refactor): 200-400 tokens
- Goal, progress list, current state, key files, next steps
Complex tasks (architecture, multi-system): 400-800 tokens
- Full structure above, plus constraints and decision rationale
Example Output
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/handoff/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/petekp/agent-skills/petekp-agent-skills-handoff)