AI Tester — Testing skill for Claude Code
End-to-end behavioral testing skills, bare system prompts, and any agent runtime — run real scenarios in an isolated git sandbox, capture the full tool-call trace, and assert it against declarative YA.
How to install AI Tester
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lee-to/ai-tester and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Tester does
End-to-end behavioral testing skills, bare system prompts, and any agent runtime — run real scenarios in an isolated git sandbox, capture the full tool-call trace, and assert it against declarative YAML.
Alternatives in Testing
- /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★
- QA Tester 24.1k ★
- L Debug Trace — Analytically debug issues by tracing data flow through code - no logs, no test-and-see 3k ★
README
ai-tester
End-to-end behavioral testing for **skills**, **bare system prompts**, and agent runtimes. Run real scenarios in an isolated git sandbox, capture normalized tool-call traces, and assert behavior with declarative YAML.
[](./LICENSE) [](https://www.rust-lang.org) [](https://github.com/lee-to/ai-tester/actions/workflows/ci.yml)
Why ai-tester?
LLM tests that mock the model are easy to write and weak at catching production failures. The real bugs show up in tool-use sequences, sandbox behavior, permission-mode differences, and the instructions the model actually sees.
`ai-tester` creates a throwaway sandbox per scenario, runs the selected runtime, records every normalized turn and tool call, and evaluates the run against YAML assertions.
Features
- Native Rust CLI. No Node runtime or embedded SDK dependency.
- Real runs, real tools. Scenarios execute inside an isolated temporary sandbox.
- Multi-runtime. Built-in adapters for Claude Code and OpenAI Codex through their installed CLIs, plus generic ACP agents configured per project.
- Three prompt sources. Test a packaged skill, an inline
system_prompt, or an external prompt file. - Scripted user turns. Use
user_promptoruser_promptsfor custom session flow. - Declarative assertions.
tool_called,tool_call_sequence,no_tool_called,output_contains,no_output_contains,file_read,turn_count_at_most, andno_path_escape. - Fixtures. Inline files,
content_from, directory trees, staged changes, committed baselines, and setup commands. - Trace output. Every live run writes a schema
2.0.0JSON trace underruns/. - History view.
ai-tester historysummarizes prior v2 traces. - Self-update.
ai-tester updatepulls the latest GitHub rel
Related Skills
Ak Render
Declarative interactive HTML renderer and Page Spec runtime for AgentKit
Tester
Spec-driven test generation and cross-language behavioral verification for apcore ecosystem — ONLY when user e
Baro
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Moz
Dodoguard
Test your prompts, agents, and RAGs. AI Red teaming, pentesting, and vulnerability scanning for LLMs. Compare
AI Watch Tester
AI-powered automated E2E testing. Just enter a URL — AI generates and runs test scenarios.
Specdrive
Spec-driven development, enforced. An MCP server + Mac app that forces AI coding agents through specs, scenari
Related Agents
Voicebot Call Debugger
Root-causes a deployed Voicenter voice bot's runtime from one per-call session dump (folder or zip of the NNN-
Hcs Eval Reviewer
Reviews regression-trap quality and eval harness coverage for HCS. Ensures traps capture real failure classes
Review Test Crash Safety
Reviews test code for crash safety testing quality and production assert statements: whether crash/recovery sc