agentleFS
apappascsapappascs/claude-code-sessions/skills/session-diff/SKILL.md

session-diff

Skill2 starsChanged 26 days agoMITView on GitHub

Compares two Claude Code sessions — shows what changed in files, tools used, branches, and topics. Use when the user says "what changed between sessions", "diff sessions", "compare yesterday and today", or wants to understand how work evolved across sessions.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user provides two session IDs, resolve them:

    line 16
  2. Very specific:

    Use the path fields from the results.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 --format json

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.