Pickup
Resumes work from a previous handoff session which are stored in .claude/handoffs.
The handoff folder might not exist if there are none.
Requested handoff file: $ARGUMENTS
Process
1. Check handoff file
If no handoff file was provided, list them all. Eg:
echo "## Available Handoffs"
echo ""
for file in .claude/handoffs/*.md; do
if [ -f "$file" ]; then
title=$(grep -m 1 "^# " "$file" | sed 's/^# //')
basename=$(basename "$file")
echo "* \`$basename\`: $title"
fi
done
echo ""
echo "To pickup a handoff, use: /pickup <filename>"
2. Read handoff file
If a handoff file was provided locate it in .claude/handoffs and read it. Note that this file might be misspelled or the user might have only partially listed it. If there are multiple matches, ask the user which one they want to continue with.
2.5. Gather Context
Before summarizing, check if the handoff has a "Bootstrap Context" section. If it does:
- •Read the listed files - Read each file listed under "Files to Read" to understand the relevant code
- •Run suggested exploration - If there are exploration suggestions, perform them to gather additional context (e.g., grep for patterns, review related files)
This ensures you have the full technical context before proposing next steps.
3. Summarize and propose first step
After reading the handoff file, do NOT immediately start working. Instead:
- •
Summarize your understanding of the handoff in a brief paragraph (what was being worked on, current state, key context)
- •
Propose the first step you would take, based on the handoff content
- •
Ask the user to confirm before proceeding, or if they have something else in mind
Only proceed with work after the user confirms.