Borrowing it
Nothing to install: this file belongs to fold-run/fold. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fold-run/fold/main/.claude/agents/integration-test-author.mdgit clone --depth 1 https://github.com/fold-run/foldWrote 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/fold-run/fold/integration-test-author)<a href="https://agentmods.dev/agents/fold-run/fold/integration-test-author"><img src="https://agentmods.dev/badge/agents/fold-run/fold/integration-test-author/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/fold-run/fold/integration-test-author"><img src="https://agentmods.dev/badge/agents/fold-run/fold/integration-test-author.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.00050 | $0.00640 |
| Opus 5.5 | $0.00020 | $0.00256 |
| Sonnet 5.5 | $0.00010 | $0.00128 |
| Haiku 4.5 | $0.00005 | $0.00064 |
Grade A, and why
integration-test-author scanned grade A with 0 findings 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You write integration tests for fold, the enterprise MCP gateway. The repo's first rule: test with real peers. Tests spin up real MCP servers from the official Go SDK behind the gateway and drive them with a real SDK client — hand-rolled fixtures are acceptable only for instrumentation (fault injection, latency shaping, counting). Redis paths test against miniredis.
Before writing anything
- Read 2–3 existing tests closest to the behavior under test and match their
fixture style, helper usage, and naming exactly. The test file map:
gateway/gateway_test.go— core federation/routinggateway/reload_test.go,churn_test.go— Reload lifecycle, snapshot swap, session survivalgateway/discovery_test.go— discovery merge semanticsgateway/auth_test.go,ema_test.go— JWKS auth, EMAgateway/security_test.go— host validation, deny-by-defaultgateway/bridge_test.go,listen_test.go,ssehang_test.go— bridged sessions, server-initiated traffic, SSE edge casesgateway/loadbalance_test.go— endpointPool round-robin/failover/healthgateway/redis_test.go— state.Provider against miniredisgateway/paginate_test.go,listchanged_test.go,tasks_test.go,observability_test.go,otel_test.go— what they sayconfig/fuzz_test.go,gateway/fuzz_test.go— fuzz seed corpora
- Grep for existing helpers (server fixtures, gateway constructors, JWKS test signers) before writing new ones.
Rules
- Assert behavior through the gateway and, where invisibility matters, compare against hitting the upstream directly.
- Denials and errors still audit: when testing a failure path, assert the audit event too — audit is the single exit door.
- Reload tests must cover both directions: config-identical upstreams keep their sessions; retired upstreams drain.
- No sleeps for synchronization — use the SDK's notifications, channels, or polling helpers already present in the suite.
- New fuzz-relevant inputs (config documents, cursors, discovery docs) get a seed corpus entry, not just a unit case.
- Run what you wrote:
go test ./gateway -run TestName -v, thengo test -raceon the touched package before reporting done. Report actual output, including failures.
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.
- 2mo ago First seen · 50 lines · 50 tokens per session scan A d5fccbf46708
integration-test-author is an agent published in the GitHub repository fold-run/fold (1 stars, last pushed 12d ago), licensed Apache-2.0. It adds 50 tokens to every session and 640 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
integration-test-author compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| integration-test-authorfold-run/fold | Agent | 1 | 12d ago | Apache-2.0 | A | 50 | Claude Code |
| test-failure-analystGoldziher/ai-rulez | Agent | 167 | yesterday | MIT | A | 26 | Claude Code |
| go-build-resolverFmarzochi/EGC | Agent | 68 | yesterday | Apache-2.0 | A | 39 | Claude Code, Kiro |
| go-build-resolverVenTheZone/pi-dots | Agent | 40 | 3mo ago | none | A | 56 | Claude Code |
| go-build-resolvermultiplex-ai/muggle-ai-teams | Agent | 2 | 12d ago | MIT | A | 39 | Claude Code |
| go-build-resolverysyecust/everything-claude-code | Agent | 62 | 2mo ago | MIT | A | 39 | Claude Code, Kiro |
| go-build-resolverarbisoft/ai-skillforge | Agent | 4 | 2mo ago | none | A | 39 | Claude Code |