Claude-code-sessions session-diff
install
source · Clone the upstream repo
git clone https://github.com/apappascs/claude-code-sessions
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/apappascs/claude-code-sessions "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/session-diff" ~/.claude/skills/apappascs-claude-code-sessions-session-diff && rm -rf "$T"
manifest:
skills/session-diff/SKILL.mdsource content
Session Diff
Compare two sessions to see what changed.
Step 1: Resolve session paths
If the user provides two session IDs, resolve them:
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-store.ts list --project "$(basename $(pwd))" --limit 2
Use the
path fields from the results.
Step 2: Run the diff
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-parser.ts diff <session-a.jsonl> <session-b.jsonl>
Step 3: Interpret and present
The script outputs raw structural data. Your job is to synthesize the narrative:
- What was the focus of each session? (use
)first_user_messages - Files added/dropped/common between sessions
- Branch changes (did they switch branches?)
- Tool usage shifts (more editing? more reading? more testing?)
- Continuity — does session B pick up where A left off?
Present as a side-by-side comparison with your interpretation.