aqe-generate

aqe-generate is a command for Claude Code from proffesor-for-testing/agentic-qe. It costs 17 tokens per session (1,983 once invoked), scanned A, original, MIT.

A test-generation command that creates tests from source code, including unit, integration, end-to-end, performance, or security tests. It supports several common test frameworks and can use an OpenAPI specification for API tests.

In plain words
What is it for?
Use it to generate tests for a file or source directory, enable property-based or mutation testing, and preview output before writing files.
Why use it?
Writing tests for existing code takes time and can leave important behavior uncovered. This provides a starting test suite aimed at a chosen coverage level.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the TodoWrite tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Output: ./tests/unit.

Part of the agentic-qe plugin — 41 skills, 143 commands, 10 agents, 10 hooks, 1 plugin shipped together

Good fit Use it to generate tests for a file or source directory, enable property-based or mutation testing, and preview output before writing files.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/proffesor-for-testing/agentic-qe
agentmods
npx agentmods add commands/proffesor-for-testing/agentic-qe/aqe-generate

Made for: Claude Code.

Or install agentic-qe, the plugin that ships this one along with the rest of its 41 skills, 143 commands, 10 agents, 10 hooks, 1 plugin.

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 aqe-generate

README.md
[![agentmods](https://agentmods.dev/badge/commands/proffesor-for-testing/agentic-qe/aqe-generate/github.svg)](https://agentmods.dev/commands/proffesor-for-testing/agentic-qe/aqe-generate)
Your own site
<a href="https://agentmods.dev/commands/proffesor-for-testing/agentic-qe/aqe-generate"><img src="https://agentmods.dev/badge/commands/proffesor-for-testing/agentic-qe/aqe-generate/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 aqe-generate

Your own site · 80×15
<a href="https://agentmods.dev/commands/proffesor-for-testing/agentic-qe/aqe-generate"><img src="https://agentmods.dev/badge/commands/proffesor-for-testing/agentic-qe/aqe-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 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,983 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.00017 $0.01983
Opus 5.5 $0.00007 $0.00793
Sonnet 5.5 $0.00003 $0.00397
Haiku 4.5 $0.00002 $0.00198

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

Security

Grade A, and why

aqe-generate 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 5d 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/aqe-generate.md · 301 lines

How it starts

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

AQE Generate Tests

Generate comprehensive test suites using AI-powered analysis and sublinear optimization algorithms.

Usage

aqe generate <target> [options]
# or
/aqe-generate <target> [options]

Options

Option Type Default Description
target path required Source code path to generate tests for
--type enum unit Test type: unit, integration, e2e, performance, security
--framework string jest Testing framework: jest, mocha, cypress, playwright, vitest
--coverage number 95 Target coverage percentage (0-100)
--property-based boolean false Enable property-based testing
--mutation boolean false Enable mutation testing
--parallel boolean true Generate tests in parallel
--output path ./tests Output directory for generated tests
--swagger path - OpenAPI/Swagger spec for API testing
--dry-run boolean false Preview without writing files

Examples

Basic Unit Test Generation

aqe generate src/services/user-service.ts

Generates unit tests for a single service file using default settings (Jest, 95% coverage).

E2E Tests from API Spec

aqe generate src/api --type e2e --swagger api-spec.yaml --framework cypress

Generates end-to-end tests from OpenAPI specification using Cypress.

Property-Based Testing

aqe generate src/utils --type unit --property-based --coverage 98

Generates property-based tests for utility functions with high coverage target.

Security Test Suite

aqe generate src/ --type security --framework jest --mutation

Generates comprehensive security tests with mutation testing enabled.

Multi-Framework Generation

# Generate Jest unit tests
aqe generate src/services --type unit --framework jest

# Generate Cypress E2E tests
aqe generate src/features --type e2e --framework cypress

# Generate Playwright integration tests
aqe generate src/api --type integration --framework playwright

Read the full file on GitHub · 301 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. 5d ago First seen · 301 lines · 17 tokens per session scan A 587b9d18286f

Subscribe to this mod's changes

aqe-generate is a command published in the GitHub repository proffesor-for-testing/agentic-qe (504 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 1,983 once invoked, about $0.0001 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-10-11.