forkmind — Claude Code plugin: what it does, how to install
forkmind is a Claude Code plugin that stores LLM calls as a DAG on your disk. Branch and rerun history to compare models or prompts.
MIT ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install forkmind@awesome-claude-code-pluginsWhat forkmind does
Four parts land in Claude: the forkmind skill, the /forkmind slash command, the forkmind-debugger subagent and an MCP server that hooks itself up. Every model call is stored as a node in a DAG, so a branch can be opened from any of them and re-run against what you already captured.
The command does four things: start, branch, test, mcp. Comparisons between models or prompts go to the subagent, which works in isolation and returns a short verdict rather than flooding the main context. The skill also picks the task up by itself once the talk turns to debugging, comparing or regressions.
Ollama keeps the loop on your machine and costs nothing. An OpenAI-compatible API is an option too, though calls leave your machine then. History lives in .forkmind/ inside the project and agents query it over MCP, which is fine until that folder ends up in a commit.
What it helps with
- compare two models on one prompt
- fork a good call and carry on from it
- regression-test a prompt edit against saved calls
- trace which step pushed the answer off course
- keep debug history on disk instead of a hosted tracer
Example prompts for the agent
- Start a fresh debug session with
/forkmindfor this request. - Use
/forkmindto branch from the third call in.forkmind/and rerun it on another model. - Have the subagent compare both prompts and return just the short verdict.
How to install forkmind
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install forkmind@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about forkmind
How do I install forkmind in Claude Code?
Add the marketplace first: /plugin marketplace add ccplugins/awesome-claude-code-plugins. Then install the plugin: /plugin install forkmind@awesome-claude-code-plugins.
What does forkmind do?
It captures LLM calls as a DAG, then lets you branch them, compare models and run regressions over that history. A skill, slash command, subagent and MCP server come with it.
Can it run without a hosted API?
Yes. Ollama keeps everything local, so requests never leave the machine. Point it at an OpenAI-compatible API when you want a different model.
Source text
forkmind · MIT
# ForkMind 🧠 Local-first LLM branching & debugging. Treat AI context windows like a Git repo — capture, branch, and regression-test LLM calls as a DAG. Free & local via Ollama, any OpenAI-compatible API, and an MCP server so agents query their own history. - **Skill** `forkmind` — Claude reaches for it on debug/compare/branch/regression. - **Command** `/forkmind` — start / branch / test / mcp. - **Agent** `forkmind-debugger` — isolated model/prompt compares, compact verdict. - **MCP** auto-wired — agents query their own `.forkmind/` history. Source & docs: https://github.com/Medhovarsh/forkmind Homepage: https://medhovarsh.github.io/forkmind/
© Medhovarsh Bayyapureddi · MIT · ccplugins/awesome-claude-code-plugins