Tracegit — AI skill for Claude Code
Local-First Git for AI Agent Execution Traces: Native C++20 Trajectory Alignment & Loop-Thrash Detector, Content-Addressable SHA-256 Merkle DAG Store, CI Regression Gate & Drop-In Claude Code / Cursor.
How to install Tracegit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nagarjunak-pixel/tracegit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tracegit does
Local-First Git for AI Agent Execution Traces: Native C++20 Trajectory Alignment & Loop-Thrash Detector, Content-Addressable SHA-256 Merkle DAG Store, CI Regression Gate & Drop-In Claude Code / Cursor MCP Server
Alternatives in AI
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
- Anti AI Writer — Paraphrasing Skill for Claude to Reduce AI Detector Result 236 ★
- Debug Skill — Give your AI agent a real debugger — breakpoints, stepping, variable inspection, and stack traces via CLI 218 ★
README
tracegit — Git for AI Agent Execution Traces
[](https://github.com/nagarjunak-pixel/tracegit/actions/workflows/ci.yml) [](https://www.python.org/) [](csrc/tracegit_kernels.cpp) [](src/tracegit/mcp/server.py) [](tests/) [](https://github.com/nagarjunak-pixel/tracegit/releases/tag/v1.0.0) [](LICENSE)
**Stop losing hours reading giant JSON logs when an AI agent loops, skips tests, or blows up token budgets.** `tracegit` brings **`git log`**, **`git diff`**, **`git bisect`**, a **CI pre-ship regression gate**, and a **drop-in Claude Code / Cursor `MCP` server** to local AI agent trajectories.
Live Trajectory Diff, Bisect & Loop-Thrash Workbench

Why Developers Install `tracegit`
- GitHub-PR-Style Step Alignment (
diff+bisect): Powered by a nativeC++20(clang++ -O3) Wagner–Fischer dynamic-programming aligner over 64-bitblake2bstep hashes (MATCH,SUBSTITUTE,DELETE_BASE,INSERT_CANDIDATE), pinpointing the exact first divergent tool call between a working run and a failing run. - Runaway Retry Loop (
Loop-Thrash) Detector: Sliding-window n-gram (p = 1, 2, 3) cycle detector quantifies exact wasted steps and tokens when an agent gets stuck re-reading or re-grepping the same file. - **Content-Addressable SQLite
Related Skills
Agent Regression Evals
Use before shipping any agent, prompt, model or tool change, or when a pass-rate drop needs a verdict. Runs re
Local Faiss MCP
Local FAISS vector store as an MCP server – Agent Memory, drop-in local semantic search for Claude / Copilot /
VibeChard
Per-task isolated worktrees for parallel Apple development with AI agents. Run multiple Claude / Codex / Copil
Global Blocks
Claims that survive crossing a boundary — addressable, versioned, hash-chained blocks for AI agents; portals n
Witness
Human approval for risky AI agent tool calls. Claude Code plugin, MCP proxy and SDK: allowed calls run, forbid
Evolving Memory
[MOVED → evolving-agents/packages/memory] Cognitive Trajectory Engine. Its dual-embedding resolver was rebuilt
Related Agents
Trajectory Monitor
Independent drift detector, run every N rounds by the driver. Looks at the last N commits and decides whether
Dag Validator
Coordinator agent that spawns specialist sub-agents (bottleneck-analyzer, duplication-detector, conflict-audit
Drift Detector
Verify plan-vs-design alignment before build. Catch missing coverage, scope creep, and contradictions.