Description
Helps you quickly recover your work context after time away or context switching. Shows your recent activity, active branches, work-in-progress, and provides AI-powered summaries of where you left off. Aliases:ctx, resume
Usage
Options
Number of days to look back in journal history
Filter by specific project identifier
Show context across all tracked projects
Show context for a specific date (YYYY-MM-DD)
Start date for range (YYYY-MM-DD)
End date for range (YYYY-MM-DD)
Generate an AI-powered “where did I leave off?” summary
Show detailed active branch status
Do not copy AI summary to clipboard
Output raw context data (no formatting)
Show debug output
Examples
See what you were working on
AI summary of where you left off
Last 14 days
Specific date
All branches with status
Cross-project context
Specific project
What It Shows
Current State
- Current branch and repository
- Active branches with uncommitted changes
- Branches ahead of base (unpushed commits)
- Work-in-progress status
Activity Timeline
- Day-by-day commit history
- Branch switches and context changes
- Notes and tags from snapshots
- Diff statistics per day
Pull Requests
- Open, merged, and closed PRs
- PR status and linked branches
Tickets
- Associated ticket IDs
- Ticket status and titles
Work Areas
- Percentage breakdown by category (frontend, backend, etc.)
- File change patterns
AI Summary Mode
With--ai, generates a concise briefing including:
- What I was working on - Main themes and tasks
- Current state - What’s done, in progress, pending
- Open threads - Uncommitted work, open PRs, unfinished tasks
- Suggested next steps - What to pick up first
Journal Snapshots
The context command relies on journal snapshots. If you haven’t taken any snapshots yet:Requirements
- Journal snapshots (taken with
devdaily snapshot) - Git repository (for live snapshot if no journal data)
- GitHub Copilot CLI (for
--aimode only)