Loads the most recent putdown handoff file for the current project and primes the session with full prior context. Use when the user says "pickup", asks "where were we" after opening a fresh window, or wants to resume work from a prior session that ended with /putdown. Do NOT use for reopening a previous Claude conversation (that is the built-in /resume picker) or for resuming media, downloads, paused processes, or VMs.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pickup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cabaynes-pickup)
---
name: pickup
description: Loads the most recent putdown handoff file for the current project and primes the session with full prior context. Use when the user says "pickup", asks "where were we" after opening a fresh window, or wants to resume work from a prior session that ended with /putdown. Do NOT use for reopening a previous Claude conversation (that is the built-in /resume picker) or for resuming media, downloads, paused processes, or VMs.
argument-hint: "[putdown-timestamp]"
allowed-tools:
- Read
- Bash
- Grep
- Glob
- AskUserQuestion
---
# /pickup — Pick up from a prior putdown
The user just started a fresh session and wants to continue from where the previous session ended. There is a putdown file (a handoff note) waiting for you.
> Renamed from `/resume` on 2026-06-12 (paired with `/checkpoint` → `/putdown`) because those names shadow Claude Code built-ins. On 2026-06-13 the handoff files also moved from `.checkpoints/` → `.putdowns/`. A stray `.checkpoints/` folder, if you see one, predates the move — read it the same way.
## Step 0 — Sync check (CLI↔web handoff)
If the CWD is a git repo with a remote, run `git fetch origin` then `git rev-list --count HEAD..@{u}` before anything else. If origin is **ahead**, work happened on another surface (most likely Claude Code on the web): tell the user and offer to `git pull` before resuming — the newest putdown may be inside the pulled `.putdowns/` folder. If fetch fails (offline, no remote), or the branch has no upstream (`rev-list` errors with "no upstream configured"), say so in one line and continue with local putdowns only.
## Step 1 — Find the candidate putdown(s)
The current project's slug is the basename of the CWD. Putdowns live in two places: the local `~/.claude/putdowns/<project-slug>/` dir and the repo's own `.putdowns/` folder (synced via git so web sessions can read and write them).
List all putdowns for this project from both locations, newest first, and grab the current time so you can label them accurately later:
```
find ~/.claude/putdowns/"$(basename "$PWD")" "$PWD/.putdowns" -maxdepth 1 -name '20*.md' 2>/dev/null | awk -F/ '{print $NF "\t" $0}' | sort -r | cut -f2-; date
```
Why this shape and not `ls -t <dir>/*.md <dir>/*.md`: in zsh a glob with no match aborts the **whole** command, so a repo without a `.putdowns/` folder (every public repo) would hide the local putdowns too. `-name '20*.md'` skips `.putdowns/MEMORY-INBOX.md`, which is not a putdown. Sorting by filename, not modification time, keeps the order right after a `git pull` or checkout rewrites mtimes.
**If the user passed a timestamp argument** (e.g. `/pickup 2026-09-12-0901`), load the file with that name directly — skip the count branching and the picker below. If no file matches, say so and fall through to the normal flow.
If the same `<YYYY-MM-DD-HHMM>.md` filename appears in both locations, treat it as ONE putdown and prefer the in-repo copy — it may carry edits pushed from the other surface.
Hold onto the `date` output — you'll subtract from it in Step 1a to produce relative-time labels. The system reminder gives you today's *date* but not the current *clock time*, so without `date` you'll guess and get it wrong (e.g. labeling a 5-minute-old putdown as "2h ago").
Branch on the count:
- **0 files** — no putdown matched. Check `~/.claude/putdowns/` to list all available project subfolders, in case the user is in a different CWD than when they made the putdown (e.g. they ran `/putdown` from `<workspace-root>/my-app` but ran `/pickup` from `<workspace-root>/my-app/src`). Tell the user no putdown was found for this project, list what *is* available, and ask which to load (or to start fresh).
- **1 file** — load it directly. Skip Step 1a and proceed to Step 2 with that file.
- **2+ files** — go to Step 1a to let the user pick. (The user sometimes runs parallel VS Code conversations rooted in the same project folder, so the most recent file is not always the one they want.)
## Step 1a — Present the picker (only when 2+ putdowns exist)
For each of the **4 most recent** candidate files, extract:
- **Timestamp** from the filename (`2026-04-27-0933.md` → `2026-04-27 09:33`) plus a relative-time hint like `"5m ago"`, `"2h ago"`, or `"yesterday"`. Compute the delta against the `date` output you captured in Step 1 — don't eyeball it. A file from earlier today is hours ago only if the clock time actually differs by hours.
- **Session goal** — the text after `**Session goal (this conversation)**:` in the file header. Truncate to ~60 chars.
- **First sentence of `## Where we are right now`** — used for the option's description. Truncate to ~140 chars.
A quick way to grab the metadata cheaply is `head -n 25 "$PUTDOWN_FILE"` and then parse the relevant lines.
Call `AskUserQuestion` with:
- `question`: `"Which putdown do you want to load?"`
- `header`: `"Load which?"`
- `multiSelect`: `false`
- `options`: one per putdown, newest first. For each option:
- `label`: `"<relative-time> — <session-goal truncated>"` (e.g. `"2h ago — Pipeline seed flag bug"`). Append `" (Recommended)"` to the **first** option only — it's the newest, which is the same as today's default behavior.
- `description`: first sentence of "Where we are right now". If that section can't be parsed, use `"(no summary available)"`.
If a candidate file is missing both the `Session goal` line and the `Where we are right now` section (corrupt or hand-edited), still include it in the picker but use the bare filename timestamp as the label and `"(no summary available)"` as the description — don't fail the whole picker over one malformed file.
If there are **5 or more** putdowns, show only the 4 newest in the picker, and print one line of chat above the picker like: `"Showing the 4 most recent of N putdowns — pick 'Other' to specify an older timestamp."` The harness's auto-provided `"Other"` option lets the user paste an older timestamp (e.g. `2026-03-12-0901`) if they really want one.
Once the user picks, use the chosen file as the putdown for the rest of the flow and continue to Step 2.
## Step 2 — Read the putdown and recent state
In parallel:
- Read the putdown file in full
- `pwd` to confirm CWD
- `git status` and `git log --oneline -5` to see if anything changed since the putdown was written
- Read the project `CLAUDE.md` if one exists
- Read the user's auto-memory `MEMORY.md` index (already loaded by the harness, but re-confirm)
- Read the project's **`OPEN-THREADS.md`** if one exists — at the repo root for a private repo, or at
`~/.claude/putdowns/<project-slug>/OPEN-THREADS.md` for a public one (the `/openthreads`
skill owns the file and its placement rule). Count the open `- [ ]` items per `##` section — the
`## Closed` section at the bottom is not counted — note any `due YYYY-MM-DD` already past, and the
oldest `added` date. Also check Closed for any `- [x]` line whose `closed YYYY-MM-DD` is **later
than the putdown's date** (the `YYYY-MM-DD` in its filename): those were closed after the handoff,
on another surface or by hand. Same-day closes can't be told apart from the putdown's own
reconcile, so they don't count.
If git state has drifted significantly from what the putdown described (e.g. new commits, files modified outside what was listed), flag this to the user — the world may have moved since the putdown.
**Check the putdown's `## Environment state` against reality too** — git is not the only thing that
drifts. For each line that sets a precondition, test it where you can:
- **"Restart needed: yes"**, or a manual-steps line saying restart / relaunch / fresh session — run
`ps -o lstart= -p $PPID` (`$PPID` is the running `claude` process). If it started **before** the
putdown's timestamp, the user ran `/clear` but never relaunched, so the plugins, hooks, skills, or
settings that changed are still the old ones. Flag it and say how: `/exit`, relaunch `claude`, `/pickup`.
- **Plugin changes made from any folder since this process started** — run this whether or not the
putdown mentions a restart, because a plugin installed, updated, removed or toggled from another
folder's session never reaches this project's putdown:
```bash
python3 - "$PPID" <<'EOF'
import json, os, subprocess, sys, time
ps = subprocess.run(['ps', '-o', 'lstart=', '-p', sys.argv[1]], capture_output=True, text=True).stdout.strip()
if not ps: sys.exit(print('restart check: no claude process found'))
start = time.mktime(time.strptime(ps, '%a %b %d %H:%M:%S %Y'))
h = os.path.expanduser('~/.claude')
def newer(p): f = os.path.join(h, p); return os.path.exists(f) and os.path.getmtime(f) > start
print('claude started', time.strftime('%Y-%m-%d %H:%M', time.localtime(start)))
print('installed_plugins.json changed since:', newer('plugins/installed_plugins.json'))
if newer('settings.json'):
on = sorted(k.split('@')[0] for k, v in json.load(open(os.path.join(h, 'settings.json'))).get('enabledPlugins', {}).items() if v)
print('settings.json changed since; enabledPlugins now:', ', '.join(on) or 'none')
EOF
```
`installed_plugins.json changed since: True` → a plugin was installed, updated or removed after
launch and isn't loaded yet: ⚠️ line, relaunch. If `settings.json` changed, compare `enabledPlugins
now` with the plugin skills in your own skill list (the `<plugin>:` prefixes): a plugin enabled there
with no skills loaded, or loaded skills from a plugin no longer enabled, means a toggle is waiting —
⚠️ line, relaunch. Plugins with no skills can't be compared this way; skip them. Ignore every other
`settings.json` change: hooks and env reload live (tested 2026-11-30 on 2.1.332), and so do skills in
`~/.claude/skills`. Relaunch = `/exit`, run `claude` again, `/pickup`.
- **Dev servers or background processes listed as running** — check they still are (`lsof -i :<port>`,
`pgrep -fl <name>`); a reboot or closed terminal kills them.
- **Other manual steps** (log in, plug in a drive, run a `!` command) — check the ones a command can
confirm; list the rest as "not checked" rather than assuming they're done.
**Check the memory index fits.** Claude Code loads only the first 200 lines and 25,000 characters of
a project's `MEMORY.md` and silently drops the rest from the bottom. Measure this project's index:
```bash
f="$HOME/.claude/projects/$(pwd | sed 's|[/.]|-|g')/memory/MEMORY.md"; [ -f "$f" ] && echo "$(wc -m <"$f") chars, $(wc -l <"$f") lines"
```
Over **22,000 characters or 180 lines** — or a `MEMORY.md is … Only part of it was loaded` warning
in this session's context — goes in the brief as a ⚠️ line with the numbers. The fix: shorten long
index lines and move detail into the memory files themselves (in the workspace pattern,
`fanout-memory.sh --check` reports every project's index).
**Check the CLAUDE.md files fit their budget** — they load in full every session, along with every
CLAUDE.md in the folders above:
```bash
wc -m -l CLAUDE.md 2>/dev/null; awk 'length>500{print "line "NR": "length" chars"}' CLAUDE.md 2>/dev/null
```
Over **12,000 characters or 200 lines**, or any line over 500 characters → one ⚠️ line in the brief
with the numbers (e.g. `⚠️ CLAUDE.md 38,963 / 12,000 chars — worth a trim pass`). Don't trim during
a pickup; it's a flag, not a task. Under budget → say nothing.
## Step 3 — Brief the user
Reply with a tight summary so the user can confirm you've loaded the right context. Structure:
```
Resumed from: <putdown file path> (<how long ago it was written>)
<If a picker was shown: append " — chosen from N available putdowns in this project">
**Where we left off:** <one sentence>
**Resume here:** <every item from "## What's in progress (resume here)" — file:line (or commit/doc/command), its state, and the next action, kept as specific as the putdown wrote it — omit this line if the section is missing or "none">
**Must address:** <every item from "## Must address next session", verbatim — omit this line if the section is missing or "none">
**Next up:** <the first 1-3 next steps from the putdown>
**Blockers waiting on you:** <list, or "none">
**Open threads:** <N open — Due now X · Decisions Y · Work Z · Outside W; "M overdue" if any; oldest from <date>>
<the "Due now" items verbatim, then the top 2–3 others — omit the whole block if there is no OPEN-THREADS.md>
<Only if a Closed line is dated after this putdown's day: "Closed since that putdown: <N> — <first outcome, truncated>". Otherwise say nothing about Closed.>
<If git state has drifted, or an Environment-state precondition failed (no restart since the putdown, a server not running), or the memory index is near/over its limit: a "⚠️ Note:" line for each, saying what to do.>
```
Never summarize or drop "Must address" items — they exist because the user wanted proof the next
session saw them. Older putdowns won't have the section; that's fine.
The open-threads block is why that file exists: it is how parked work resurfaces every fresh session
without the user re-reading a fortnight of putdowns. Overdue items are shown, never silently skipped;
an old item is reported, not nagged about. Pickup only *reads* the file — adding, closing, and
reconciling are `/openthreads`'s job.
Then **stop and wait for the user to confirm or redirect.** Do NOT auto-execute the next steps. The user may want to adjust direction, skip a step, or hand off to a subagent. Once they confirm, proceed.
## Step 4 — Once confirmed, execute
Pick up the work. Use the in-session task list to track the "Must address" items (first), then the "What's in progress (resume here)" items — a mid-task putdown means the user wants to carry on from exactly that spot, so continue the unfinished work rather than restarting it — then the "Immediate next steps" list from the putdown; don't mark the session's work done while a "Must address" item is still open unless the user dropped it. Honor the "What NOT to redo" section — do not re-attempt approaches the previous session ruled out. If the user picks an open thread instead of the putdown's next step, that's a normal redirect — work it, and `/openthreads done` it when finished.
## Notes on judgment
- **One putdown at a time.** Do not auto-merge multiple putdowns. When 2+ exist, present the Step 1a picker and load only the user's choice.
- **Trust the putdown, but verify file references.** If it says "edit foo.py:142", confirm that file/line still exists before acting on it (rename/refactor may have happened).
- **If the putdown is stale** (say, more than a few days old) and significant changes have happened on disk, ask the user whether to use it or start fresh.
- **Don't recreate the previous session's chat.** You're picking up the work, not roleplaying the prior conversation. Be forward-looking.