Agent Session Diff — Testing skill for Claude Code
Compare two AI coding-agent session exports (Claude Code, Codex CLI): file changes, commands, test runs and timing, using only what the logs record.
How to install Agent Session Diff
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jahau/agent-session-diff and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Session Diff does
Compare two AI coding-agent session exports (Claude Code, Codex CLI): file changes, commands, test runs and timing, using only what the logs record. Offline, deterministic, never executes logged commands.
Alternatives in Testing
- Marketing Skills Versions — Current versions of all skills 13.8k ★
- Debug — You are tasked with helping debug issues during manual testing or implementation 10k ★
- L Debug Trace — Analytically debug issues by tracing data flow through code - no logs, no test-and-see 3k ★
README
agent-session-diff
Compare two AI coding-agent session exports side by side: which files each agent changed, which commands it ran, how its test runs went, and how long it took. The comparison is built only from what the exports record.
agent-session-diff claude-session.jsonl codex-rollout.jsonl --html report.html

What it guarantees
- Explicit inputs only. You pass exactly two files. The tool does not scan
~/.claudeor~/.codex, find sessions for you, or make network requests. - Logged commands are never executed. No package in this module imports
os/exec,syscallornet. A test (TestNoProcessExecution) enforces this. - No inference. Values come from the exports or are shown as
not recorded. The tool does not fill in a Claude Code exit code of 0 for a successful command. It does not compute durations from timestamps. It does not turn shell commands such asrmorsed -iinto file changes. - Unsupported fields are labelled. Every report has a field-support table.
It lists each compared field as recorded, partial (with coverage, for example
1/6 commands), not recorded, or unsupported, with a note explaining why. - Deterministic. The same inputs and flags always give byte-identical terminal, HTML and JSON output. There is no "generated at" timestamp. Map order never affects output. Results don't depend on the OS the tool runs on.
- Redaction on request.
--redactremoves secrets and local paths before anything is compared or rendered.
Install
With Go 1.24 or newer:
go install github.com/jahau/agent-session-diff/cmd/agent-session-diff@latest
agent-session-diff version
Or download a prebuilt binary for Linux, macOS or Windows (amd64 and arm64) from the [Releases page](https://github.com/jahau/agent-session-diff/releases). Check the archive against `SHA256SUMS` before you run it:
sha256sum --check --ignore
Related Skills
Dodoguard
Test your prompts, agents, and RAGs. AI Red teaming, pentesting, and vulnerability scanning for LLMs. Compare
Data Quality Check
GENERATOR — produces dbt test definitions and/or Great Expectations suite YAML for a given table schema or dbt
Canary Debug Flake
Diagnose a flaky test and propose a deterministic fix from code, CI logs, or a failure description.
Manual QA
Generate a manual QA procedure from this session's changes and walk through it interactively. The user drives
Claude Code Canary
Regression testing and version bisecting for Claude Code. Compare releases, CLAUDE.md configs, hooks and plugi
Skill Trigger Lab
Lint, score and live-test whether an agent SKILL.md actually gets triggered. Deterministic offline frontmatter
Related Agents
Session Miner
Mines one batch of AI-coding session transcripts (Claude Code, Codex, Grok, and agy) for corrections, errored
CLI Researcher
Researches how an agent CLI (Codex, Gemini CLI, Kimi CLI, Grok, opencode…) stores its configuration — skills,
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and