Diversion plugin for Claude Code. 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. Hook logic ships inside the dv binary; no Python required on the host.
Investigate AI conversations behind Diversion commits, files, or features. The ask-analyst sub-agent can blame files, walk `dv log`, fetch the linked Claude Code transcripts for any commits it discovers, and synthesize an answer. Fetch and analysis happen inside the sub-agent so raw transcripts stay out of this session's context -- only summarized answers come back.
Show the Diversion plugin checkpoint state for the current session.
Add the Diversion plugin's required Bash permission patterns to ~/.claude/settings.json so dv calls stop re-prompting.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
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.
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.
dv on your PATH). If not installed, follow the install guide at https://app.diversion.dev/welcome.claude from inside a .diversion/ workspace (or a subdir of one).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
/plugin marketplace update diversion
/plugin install diversion@diversion
Then relaunch claude.
dv Bash permission promptsBy 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.
/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:
dv.commit.41508?"core/src/api/auth.py rewritten last month?"core/src/sync/engine.py lines 120-180."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.
For questions or issues with the plugin:
npx claudepluginhub diversioncompany/diversion-claude --plugin diversionComprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.