h-a-forster

Agent Ab — Development skill for Claude Code

Development community

Controlled A/B experiments for coding-agent setups: instructions, skills, models, effort and prompts, measured on hidden tests with paired statistics.

How to install Agent Ab

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

What Agent Ab does

Controlled A/B experiments for coding-agent setups: instructions, skills, models, effort and prompts, measured on hidden tests with paired statistics.

Alternatives in Development

  • Sandbox-agent (Rivet) — Run Claude Code and other coding agents in sandboxes controlled over HTTP 1.2k ★
  • Fable OS — An agentic operating system where the kernel is controlled directly by Claude 324 ★
  • Claude Fable 5 Prompt Strategies — Use when composing prompts targeting Claude Opus 5 (Claude 디폴트), Fable 5, Opus 4.8, or Sonnet 5 — 최신 Claude 프롬 176 ★

README

agent-ab

[![CI](https://github.com/h-a-forster/agent-ab/actions/workflows/ci.yml/badge.svg)](https://github.com/h-a-forster/agent-ab/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](pyproject.toml)

A/B tests for coding-agent setups: instruction files, skills, models, effort levels and prompts.

Changes to an agent setup are usually judged from a few runs, and single runs are noisy: the same agent can pass a task once and fail it the next time. agent-ab runs the same tasks under each configuration, each trial in a fresh workspace, and grades every trial with a hidden check the agent never sees. It pairs the configurations task by task and reports the pass-rate difference with a confidence interval and a p-value. When the data cannot separate the configurations, it says "no detectable difference".

Runs on Linux, macOS and Windows. Python 3.11+, no runtime dependencies.

Example: [Claude Code with and without tests](docs/results.md), 50 tasks on Haiku 5.5, plus Haiku 5.5 against Sonnet 5.5. See Findings below.

Findings

From the [example results](docs/results.md). All runs used Claude Code with Python tasks. The no-tests experiment was re-run with the clean-copy grader and the fixed `feature-uri-resolve` oracle; the other runs predate both ([limitations](docs/results.md#limitations-of-the-new-runs)).

  • No detectable effect of skipping tests on pass rate. On Claude Haiku 5.5, 50 tasks x 3 repeats: 95.3% with tests, 92.7% without, a difference of -2.7 pts [-7.3, +1.3]. A drop larger than about 7 points is unlikely; a small one is not ruled out. Ceiling effects limit this. A re-run with the current grader and a newer Claude Code gave the same difference: 96.7% vs 94.0%, -2.7 pts [-6.7, +1.3]. It is not a clean replication: both of its arms also loaded the machine owner's user-level CLAUDE.md, which asks for a failing test