Skip to main content
The context command helps you recover your work context after time away, context switching, or returning to a project. It visualizes your recent activity from saved journal snapshots.

Quick Start

Recover your work context from the last 7 days:
Get an AI-powered “where did I leave off?” summary:

How It Works

1

Retrieve Snapshots

Pulls saved journal snapshots from the specified date range.
2

Analyze Activity

Shows current branch, active branches with uncommitted work, and recent activity timeline.
3

Display Context

Renders PRs, tickets, work areas, and progression across days.
4

AI Summary (Optional)

Generates a concise briefing of what you were working on and suggested next steps.
Context recovery requires journal snapshots. If you haven’t taken snapshots yet, the command will create one for you automatically.

Command Options

Time Range

Project Filtering

Display Options

Output Components

Project Header

Shows project name, path, active days, and total commits.

Current Branch

Displays your current working branch.

Active Branches

Shows branches with work-in-progress:
  • - Current branch marker
  • ← you are here - You’re currently on this branch
  • ↑N ahead - Branch is N commits ahead of base
  • ● uncommitted changes - Branch has uncommitted work

Activity Timeline

Chronological view of recent work:

Pull Requests

  • - Open PR (green)
  • - Merged PR (accent color)
  • - Closed PR (gray)

Tickets

Work Areas

Bar chart showing time distribution:

AI-Powered Summary

Add --ai to get a concise briefing:

Example AI Output

The AI analyzes:
  • Main work themes over the period
  • What’s completed vs. in progress
  • Open branches and uncommitted work
  • Logical next steps based on patterns
The AI summary is automatically copied to clipboard (disable with --no-copy).

Multi-Project Context

View context across all your projects:
Shows separate sections for each project you’ve worked on.

First-Time Usage

If you haven’t taken snapshots yet:
DevDaily automatically creates your first snapshot and then displays context.

Building Your Journal

To build up context history:

Use Cases

After a Weekend

After Context Switching

After a Vacation

Reviewing Old Work

Daily Standup Prep

Detailed Branch View

Use --branches to see all active branches, not just those with uncommitted work:
Shows:
  • All branches with recent commits
  • Last commit message per branch
  • Files modified in each branch
  • Commits ahead of base

Raw Context Mode

For automation and integrations:
Outputs the raw journal entries in a structured format:

Example Workflows

Quick Morning Check

Deep Dive Recovery

Project-Specific Recovery

Export for Documentation

Configuration

Customize in .devdaily.json:

Troubleshooting

If you see “No work context found for the specified period”:
  1. Take snapshots to build your journal:
  2. Look back further:
  3. View all snapshots:
Journal snapshots are only as complete as the data saved:
  • Take snapshots regularly (daily or after major work)
  • Enable auto-snapshots (enabled by default in standup, pr, week)
  • Use --debug to see what data is available
Ensure GitHub Copilot CLI is installed: