forkmind-debugger

forkmind-debugger is an agent for Claude Code from Medhovarsh/forkmind. It costs 89 tokens per session (466 once invoked), scanned A, original, MIT.

A debugging agent for ForkMind, a local tool that records calls to language models and lets you compare them as branches. It examines prompts, models, responses, token use, and changes over time.

In plain words
What is it for?
Use it to compare prompts or models, investigate changed outputs, branch from an earlier interaction, and regression-test AI calls.
Why use it?
It helps find why an AI answer changed and whether a new answer has drifted from a known baseline.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forkmind plugin — 2 skills, 1 command, 2 agents, 1 MCP server shipped together

Good fit Use it to compare prompts or models, investigate changed outputs, branch from an earlier interaction, and regression-test AI calls.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/medhovarsh/forkmind/forkmind-debugger
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Medhovarsh/forkmind

Made for: Claude Code.

Or install forkmind, the plugin that ships this one along with the rest of its 2 skills, 1 command, 2 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forkmind-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/medhovarsh/forkmind/forkmind-debugger/github.svg)](https://agentmods.dev/agents/medhovarsh/forkmind/forkmind-debugger)
Your own site
<a href="https://agentmods.dev/agents/medhovarsh/forkmind/forkmind-debugger"><img src="https://agentmods.dev/badge/agents/medhovarsh/forkmind/forkmind-debugger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forkmind-debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/medhovarsh/forkmind/forkmind-debugger"><img src="https://agentmods.dev/badge/agents/medhovarsh/forkmind/forkmind-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00466
Opus 5.5 $0.00036 $0.00186
Sonnet 5.5 $0.00018 $0.00093
Haiku 4.5 $0.00009 $0.00047

Measured 1mo ago against content hash fa946ccece35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forkmind-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/forkmind-debugger.md · 44 lines

What it actually says

You drive ForkMind — a local-first proxy that records LLM calls into .forkmind/ as a branchable DAG. Your job: run the comparison/debug the caller asked for, then report a tight verdict.

Operating rules

  • ForkMind is local, free (Ollama default), no cloud. Never send data anywhere.
  • Start it if not running: npx github:medhovarsh/forkmind start (proxy + dashboard on :4500). Clients hit http://localhost:4500/v1.
  • Inspect captured runs from .forkmind/ (plain JSON on disk) — read nodes directly rather than re-running when the data already exists.
  • If forkmind mcp history tools are available, use them to trace lineage.

Workflow

  1. Confirm what to compare: prompt A vs B, model X vs Y, or before/after a tweak.
  2. Ensure ForkMind is up; route each variant through the proxy so each becomes a DAG node.
  3. Read the resulting nodes: request, response, tokens, provenance, stream flag.
  4. For regression: compare against the pinned baseline; flag drift.

Report format (return this, nothing more)

VERDICT: <one line — winner / root cause / drift yes-no>
A (<model/prompt>): <key output trait> · <tokens>
B (<model/prompt>): <key output trait> · <tokens>
DIFF: <what actually changed and why it matters>
NEXT: <recommended action — pin baseline / switch model / edit prompt>

Keep it short. Caller wants the conclusion, not the logs.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 44 lines · 89 tokens per session scan A fa946ccece35

Subscribe to this mod's changes

forkmind-debugger is an agent published in the GitHub repository Medhovarsh/forkmind (3 stars, last pushed 2mo ago), licensed MIT. It adds 89 tokens to every session and 466 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

prompt

Designs versioned system prompts, few-shot libraries, and chain-of-thought patterns with A/B testing and regression coverage — treats prompts as production code. Use when engineering a production LLM feature, auditing a prompt library for drift, or building prompt versioning infrastructure. Trigger with "design this…

jeremylongshore/tons-of-skills-marketplace · 70 tokens

token

Optimizes LLM context windows through token budgeting, chunking strategy, and truncation design. Use when you need to control token spend, design a chunking pipeline, or audit token usage in a production AI system. Trigger with "design my token budget", "fix my context overflow".

jeremylongshore/tons-of-skills-marketplace · 60 tokens

tune

Designs LLM fine-tuning pipelines using PEFT/LoRA, RLHF, and instruction datasets, and systematically optimizes prompts before recommending fine-tuning. Use when prompt engineering alone isn't achieving target quality or you need a smaller, cheaper model for a specific task. Trigger with "design a fine-tuning…

jeremylongshore/tons-of-skills-marketplace · 74 tokens

workflow-prompt-writer

Use this agent when writing, reviewing, or debugging LLM prompt files (.prompt). Specializes in Liquid.js template syntax, YAML frontmatter configuration, and Output SDK prompt conventions.

growthxai/output · 42 tokens

rust-performance-engineer

Rust performance optimization specialist specializing in macOS optimizations (sccache, XProtect), profiling with flamegraph, benchmarking with criterion, and build speed improvements. Use when performance concerns are mentioned, slow code identified, build times need optimization, or macOS-specific optimization needed.

bug-ops/zeph · 60 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.

echoVic/blade-code · 48 tokens