skills/session-handoff/SKILL.md
Analyze current session and generate a self-contained context prompt for the next Claude session. Includes project context, decisions, next steps, and tech stack. Use when ending a work session.
npx skillsauth add tmsjngx0/mindcontext-core session-handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a continuation prompt so the next Claude session picks up exactly where this one left off.
git branch --show-current
git log --oneline -5
git status --short
br list --status=in_progress --json 2>/dev/null
ls package.json Cargo.toml go.mod pyproject.toml setup.py Gemfile *.csproj 2>/dev/null | head -5
Scan the current conversation for:
Compose using this template:
## Context
Project: [project name]
Branch: [current branch]
Tech: [detected stack]
Task: [in-progress beads issue ID + title, or "none"]
## Where We Left Off
[2-3 sentences: what was being worked on, current state]
## Decisions Made
- [decision]: [rationale]
- [decision]: [rationale]
## Key Files
- `[path]` — [what was done / why it matters]
- `[path]` — [what was done / why it matters]
## Next Steps
1. [immediate next action — specific and actionable]
2. [follow-up action]
3. [further steps if applicable]
## Watch Out For
- [gotcha, edge case, or known issue]
Rules:
process() in engine.go" not "continue implementation"$ARGUMENTS provided, focus the handoff on that areaIf there's an in-progress task:
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
br comments add $ISSUE_ID "## Handoff - $TIMESTAMP
$HANDOFF_CONTENT"
HANDOFF READY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[handoff content]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Copy the above into your next Claude session to resume.
/handoff <context>"tools
Bootstrap a project to use mctx by injecting a managed block into AGENTS.md. Tool-agnostic guidance every agent reads. Runs `mctx init` and shows the diff. Use when starting a new project, onboarding a repo, or asked to "init mctx" / "add mctx guidance" / "set up AGENTS.md".
development
Test-Driven Development workflow following Kent Beck's methodology. Auto-loads when user asks about "tdd", "test driven", "red green refactor", "write tests first".
tools
Summarize current project state after a long break. Analyzes recent git history, beads issues, and memory to produce a one-page orientation. Use when returning to a project cold, or when asking "what was I doing", "where did I leave off".
data-ai
Load context from vault memory. Temporal queries (yesterday, last week, session history) use native JSONL timeline. Topic queries use QMD BM25 search. "recall graph" generates interactive temporal graph of sessions and files. Every recall ends with "One Thing" - the single highest-leverage next action synthesized from results. Use when user says "recall", "what did we work on", "load context about", "remember when we", "prime context", "yesterday", "what was I doing", "last week", "session history", "recall graph", "session graph".