← ClaudeAtlas

pickuplisted

Resume work in a fresh session from the newest handoff file written by /handoff, from a named handoff file, or from an unfinished orchestration run found on a local feature branch. Checks first whether commits made after the handoff already did its task.
brunob54/superpowers-orchestrator · ★ 3 · AI & Automation · score 79
Install: claude install-skill brunob54/superpowers-orchestrator
# Pickup This skill finds what a fresh session continues: a handoff file (a continuation prompt that /handoff wrote into `tmp/docs/<date>-handoff-<slug>.md`) or an orchestration run that stopped before its end. No `hooks/skill-rules.json` entry, on purpose: it can start work that another session is already doing. Argument given by the user (may be empty): $ARGUMENTS ## Procedure 1. **Scan.** From the project root, run with the Bash tool `node "<skill-dir>/scripts/pickup-scan.js" "<argument>"` (`<skill-dir>` is this skill's base directory; leave out `"<argument>"` when it is empty). On Copilot CLI (command-line interface) the argument may not arrive; when it is empty, use only a path named in the message that invoked /pickup, never one from `state.md` or elsewhere. A non-zero exit or no `git:` line → report the output and stop. Keys: `git:`, `default-branch:`, `handoff:`, `written:` and `branch:` (or `header: none`), `done-when:`, `current-branch:`, `dirty:` (or `dirty: not-listed`), `branch-differs:`, `head:`, `since:`, `commits-self:` and `commits-other:` (above 30 also `commits-listed:`; for HEAD `first-parent:`), `status:`; without an argument `runs:`, and per run `run:`, `log:`, `ambiguous:`, `last:`, `last-commit:`, `resume:`. - `handoff: missing` or `handoff: unreadable` → a file path: report it, stop. Other text (`with M=1`, `[I2]: yes`): run the scan with no argument, then show every `resume:` path that is not `none` (