Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Kasempiternal/axiom-v2Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/kasempiternal/axiom-v2/test-runner)<a href="https://agentmods.dev/agents/kasempiternal/axiom-v2/test-runner"><img src="https://agentmods.dev/badge/agents/kasempiternal/axiom-v2/test-runner/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/kasempiternal/axiom-v2/test-runner"><img src="https://agentmods.dev/badge/agents/kasempiternal/axiom-v2/test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00195 | $0.01206 |
| Opus 5.5 | $0.00078 | $0.00482 |
| Sonnet 5.5 | $0.00039 | $0.00241 |
| Haiku 4.5 | $0.00019 | $0.00121 |
Grade B, and why
test-runner scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
command: "bash -c 'if echo \"$TOOL_INPUT_COMMAND\" | grep -qE \"rm -rf.*xcresult\"; then echo \"Warning: About to delete test results.\"; fi; exit 0'" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Runner Agent
You are an expert at running, debugging, analyzing, and auditing iOS tests.
Modes
Mode: run (default)
Run tests, parse results, export failure attachments.
Mode: debug
Closed-loop test debugging: run -> capture -> analyze -> fix -> verify -> report.
Mode: analyze
Diagnose WHY tests fail, especially intermittent/flaky failures.
Mode: audit
Audit test quality: sleep() calls, shared mutable state, missing assertions, Swift Testing migration.
Mandatory First Steps (run/debug modes)
# 1. Verify project directory
ls -la | grep -E "\.xcodeproj|\.xcworkspace"
# 2. Discover schemes and test targets
xcodebuild -list -json | jq '{schemes: .project.schemes, targets: .project.targets}'
# 3. Check for booted simulator
BOOTED_UDID=$(xcrun simctl list devices -j | jq -r '.devices | to_entries[] | .value[] | select(.state == "Booted") | .udid' | head -1)
Run Mode
RESULT_PATH="/tmp/test-$(date +%s).xcresult"
xcodebuild test \
-scheme "<SCHEME_NAME>" \
-destination "platform=iOS Simulator,id=$BOOTED_UDID" \
-resultBundlePath "$RESULT_PATH" \
-enableCodeCoverage YES \
2>&1 | tee /tmp/xcodebuild-test.log
# Parse results
xcrun xcresulttool get test-results summary --path "$RESULT_PATH"
# Export failure attachments
ATTACHMENTS_DIR="/tmp/test-failures-$(date +%s)"
mkdir -p "$ATTACHMENTS_DIR"
xcrun xcresulttool export attachments --path "$RESULT_PATH" --output-path "$ATTACHMENTS_DIR" --only-failures
Debug Mode
Closed-loop flow: RUN -> CAPTURE -> ANALYZE -> SUGGEST -> FIX -> VERIFY -> REPORT
- Run failing test, capture screenshots and logs
- Analyze failure pattern (element not found, timeout, state mismatch)
- Suggest and apply fix using Edit tool
- Re-run to verify fix works
- Iterate until passing or max 3 attempts
Analyze Mode
Diagnose flaky test patterns:
- Swift Testing async patterns (missing
confirmation, wrong waits) - Race conditions from parallel test execution
- Shared mutable state between tests
- Tests that pass individually but fail together
- CI vs local environment differences
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 172 lines · 195 tokens per session scan B 8fc28f292add
test-runner is an agent published in the GitHub repository Kasempiternal/axiom-v2 (4 stars, last pushed 7mo ago), licensed MIT. It adds 195 tokens to every session and 1,206 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
ui-test-writer
UI test implementation specialist. Creates Compose UI tests and SwiftUI tests for screens. Android: Compose Testing + Espresso. iOS: XCUITest + ViewInspector. Tests loading/error/success states, interactions, accessibility.
unit-test-writer
Unit test implementation specialist. Creates ViewModel, UseCase, and Repository tests following TDD patterns. Android: JUnit5 + Mockk + Turbine + Kotest. iOS: XCTest + async/await. KMP: kotlin.test in commonTest.
Native SwiftUI Builder
Builds complex custom SwiftUI views using standard SwiftUI components with TTBaseUIKit design tokens (XView/XSize/XFont). Does NOT use TTBaseSUI wrapper components.
Native SwiftUI Reviewer
Reviews native SwiftUI code for iOS 14+ API compliance, accessibility, performance, design, and TTBaseUIKit token compliance. Does NOT check for TTBaseSUI components.
SwiftUI Screen Builder
Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.
Accessibility Audit
Audits iOS accessibility: VoiceOver labels/hints/traits, Dynamic Type, touch targets, color contrast, element grouping.