Skip to main content

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

string
default:"7"
Number of days to look back in journal history
string
Filter by specific project identifier
boolean
Show context across all tracked projects
string
Show context for a specific date (YYYY-MM-DD)
string
Start date for range (YYYY-MM-DD)
string
End date for range (YYYY-MM-DD)
boolean
Generate an AI-powered “where did I leave off?” summary
boolean
Show detailed active branch status
boolean
Do not copy AI summary to clipboard
boolean
Output raw context data (no formatting)
boolean
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:
  1. What I was working on - Main themes and tasks
  2. Current state - What’s done, in progress, pending
  3. Open threads - Uncommitted work, open PRs, unfinished tasks
  4. 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 --ai mode only)