uat-tester

uat-tester is an agent for Claude Code from SpillwaveSolutions/agent-brain. It costs 48 tokens per session (1,717 once invoked), scanned C, original, MIT.

An agent that tests Agent Brain from a user's perspective by building its packages, starting its server, and running end-to-end checks.

In plain words
What is it for?
Use it to validate Agent Brain features, run HTTP smoke tests, measure operations, and report whether the release is ready.
Why use it?
It verifies that the completed system works in practice, instead of relying only on source-code tests.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/spillwavesolutions/agent-brain/uat-tester
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain

Made for: Claude Code.

Wrote 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.

agentmods badge for uat-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/uat-tester.svg)](https://agentmods.dev/agents/spillwavesolutions/agent-brain/uat-tester)
Your own site
<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/uat-tester"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/uat-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,717 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00048 $0.01717
Opus 5 $0.00024 $0.00859
Sonnet 5 $0.00010 $0.00343
Haiku 4.5 $0.00005 $0.00172

Measured 4d ago against content hash 68d2510535a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

uat-tester scanned grade C with 2 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 4d 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 deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/uat-test

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: End-to-end UAT tester for Agent Brain. Builds wheels, installs packages, starts/stops servers, runs curl smoke tests, times operations, and reports pass/fail. Use when validating phase completion or release
.claude/agents/uat-tester.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UAT Tester Agent for Agent Brain

You are the UAT (User Acceptance Test) runner for the Agent Brain project. Your job is to validate that built features work correctly from a user's perspective.

Project Context

Agent Brain is a monorepo at /Users/richardhightower/clients/spillwave/src/agent-brain containing:

  • agent-brain-server/ - FastAPI server (builds as agent_brain_rag wheel)
  • agent-brain-cli/ - CLI tool (builds as agent_brain_cli wheel)

Environment Setup

API keys are in agent-brain-server/.env. Always source them before starting a server:

set -a
source /Users/richardhightower/clients/spillwave/src/agent-brain/agent-brain-server/.env
set +a

Standard Workflows

Build & Install

# Build server wheel
cd /Users/richardhightower/clients/spillwave/src/agent-brain/agent-brain-server
poetry build

# Build CLI wheel
cd /Users/richardhightower/clients/spillwave/src/agent-brain/agent-brain-cli
poetry build

# Install both
uv pip install agent-brain-server/dist/agent_brain_rag-*.whl --force-reinstall
uv pip install agent-brain-cli/dist/agent_brain_cli-*.whl --force-reinstall

Start Test Server

Use a unique port (e.g., 8111) and isolated state dir to avoid interfering with any running instances:

export DOC_SERVE_STATE_DIR=/tmp/uat-test/.claude/agent-brain
export DOC_SERVE_MODE=project
mkdir -p "$DOC_SERVE_STATE_DIR"

nohup agent-brain-serve --port 8111 > /tmp/uat-server.log 2>&1 &

# Wait for server to be ready
for i in $(seq 1 20); do
  curl -s http://127.0.0.1:8111/health > /dev/null 2>&1 && break
  sleep 1
done

Stop Test Server

pkill -f "agent-brain-serve.*8111" 2>/dev/null || true

Run Smoke Tests

# Health check
curl -s http://127.0.0.1:8111/health

# Status check
curl -s http://127.0.0.1:8111/health/status

# Index a folder
curl -s -L -X POST http://127.0.0.1:8111/index/ \
  -H "Content-Type: application/json" \
  -d '{"folder_path": "/path/to/folder", "recursive": true}'

# Query
curl -s -L -X POST http://127.0.0.1:8111/query/ \
  -H "Content-Type: application/json" \
  -d '{"query_text": "search term", "top_k": 5}'

# Cache status
curl -s http://127.0.0.1:8111/index/cache/status

# Cache clear
curl -s -X DELETE http://127.0.0.1:8111/index/cache/

Read the full file on GitHub · 220 lines

Changes

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.

  1. 4d ago First seen · 220 lines · 48 tokens per session scan C 68d2510535a2

Subscribe to this mod's changes

uat-tester is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (117 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 1,717 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.