recall · michael-denyer — Claude Code skill: rebuild your working context
Rebuilds your recent working context from chat history, live repo state and the shared project record, then hands back a short brief on where things stand.
npx skills add michael-denyer/pstack-claude --skill recall -a claude-codeWhat recall does
Reach for this skill before you resume work or pick up a new task. It reconstructs what you did across recent chats and folds that into a tight capsule. Transcripts live at ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/<encoded-cwd>/<uuid>.jsonl, one message per line. Run node <plugin>/skills/reflect/scripts/claude-project-dir.mjs to print the current session's directory instead of building <encoded-cwd> by hand.
The skill works in stages. It pins the scope first: the time window (default the last 7 days), the topic if you named one, and the workspace. Then it fans out parallel subagents on a fast model, each taking a slice of the corpus, ordering candidates by real modification time with ls -t and returning one block per chat. Separately it sweeps the shared record — source control, the issue tracker, chat and issue channels, docs, error tracking — and checks the PRs, branches and tickets it surfaces with git and gh.
Some conditions apply. On GitHub Copilot and Muse you read the platform mapping, including its per-skill notes, before following the skill. For one or two chats the fan-out is skipped and the search runs directly. Other projects' transcripts stay untouched unless asked for. If the project's rules name places for queued or recorded items, those get swept too, because a search that skips them is not exhausted.
What it helps with
- pick up where you left off in the last session
- pull the state of one topic out of several chats
- find what was already tried and reverted
- check whether PRs and branches are still current
- tell recorded work apart from work that was never logged
Example prompts for the agent
- recall what I did on auth this week
- catch me up on this branch and tell me the next move
- recall the payments work: what's open, what got reverted
How to install recall
1Skills CLI (Vercel)
npx skills add michael-denyer/pstack-claude --skill recall -a claude-code2Manually: put the files in place
~/.claude/skills/recall/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recall/
1Skills CLI (Vercel)
npx skills add michael-denyer/pstack-claude --skill recall -a codex2Manually: put the files in place
.agents/skills/recall/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add michael-denyer/pstack-claude --skill recall -a cursor2Manually: put the files in place
.cursor/skills/recall/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install michael-denyer/pstack-claude recall2Manually: put the files in place
.github/skills/recall/SKILL.md1Skills CLI (Vercel)
npx skills add michael-denyer/pstack-claude --skill recall -a gemini-cli2Platform CLI
gemini skills install https://github.com/michael-denyer/pstack-claude --path plugins/pstack/skills/recallManually: put the files in place
.devin/skills/recall/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add michael-denyer/pstack-claude --skill recall -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about recall
How do I install recall in Claude?
Run npx skills add michael-denyer/pstack-claude --skill recall -a claude-code. The skill then sits at ~/.claude/skills/recall/SKILL.md.
What does recall do?
It rebuilds your recent working context from chat history, live repo state and the shared project record, then returns a brief: a capsule, thread statuses, recurring problems and the next move.
What does recall need to work?
It checks the PRs, branches and tickets it finds with git and gh. On GitHub Copilot and Muse you read the platform mapping with its per-skill notes before following the skill.
Source text
SKILL.md · MIT
---
name: recall
description: "Reconstruct your recent working context from your own chat history, live state, and the shared record (user reports, prior fixes, incidents), then hand back a tight current-state brief. Use for 'recall my work on X', 'catch me up', 'what have I been working on', 'where did I leave off', before starting or resuming work, and before telling the user that something was never recorded."
---
# Recall
On GitHub Copilot, read the [platform mapping](../poteto-mode/references/copilot-tools.md), including its per-skill notes, before following this skill.
On Muse, read the [platform mapping](../poteto-mode/references/muse-tools.md), including its per-skill notes, before following this skill.
**Before you start or resume work, you rebuild the user's recent working context and hand back a tight capsule of where things stand now and what to do next.**
Keep it tight and on-topic. Read only what the in-scope threads need, then stop.
Your context lives in two records. Your own chat history holds what you did and decided. The shared record holds everything that happened around the same code under other names: the symptoms users keep reporting, the fixes that shipped and got reverted, the errors still firing in prod. That second record is what the **why** skill searches, across source control, the issue tracker, chat and issue channels, long-form docs, and error tracking. A feature with a long bug tail keeps most of its story there, so don't reconstruct it from your transcripts alone.
Transcripts live at `${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/<encoded-cwd>/<uuid>.jsonl`. Every line is one chat message. Run `node <plugin>/skills/reflect/scripts/claude-project-dir.mjs` to print this session's directory rather than building `<encoded-cwd>` by hand. Claude Code turns each character other than an ASCII letter or digit into "-" (so `/Users/you/my_app.web` becomes `-Users-you-my-app-web`), shortens a name past 200 characters with a hash, and takes `CLAUDE_CODE_PROJECT_DIR_NAME` in its place when that is set with `CLAUDE_CONFIG_DIR`.
1. Classify, then route. One specific prior chat to resume is the `session-pickup` playbook, not this. Turning habits into a durable skill is `automate-me`. A human-readable summary of your work is a different task. Recall loads working context across recent chats before you act. If the user already gave you a full state capsule (paths, branch, the change), use it and skip the mining.
2. Lock the scope before searching. Pin the window ("recent" is a real range, default the last 7 days), the topic if named, and the workspace (default the active one. Never read another project's transcripts without being asked). State the scope back. Never quietly turn "all" into "recent N".
3. Fan out across your chat history. Spawn parallel subagents on a fast, cheap model, each taking a slice of the corpus. Tell every subagent to order candidates by real modification time (`ls -t`) and never by UUID name, grep the topic first and then read only the matching chats and only their relevant regions, and skip the current chat plus obvious noise (subagent, eval, and test chats). Each returns the same schema, one block per chat: topic, the user's goal, decisions, open threads, struggles and corrections, and artifacts (PRs, tickets, branches), each citing the chat UUID. For one or two chats, skip the fan-out and search directly. The raw transcripts stay in the subagents. The main thread gets only their findings. Pick each subagent's reasoning level for the job, per the Subagents section of the **poteto-mode** skill.
4. Sweep the shared record whenever the topic names a feature, file, subsystem, area, or bug. This is the default, not a judgment call, and "my work on X" does not exempt it. Hand it to the **why** skill's source investigators, but steer their question from "why was this built this way" to "what's the current state, what's been tried and didn't hold, and what are users still reporting". Reuse its per-source playbooks, run the investigators in parallel with the chat-history mining, and inherit its posture: one investigator per source, null results are findings, skip an unavailable MCP and say so. Fold what comes back into the brief. Also sweep every location the project's standing rules name for queued or recorded items (a memory directory, a decisions log, a `.planning/` tree, a project CLAUDE.md pointer) before you report anything as never recorded. A search that skips a place the project's rules name is not exhausted. Skip this step only for pure activity recall with no named target ("what did I do this week"), where your own history and live state are the entire answer.
5. For claims about human rulings, apply [Claims about human decisions](../why/references/epistemics.md#claims-about-human-decisions). Preserve the attributable original wording and source when exact scope matters, separate agent interpretations, and treat copied summaries as one evidence chain.
6. Verify against live state. Take the PRs, branches, and tickets that the mining and the sweep surfaced and check them with `git` and `gh`. When the answer hinges on what an agent actually did (the tools it ran, files it read, errors it hit), read the full transcript, not just a trimmed local copy.
7. Write the brief to the contract below. Group by thread. Stay on the named topic.
## Output contract
Lead with the capsule, then the thread status, then the problems, then the next move. Deeper detail goes below or gets cut.
- **Capsule.** At most 5 bullets. What this work is and where it stands overall.
- **Threads.** One line each, prefixed with exactly one status tag: `[merged #N]`, `[open PR #N]`, `[in flight <branch>]`, `[verified, uncommitted]`, `[reverted #N]`, or `[planned, not started]`. A thread with no tag is not done yet, so tag it.
- **Problems.** At most 5, the recurring ones. Include the symptoms users keep reporting and any fix that shipped and was reverted, so the next attempt starts where the last one failed.
- **Next move.** The single most useful next action, concrete.
An adjacent feature or ticket stays out unless it blocks this one. When the capsule and thread lines outgrow a screen, cut detail before you cut threads. Write the brief through the **unslop** skill, cite chat findings by UUID and shared-record findings by their source (PR #, ticket ID, chat permalink, error-tracker issue), and sanitize private context before any public output.
**Reply:** the brief, to the contract above.
© michael-denyer · MIT · michael-denyer/pstack-claude
Similar skills
All skills for Agent setup: memory, context, orchestration →recall by other authors comes first.