save

📁 cerico/macfair 📅 2 days ago
2
总安装量
2
周安装量
#75458
全站排名
安装命令
npx skills add https://github.com/cerico/macfair --skill save

Agent 安装分布

trae 2
gemini-cli 2
claude-code 2
github-copilot 2
windsurf 2
codex 2

Skill 文档

Save

Save session context and exit cleanly.

Steps

  1. Review the conversation to understand what was worked on, decisions made, and what’s next.

  2. Write tmp/handoff.md (create tmp/ if needed):

# Handoff
**Date**: [today's date]
**Branch**: [current git branch, or "n/a"]
## Summary
[1-2 sentences: what we worked on this session]
## Decisions
- [key decisions made]
## Next
- [what to do next session]
## Blockers
- [any blockers, or "none"]
  1. If the current directory is a hub, run /hub next <action> with the most important next step.

  2. Print: Session saved.

  3. Exit the session by running this Bash command:

kill -INT $CLAUDE_WRAPPER_PID 2>/dev/null || echo "Type /exit to close."

If CLAUDE_WRAPPER_PID is not set (session started without the wrapper), the fallback message tells the user to type /exit.

Rules

  • Fill in ALL sections from conversation context. Never leave placeholders.
  • Keep it concise. The next session needs orientation, not a transcript.
  • If there are no blockers, write “none”.
  • If there’s no git branch, write “n/a”.
  • The kill command MUST be the very last thing executed. Nothing after it.