ultra-test

ultra-test is a command for Claude Code from rocky2431/ultra-builder-pro. It costs 21 tokens per session (2,077 once invoked), scanned A, original, MIT.

A command for checking a software project’s overall readiness before release. It looks beyond ordinary unit tests to review common code problems, missing test coverage, end-to-end behaviour, speed, and security.

In plain words
What is it for?
Use it to detect anti-patterns, analyse missing test coverage, run end-to-end tests, check performance, audit security, and apply fixes where supported.
Why use it?
A project can pass unit tests while still failing when its parts work together, running slowly, or exposing security problems. This audit helps find those gaps before release preparation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it to detect anti-patterns, analyse missing test coverage, run end-to-end tests, check performance, audit security, and apply fixes where supported.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rocky2431/ultra-builder-pro/ultra-test
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.

Clone the repo
git clone --depth 1 https://github.com/rocky2431/ultra-builder-pro

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 ultra-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/rocky2431/ultra-builder-pro/ultra-test/github.svg)](https://agentmods.dev/commands/rocky2431/ultra-builder-pro/ultra-test)
Your own site
<a href="https://agentmods.dev/commands/rocky2431/ultra-builder-pro/ultra-test"><img src="https://agentmods.dev/badge/commands/rocky2431/ultra-builder-pro/ultra-test/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.

agentmods 80×15 button for ultra-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/rocky2431/ultra-builder-pro/ultra-test"><img src="https://agentmods.dev/badge/commands/rocky2431/ultra-builder-pro/ultra-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.02077
Opus 5 $0.00010 $0.01038
Sonnet 5 $0.00004 $0.00415
Haiku 4.5 $0.00002 $0.00208

Measured 10d ago against content hash 5b649599b8a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ultra-test 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 10d 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.

commands/ultra-test.md · 255 lines

How it starts

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

/ultra-test

Workflow Tracking (MANDATORY)

On command start, create tasks for each major step using TaskCreate:

Step Subject activeForm
0 Pre-Execution Check Checking prerequisites...
1 Anti-Pattern Detection Detecting anti-patterns...
2 Coverage Gap Analysis Analyzing coverage gaps...
3 E2E Testing Running E2E tests...
4 Performance Testing Testing performance...
5 Security Audit Auditing security...
6 Auto-Fix Loop Auto-fixing issues...
7 Persist Results Persisting results...

Before each step: TaskUpdatestatus: "in_progress" After each step: TaskUpdatestatus: "completed" On context recovery: TaskList → resume from last incomplete step


Pre-delivery quality audit. Validates test health, coverage gaps, E2E functionality, performance, and security.

Note: This is NOT for running unit tests (that's /ultra-dev). This is for auditing overall project quality before /ultra-deliver.


Pre-Execution

  1. Detect project type from config files (package.json, Cargo.toml, go.mod, pyproject.toml, etc.)
  2. Verify at least one task completed in .ultra/tasks/tasks.json
  3. Verify test files exist

Workflow

Step 1: Anti-Pattern Detection

Purpose: Detect fake/meaningless tests before they waste CI time.

What to detect:

  1. Tautology: Assertions that always pass (e.g., assert True, expect(true).toBe(true))
  2. Empty test: Test functions with no logic inside
  3. Core logic mock: Mocking domain/core/services code (violates test authenticity)

How:

  1. Identify test file patterns for detected language
  2. Construct appropriate regex for each anti-pattern
  3. Use Grep to scan and count matches

Result:

  • 🟡 REPORTED (was BLOCKED): Any critical anti-pattern found
  • ⚠️ WARNING: Minor issues found
  • ✅ PASS: No anti-patterns

Step 2: Coverage Gap Analysis

Purpose: Find exported functions/classes not referenced in any test file.

Read the full file on GitHub · 255 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. 10d ago First seen · 255 lines · 21 tokens per session scan A 5b649599b8a5

Subscribe to this mod's changes

ultra-test is a command published in the GitHub repository rocky2431/ultra-builder-pro (11 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 2,077 once invoked, about $0.0001 per session on Opus 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-30.