nagarjunak-pixel

Tracegit — AI skill for Claude Code

AI community

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

[![CI](https://github.com/nagarjunak-pixel/tracegit/actions/workflows/ci.yml/badge.svg)](https://github.com/nagarjunak-pixel/tracegit/actions/workflows/ci.yml) [![Python 3.13](https://img.shields.io/badge/python-3.13-3776AB.svg)](https://www.python.org/) [![C++20 Native](https://img.shields.io/badge/C%2B%2B20-Wagner--Fischer%20%2B%20Thrash-00599C.svg)](csrc/tracegit_kernels.cpp) [![MCP Ready](https://img.shields.io/badge/MCP-Claude%20Code%20%7C%20Cursor-8B5CF6.svg)](src/tracegit/mcp/server.py) [![Coverage 97.55%](https://img.shields.io/badge/coverage-97.55%25-10B981.svg)](tests/) [![Release v1.0.0](https://img.shields.io/badge/release-v1.0.0-1f6feb.svg)](https://github.com/nagarjunak-pixel/tracegit/releases/tag/v1.0.0) [![License: MIT](https://img.shields.io/badge/License-MIT-10b981.svg)](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

![tracegit Live Workbench — Native C++20 Wagner–Fischer Step Alignment, First-Divergence Bisect & Loop-Thrash CI Gate](docs/assets/workbench-preview.png)


Why Developers Install `tracegit`

  1. GitHub-PR-Style Step Alignment (diff + bisect): Powered by a native C++20 (clang++ -O3) Wagner–Fischer dynamic-programming aligner over 64-bit blake2b step hashes (MATCH, SUBSTITUTE, DELETE_BASE, INSERT_CANDIDATE), pinpointing the exact first divergent tool call between a working run and a failing run.
  2. 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.
  3. **Content-Addressable SQLite