test-mission

test-mission is a command for Claude Code from ayoubben18/ab-method. It costs 0 tokens per session (252 once invoked), scanned A, original, MIT.

A command that creates tests for completed software work, including unit, integration, and end-to-end tests. These test different scopes, from one function to the complete user flow.

In plain words
What is it for?
Use it after completing a feature or mission to design and add tests, validate behavior, improve coverage, and set up repeatable test runs.
Why use it?
It turns an implemented feature into a planned testing effort that checks normal behavior and edge cases. It also helps organize automation and measure test coverage, meaning how much code the tests exercise.

Command 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 commands/ayoubben18/ab-method/test-mission
Clone the repo
git clone --depth 1 https://github.com/ayoubben18/ab-method

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ayoubben18/ab-method/test-mission.svg)](https://agentmods.dev/commands/ayoubben18/ab-method/test-mission)
Your own site
<a href="https://agentmods.dev/commands/ayoubben18/ab-method/test-mission"><img src="https://agentmods.dev/badge/commands/ayoubben18/ab-method/test-mission.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.00252
Opus 5 $0.00000 $0.00126
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

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

Security

Grade A, and why

test-mission 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 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.

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.

.claude/commands/test-mission.md · 41 lines

What it actually says

Test Mission

Description

Create comprehensive tests for implemented features, ensuring quality and reliability of completed missions.

Usage

/test-mission

Behavior

Loads and executes the test-mission workflow from .ab-method/core/test-mission.md

This workflow will:

  1. Analyze completed missions and implemented features
  2. Design comprehensive testing strategies
  3. Create unit, integration, and end-to-end tests
  4. Implement test automation and coverage reporting
  5. Validate feature functionality and edge cases

Workflow Details

The test-mission workflow provides:

  • Test Strategy - Comprehensive testing approach based on implemented features
  • Test Creation - Unit tests, integration tests, and E2E tests
  • Quality Assurance - Ensuring code reliability and performance
  • Coverage Analysis - Measuring and improving test coverage
  • Automation Setup - Creating maintainable test suites

Examples

/test-mission
# Analyzes completed features and creates comprehensive tests
# Implements testing strategies for quality assurance
# Sets up automated test suites and coverage reporting

Alternative Usage

You can also use the traditional AB Method master controller:

/ab-master test-mission
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 · 41 lines · 0 tokens per session scan A c33d0c7675f5

Subscribe to this mod's changes

test-mission is a command published in the GitHub repository ayoubben18/ab-method (189 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 252 tokens. 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.