
Diversion
- 12 repo stars
- Updated May 25, 2026
- DiversionCompany/diversion-claude
Tracks Claude Code session trajectory and links dv commits to checkpoints via the dv agent-session CLI.
About
diversion is a Claude Code skill in the Git & Pull Requests category. Tracks Claude Code session trajectory and links dv commits to checkpoints via the dv agent-session CLI.
- diversion
- Git & Pull Requests
- AI-coding skill
Diversion by the numbers
- Data as of Jul 31, 2026 (Skillselion catalog sync)
/plugin marketplace add DiversionCompany/diversion-claude/plugin install diversion@diversionAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 12 |
|---|---|
| Last updated | May 25, 2026 |
| Repository | DiversionCompany/diversion-claude ↗ |
What it does
Tracks Claude Code session trajectory and links dv commits to checkpoints via the dv agent-session CLI.
README.md
Diversion Claude Code Plugin
Diversion plugin for Claude Code. It captures your Claude Code conversations and links them to the Diversion commits they produced -- so you can later query why any change was made, what was discussed, and how decisions were reached.
What you get
- Checkpointed chat history. Every mutating tool call (Edit, Write, MultiEdit, Bash) records a checkpoint covering the new transcript bytes.
- Commits stamped with their chat. When you run
dv commit, the plugin attaches the latest checkpoint id, so the commit is permanently linked to the conversation that produced it. dvas the default VCS. In a Diversion workspace, the plugin tells Claude to usedv(notgit) for commit, branch, merge, etc./diversion:askslash command. Ask questions about any commit, file, or feature -- the analyst blames the relevant files, picks the commits that matter, and reads each commit's linked chat transcript to answer./diversion:checkpoint-statusslash command. Print a one-line summary of the current session's checkpoint state.
Failure mode is fail-open: if anything goes wrong (no dv on PATH, not in a Diversion repo, server unreachable) the tool call proceeds unchanged.
Install
Prerequisites
- Diversion installed (provides
dvon yourPATH). If not installed, follow the install guide at https://app.diversion.dev/welcome. - Launch
claudefrom inside a.diversion/workspace (or a subdir of one).
Install via the Claude Code marketplace
Run inside Claude Code:
/plugin marketplace add DiversionCompany/diversion-claude
/reload-plugins
/plugin install diversion@diversion
After install, quit Claude Code (/quit or Ctrl-D) and relaunch from the repo you want to use it in:
cd path/to/your/diversion/repo
claude
Updating
/plugin marketplace update diversion
/plugin install diversion@diversion
Then relaunch claude.
One-time: silence the dv Bash permission prompts
By default Claude Code prompts before running each dv subcommand the plugin invokes from /diversion:ask and /diversion:checkpoint-status. Add the plugin's read-only dv patterns to ~/.claude/settings.json once:
/diversion:setup-permissions
The command edits ~/.claude/settings.json in place, only adds missing entries, and prints which ones were new. Restart Claude Code afterwards.
Using /diversion:ask
/diversion:ask <query> answers questions about your repo by combining the code, dv blame/log metadata, and the Claude Code transcripts that were captured at commit time. The raw transcripts stay inside a sub-agent's context; only the summarized answer comes back to your session.
You can ask about:
- A specific commit -- "what was the AI doing in
dv.commit.41508?" - A file or path -- "why was
core/src/api/auth.pyrewritten last month?" - A feature or area -- "how did we end up with the current merge-conflict resolver?"
- A line range -- "explain
core/src/sync/engine.pylines 120-180." - A time window -- "what AI-assisted work landed last week?"
Examples:
/diversion:ask dv.commit.41508
/diversion:ask why did we change the retry logic in core/src/sync/engine.py
/diversion:ask summarize last week's AI work on the auth subsystem
Follow-up questions on the same subject reuse the analyst's local cache, so they're cheap -- just keep asking.
Support
For questions or issues with the plugin:
- Chat with us in the Diversion app (desktop or web) -- look for the chat widget
- Email support@diversion.dev
- Bug reports -- open an issue on GitHub