name: afk-pickup description: Find and resume from a handoff document saved in the user's OS temporary directory. Use when a previous session wrote a disposable handoff note, the user mentions pickup/resume/handoff from temp, or the user passes a handoff path/topic. argument-hint: "Optional handoff path, repo name, topic, or 'latest'" metadata: short-description: Find and resume from temp-directory handoff notes.
Find a handoff document from a previous session and use it to resume the work.
Search Order
- If the user passed a path, check it directly first. Also check the same basename under
/tmp,/private/tmp, and$TMPDIR. - If there is no path or the direct path is missing, run
scripts/find-temp-handoffs.shfrom this skill folder, passing the user's repo name, topic, orlatesttext if present. - Read the best match only after confirming it is plausible for the current repo/topic. Prefer files that mention the current repo, workspace path, branch, validation state, next steps, or "handoff".
- If there are multiple plausible matches, show the top few paths and ask which one to use.
Guardrails
- Search
/tmpbefore broad user folders. On macOS,$TMPDIRand/tmpare different locations, and/tmpis usually a symlink to/private/tmp. - Do not drift into
~/Downloads, Desktop, or the whole home directory unless the user explicitly says the handoff may be there. - Do not hand-roll complex
findexpressions with ungrouped-o; use the bundled script or directls/test -fchecks for exact paths.
Treat temp handoffs as disposable and possibly stale. Do not move, rewrite, or delete them unless asked.