hamarshehmhmd

Benchmine — Git skill for Claude Code

Git community

Turn your repo's own git history into a private benchmark for coding agents (Claude Code, Codex, Gemini CLI, Cursor, Aider): validated fail->pass tasks, pass rate with CIs, cost, and a statistical reg.

How to install Benchmine

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hamarshehmhmd/benchmine and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Benchmine does

Turn your repo's own git history into a private benchmark for coding agents (Claude Code, Codex, Gemini CLI, Cursor, Aider): validated fail->pass tasks, pass rate with CIs, cost, and a statistical regression check after model updates.

Alternatives in Git

  • Cc Usage — by ryoppippi - Handy CLI tool for managing and analyzing Claude Code usage, based on analyzing local Claude Co 11.7k ★
  • Perfup — Autonomous performance optimization: research, PoC, benchmark, implement, review, PR 3.6k ★
  • Skill Copilot Provider — GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 2.8k ★

README

benchmine

[![CI](https://github.com/hamarshehmhmd/benchmine/actions/workflows/ci.yml/badge.svg)](https://github.com/hamarshehmhmd/benchmine/actions/workflows/ci.yml) [![License: AGPL-3.0-or-later](https://img.shields.io/badge/license-AGPL--3.0--or--later-blue.svg)](LICENSE) ![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue.svg) ![Dependencies: none](https://img.shields.io/badge/dependencies-none-brightgreen.svg)

**Is the new coding model better on *your* code? Did the one you use quietly get worse?**

Every week brings a new coding model or harness, and a thread asking whether the old one got worse: ["Is Opus 5.5 nerfed? Thinking patterns changed on November 3"](https://news.ycombinator.com/item?id=50422069) (786 points), [Livenerf](https://news.ycombinator.com/item?id=49901736) (926 points). Those threads end in vibes versus vibes, because nobody has a baseline on their own work. Public leaderboards test someone else's tasks, and [their scores don't always hold up on re-check](https://news.ycombinator.com/item?id=50406222). The top comments keep asking for the same thing: *"we need to move to a world where it's easy to build and maintain our own benchmarks based off our own code base."*

`benchmine` builds that benchmark from your git history. Every past change that touched code **and** tests becomes a task: the parent commit is the starting tree, the commit / PR message is the prompt, and the change's own tests are the hidden grader. Run any agent (Claude Code, Codex, Gemini CLI, Cursor CLI, Aider, OpenCode or your own command) on the tasks, get pass rate with confidence intervals, time, cost and diff size, and re-run later to see whether a model update made things statistically worse.

![benchmine demo](docs/demo.gif)

curl -fsSL https://raw.githubusercontent.com/hamarshehmhmd/benchmine/main/install.sh | sh

(or `pipx install git+https://github.com/hamarshehmhmd/benchmine` / `uv tool install git+https://github.com/hamarshehmhmd/benchmin