skills/remember/SKILL.md
**DEPRECATED — use `/track-session resume` instead.** Rebuild context from previous Claude Code sessions in the current directory. Use when asked to "remember", "what was I working on", "recap last session", "summarize recent work", "catch me up", or when starting a new session and needing to understand what happened before.
npx skillsauth add antjanus/skillbox rememberInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
⚠️ Deprecated — This skill is superseded by
/track-session resume, which provides the same context restoration with better integration into the session tracking workflow. This skill will be removed in a future release.
Context rebuild activated - I'll scan previous sessions, git history, and project files to reconstruct what happened and what's next.
Reconstructs working context from previous Claude Code sessions in the current directory. Reads conversation history, auto-memory, SESSION_PROGRESS.md, ROADMAP.md, and recent git activity to produce a structured summary of past work and suggested next steps.
Core principle: Never start from zero. Previous sessions contain valuable context - surface it so the user can pick up where they left off.
Prefer /track-session resume — It reads SESSION_PROGRESS.md, checks git state, and continues work in one step. Use /remember only if no SESSION_PROGRESS.md exists and you need deep conversation history scanning.
Always use when:
Useful for:
Avoid when:
Collect context from all available sources in this order:
1. Claude Code conversation history (primary source)
Read conversation JSONL files from the project's Claude directory:
~/.claude/projects/{project-path-slug}/*.jsonl
The slug is derived from the git repository root path with / replaced by - and prefixed with -. All worktrees and subdirectories within the same repo share one project directory. For example:
/Users/jane/projects/myapp → -Users-jane-projects-myappIf unsure, list ~/.claude/projects/ and match by checking the cwd field in conversation files.
Each .jsonl file is one conversation. Focus on the 3 most recent by modification time (skip files under 1KB - likely abandoned sessions). For each, extract:
type: "user" → message.content)gitBranch fieldFilter out lines with isSidechain: true (subagent conversations) when reading the main session thread.
2. Auto-memory
Check the project's auto-memory directory for MEMORY.md and any topic files (e.g., debugging.md, patterns.md). These contain Claude's accumulated project knowledge - build commands, architecture notes, and lessons learned from prior sessions.
3. SESSION_PROGRESS.md
If it exists in the project root, read it. This contains:
4. ROADMAP.md
If it exists in the project root, read it. This provides:
5. Git state
Run these commands to understand current and recent state:
git log --oneline -20 --format="%h %s (%ar)"
git status --short
git stash list
This shows what was committed, what's uncommitted, and what's stashed - the full picture of recent work.
Verification before synthesizing:
Combine all sources into a structured summary. Prioritize:
When presenting the summary, summarize actions and decisions - do not reproduce raw conversation content, code snippets, or credentials from conversation files.
Output a structured summary in this format:
## Context Restored
### Last Session
**Date:** [date of most recent conversation]
**Branch:** [git branch]
**Topic:** [first user message or session summary]
**Status:** [completed / in progress / abandoned]
### Recent Work
- [Bullet points of key accomplishments from last 1-3 sessions]
- [Include commit summaries for concrete evidence]
### Files Modified
- [Uncommitted changes from git status]
- [Stashed work from git stash list]
### Unfinished Work
- [Unchecked items from SESSION_PROGRESS.md]
- [In-progress roadmap features]
- [Anything started but not completed in conversations]
### Suggested Next Steps
1. [Most likely next action based on all context]
2. [Alternative if user wants to switch focus]
3. [Roadmap item if no active work exists]
After presenting the summary, ask the user what they'd like to do next. Present options derived from the unfinished work and suggested next steps using AskUserQuestion. Include these handoffs:
| User wants to... | Hand off to |
|-------------------|-------------|
| Continue active tracked work | /track-session resume |
| Pick a roadmap feature | /track-roadmap resume |
| Start something new | Begin directly |
Date: 2026-03-01 Branch: main Topic: "Add resume command to track-roadmap skill" Status: Completed - feature merged
/track-roadmap resume mode with session-check-first workflow (de5d3de)
**Why this is good:** Clear, structured, evidence-backed with commit hashes, honest about what's missing, actionable next steps.
</Good>
<Bad>
You were working on some stuff. Looks like there are things to do. Want me to help?
**Why this is bad:** No specifics, no evidence, no structure, no actionable information. This is useless for restoring context.
</Bad>
### Example: Partial Context (No SESSION_PROGRESS)
<Good>
```markdown
## Context Restored
### Last Session
**Date:** 2026-02-27
**Branch:** main
**Topic:** "Version and commit the current change"
**Status:** Completed - versioning and push done
### Recent Work
- Versioned and pushed changes (ef532460)
- Previous session: security audit of the repo (2277ca43)
### Files Modified
- No uncommitted changes
### Unfinished Work
- No SESSION_PROGRESS.md found (no active tracked work)
- ROADMAP.md not present
### Suggested Next Steps
1. No active work detected - what would you like to work on?
2. Consider creating a ROADMAP.md to plan features (`/track-roadmap`)
Why this is good: Honest about missing sources, still extracts useful context from what's available, suggests relevant next actions. </Good>
<Bad> ``` ERROR: No SESSION_PROGRESS.md found. Cannot restore context. ```Why this is bad: Treats a missing file as a failure. The skill should work with whatever sources exist, not require all of them. </Bad>
Date: 2026-03-01 Branch: feat/dark-mode Topic: "Implement dark mode theme switching" Status: In progress - Phase 2 of 4 complete
**Why this is good:** Shows multiple sessions with different contexts, identifies the most relevant in-progress work, surfaces uncommitted and stashed work, gives a clear "continue" option.
</Good>
---
## Troubleshooting
### Problem: No conversation files found
**Cause:** The project path slug doesn't match, or this is the first session in this directory.
**Solution:**
- List `~/.claude/projects/` and look for a matching slug
- The slug is derived from the git repo root, not just the current directory - all worktrees share one project directory
- If no files exist, report: "No previous sessions found for this project."
### Problem: Conversation files are very large (>1MB)
**Cause:** Long sessions produce large JSONL files.
**Solution:**
- Read the last 10-15 user messages first (most important context is at the end)
- Then read the first user message for the session topic
- Skip `progress` and `file-history-snapshot` type lines for speed
- Filter out `isSidechain: true` entries (subagent conversations)
### Problem: Git history doesn't match conversation context
**Cause:** Work was done but not committed, or commits came from another branch.
**Solution:**
- Check `git status` for uncommitted work
- Check `git stash list` for stashed changes
- Note the branch in conversation metadata vs. current branch
- Report discrepancies: "Last session was on branch X, but you're now on Y"
### Problem: Older sessions are missing
**Cause:** Claude Code deletes conversation history after 30 days by default.
**Solution:**
- Check `~/.claude/settings.json` for the `cleanupPeriodDays` setting
- Recommend increasing it if the user frequently takes long breaks between sessions
- Fall back to git log for historical context when conversations are unavailable
### Problem: Multiple projects share similar paths
**Cause:** Projects with similar names create similar slugs.
**Solution:**
- Always use the full `cwd` from conversation files to verify the match
- The slug is based on the git repo root, so subdirectories share the same project directory
---
## Integration
**This skill works with:**
- **track-session** - If SESSION_PROGRESS.md exists, remember surfaces its contents. If the user wants to continue, invoke `/track-session resume`.
- **track-roadmap** - If ROADMAP.md exists, remember includes roadmap status. If the user wants to pick a roadmap item, invoke `/track-roadmap resume`.
- **git-worktree** - When multiple worktrees exist, check the current worktree's branch against conversation history. Different worktrees may have separate SESSION_PROGRESS.md files.
**Workflow pattern:**
/remember → See context summary → Pick next action → /track-session or /track-roadmap
**Pairs with:**
- New session onboarding
- Post-break orientation
- Multi-day feature work across sessions
- Context handoff between developers
**How this skill differs from related commands:**
| Command | Purpose | Use when |
|---------|---------|----------|
| `/remember` | Summarize all recent context, then choose | Returning to a project, unsure what to do next |
| `/track-session resume` | Continue an active tracked session | You know there's a SESSION_PROGRESS.md to resume |
| `/track-roadmap resume` | Pick a roadmap feature and start working | You want to start a new feature from the roadmap |
| `claude --continue` | Blindly resume the last conversation | You know exactly where you left off |
development
EXPERIMENTAL. Mine recent Claude Code transcripts for friction events, cluster them by active skill, propose patches for skills with 3+ friction events, validate each patch via headless replay, scrub the report through /publish-check, and present an EVOLUTION_REPORT.md for human review on a branch (never auto-merge). Use when asked to "evolve my skills", "audit skills against recent friction", "propose skill improvements from transcripts", "run the skill evolution pipeline", or as part of a weekly skill-quality cadence.
testing
Manual QA tracking — things tests can't verify. Use when asked to "create a QA list", "set up QA for this project", "what should I QA", "track manual QA", "audit the QA list", or "start manual QA".
development
Multi-source web research with cited synthesis in chat. Use when asked to "research X", "deep research on Y", "deep dive on Z", "investigate this topic", "compare X and Y", "pros and cons of X", or "survey the landscape of Y".
development
Use this skill whenever the user wants a multi-agent review of local changes — triggers include "review my code", "review these changes", "do a code review", or "check my changes before I commit". Writes REVIEW.md. Do NOT use for an open PR by number (use /review) or a security-specific pass (use /security-review).