Skip to content
Development
Command

/catchup

Rebuild context after `/clear` or starting a new session.

From plugin
agent-deck
6912 skills2 commands
Install
> /plugin marketplace add asheshgoplani/agent-deck
> /plugin install agent-deck@agent-deck

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/catchup

Context preview

What this command does when you run it.

Rebuild context after `/clear` or starting a new session.

Command definition

catchup.md

Context Restoration

Rebuild context after `/clear` or starting a new session.

Instructions

1. Check Git Status

# Current branch and status
git status

# Recent commits
git log --oneline -10

# Changes since last commit
git diff --stat

# Staged changes
git diff --cached --stat

2. Identify Current Work

  • What branch are we on?
  • What feature/task is in progress?
  • Are there uncommitted changes?
  • What was the last commit about?

3. Read Key Context Files

# Project guidelines
cat CLAUDE.md

# Session handoff (primary context restore)
cat .claude/plans/SESSION-HANDOFF.md 2>/dev/null || echo "No session handoff file"

# Recent decisions
cat .claude/plans/DECISIONS.md 2>/dev/null || echo "No decisions file"

# Current todos
cat .claude/plans/TO-DOS.md 2>/dev/null || echo "No todos file"

4. Summarize Recent Changes

Review recently modified files:

# Files changed in last 5 commits
git diff --name-only HEAD~5..HEAD

# Most recently modified files
ls -lt src/**/*.{ts,tsx} 2>/dev/null | head -10

5. Check for In-Progress Work

  • Open TODOs in code (`grep -r "TODO" src/`)
  • Failing tests (`npm run test:run`)
  • Build errors (`npm run build`)

Output Format

## Session Context Restored

### Current State
- Branch: `feature/xyz`
- Last commit: "feat: add email threading"
- Uncommitted changes: 3 files

### Session Handoff
[Summary from .claude/plans/SESSION-HANDOFF.md]

### In Progress
[Description of current work based on changes]

### Recent History
1. [Commit 1 summary]
2. [Commit 2 summary]
3. [Commit 3 summary]

### Open Tasks
- [ ] [Task from .claude/plans/TO-DOS.md]

### Key Decisions
- [Recent decisions from .claude/plans/DECISIONS.md]

### Next Steps
Based on the context, you should probably:
1. [Suggested next action]
2. [Suggested next action]

### Key Files to Review
- `src/components/X.tsx` - Recently modified
- `src/hooks/useY.ts` - In progress

Use After

  • Running `/clear`
  • Starting a new Claude Code session
  • Returning after a break
  • Switching between branches
Read more
Ships withagent-deck

Your AI agent command center Install . Quick Start . Features . Conductor . Docs . Discord . FAQ Agent Deck is mission control for your AI coding agents. Running Claude Code on ten projects, OpenCode on five more, another agent somewhere in the background?

Get the whole plugin
Stats
697
Stars
113
Forks
Active
Maintenance
Go
Language
MIT
License
6d ago
Last commit
8mo ago
Created

Repo: asheshgoplani/agent-deck