Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Diversion avatar

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@diversion

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars12
Last updatedMay 25, 2026
RepositoryDiversionCompany/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.
  • dv as the default VCS. In a Diversion workspace, the plugin tells Claude to use dv (not git) for commit, branch, merge, etc.
  • /diversion:ask slash 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-status slash 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 dv on your PATH). If not installed, follow the install guide at https://app.diversion.dev/welcome.
  • Launch claude from 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.py rewritten 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.py lines 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:

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.