recalllisted
Install: claude install-skill ychampion/ystack
# Recall
After a break, a restart or a new session, the state of a piece of work is scattered: half in git,
half in old conversations, some in a handoff note. This skill gathers it, checks it against what's
actually in the repo now, and hands back one brief.
## Sources, cheapest first
1. **The repo, live.** `git status`, `git stash list`, current branch, `git log --oneline -15`,
branches touched in the last two weeks (`git for-each-ref --sort=-committerdate refs/heads`), and
open pull requests (`gh pr list --author @me` when GitHub's CLI is set up).
2. **Notes the work left behind.** Handoff files (ystack's `context-meter` writes them to
`~/.claude/plans/<project>-handoff.md`), `TODO`, `CHANGELOG` "Unreleased", `docs/HANDOFF*`, plan
files in the repo.
3. **Past agent sessions.** Claude Code keeps transcripts in `~/.claude/projects/<slug>/*.jsonl`,
where `<slug>` is the working directory with separators replaced by dashes. Codex keeps
`~/.codex/sessions/`. Other agents keep their own logs; find them by modification time.
## Reading transcripts without flooding the context
Transcripts are large. Never read one whole. Pick the two or three most recent that mention the
topic, then pull out only:
- the user's prompts (what was asked, in their words);
- the last few long assistant messages (what was reported at the end);
- the last lines mentioning a test, build or push result.
A short script that streams the JSONL and prints those parts, each truncated to