Overview
Session Compare lets you select two Work Sessions and compare their intent, decisions, and outcomes side by side. It's especially useful for comparing sessions where similar problems were solved with different approaches.
Report Structure
The comparison report analyzes both sessions in parallel.
Date, commit count, and main tags for each session
Contrast analysis of how each session approached the problem differently
Files changed, diff size, and completed tasks compared side by side
Patterns and improvement points derived from comparing the two sessions
Usage Guide
Command Syntax
Type the command below in the Claude Code conversation window. You can omit one or both session IDs.
/session-compare [sessionId1?] [sessionId2?]Calling Patterns
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| sessionId1 | string | Optional | auto-selected | ID of the first session to compare. Omit to let the server auto-select the most recent session. |
| sessionId2 | string | Optional | auto-selected | ID of the second session to compare. Omit to let the server auto-select the session prior to sessionId1. |
Execution Flow
Error Reference
aiflare.yml is missing from the project root or api_key is empty.
The project has fewer than two recorded sessions. At least two sessions with commits are needed to generate a comparison.
One of the specified session IDs does not exist. Verify the session ID in the dashboard's session list.