Agent Ab — Development skill for Claude Code
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
[](https://github.com/h-a-forster/agent-ab/actions/workflows/ci.yml) [](LICENSE) [](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
Related Skills
Agent Habits
Do coding agents have habits? Claude Code (Sonnet, Haiku) vs Codex on the same tasks, measured structurally wi
Evidence Echo
Claude Code plugin: evidence-graded research digests from the RSS feeds you follow. Keeps only articles with m
Claude Code Prompt Override
Claude Code prompt-override experiments: which levers actually change refusal behavior, measured
Cua Hunt
Hunt Computer-Use-Agent (CUA) prompt-injection surface — instructions planted in CUA-readable DOM channels (hi
Skill Customs
Customs check for third-party agent skills before install or update: pin the revision, declare needed capabili
Dagger
Run controlled pressure fuzzing, destructive local failure tests, and negative validations.
Related Agents
Perf Theory Tester
Execute controlled perf experiments, one change at a time, with rollback between runs.
QA Flaky Test Investigator
Investigates a test that fails intermittently, measuring how often it fails and separating confirmed causes (o
Selfish Evolution
Run retrospectives and controlled experiments that improve the system while preserving the human’s authority o