api-aqa-flow

api-aqa-flow is a command for Claude Code from griddynamics/rosetta. It costs 29 tokens per session (3,336 once invoked), scanned A, original, Apache-2.0.

An end-to-end workflow for turning test cases from a test management system or issue tracker into automated backend API tests. It covers planning, specification, implementation, execution, and correction.

In plain words
What is it for?
Use it to analyze API requirements, write Given-When-Then test specifications, implement request and response tests, and correct failures.
Why use it?
It gives API test work a defined sequence and records the decisions, results, and approvals needed along the way.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents.

Good fit Use it to analyze API requirements, write Given-When-Then test specifications, implement request and response tests, and correct failures.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/griddynamics/rosetta/api-aqa-flow
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/griddynamics/rosetta

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 api-aqa-flow

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/api-aqa-flow/github.svg)](https://agentmods.dev/commands/griddynamics/rosetta/api-aqa-flow)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/api-aqa-flow"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/api-aqa-flow/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 api-aqa-flow

Your own site · 80×15
<a href="https://agentmods.dev/commands/griddynamics/rosetta/api-aqa-flow"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/api-aqa-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,336 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.00029 $0.03336
Opus 5.5 $0.00012 $0.01334
Sonnet 5.5 $0.00006 $0.00667
Haiku 4.5 $0.00003 $0.00334

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

Security

Grade A, and why

api-aqa-flow 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 3d 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.

plugins/core-copilot-light/commands/api-aqa-flow.md · 158 lines

How it starts

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

<api_aqa_flow>

<description_and_purpose>

End-to-end backend API test automation from test case input to working automated tests.

Prerequisite: Rosetta Prep Steps.

Terminology. External systems are named by role throughout this workflow and its phases: Test Management System (TMS), Issue Tracker, and Wiki. TestRail, Jira, and Confluence are canonical examples only — adapt identifiers, URLs, requests, calls, and query syntax to the systems resolved for the current project (from repository-root gain.json, explicit user input, recognizable URLs/handles, and available integrations).

At completion the user has: corrected, passing API test files in the repository; the per-session artifacts under plans/api-aqa-{IDENTIFIER}/ (raw-data.md, api-analysis.md, analysis.md, test-specs.md, execution-report.md); and agents/TEMP/<FEATURE>/api-aqa-state.md recording phase completion, metrics, and HITL approvals.

</description_and_purpose>

<workflow_phases>

  • Phases 0→7 MUST run in order; sanctioned skips per <skip_rules> only.
  • All Rosetta prep steps MUST be FULLY completed, SKILL load-project-context loaded and fully executed.
  • NO ASSUMPTIONS: never assume endpoints, payloads, auth mechanisms, or response schemas — ask the user when missing.
  • MUST ALWAYS use todo tasks ledger, ASAP. Prioritize ACCURACY over SPEED. Proactively use available tools/MCPs, if question can be answered from code or MCP call - do that first.
  • Drive loop (owned by this workflow): execute phases in order — for each: APPLY PHASE its phase file → update agents/TEMP/<FEATURE>/api-aqa-state.md → verify the phase-output gate → next; keep todos matched to the active phase; never batch-load future phases; never skip without approval (<skip_rules>). When a phase delegates work to subagents, dispatch per USE SKILL orchestration.
  • Phase-output gate (verify before advancing): each phase's mandatory artifact must exist and pass its phase-file completion gate before the next phase starts — notably Phase 4: every ATC-NNN in test-specs.md traces to a Phase 3 source (a raw-data.md test case and/or an analysis.md G[N]/C[N]/A[N] finding); also Phase 1 raw-data.md, Phase 2 api-analysis.md, and Phase 6 execution-report.md present and non-placeholder.

<skip_rules>

This block owns ONLY the api-aqa-flow-specific skip rules below: a set of always-in-force carve-outs plus a single verification-failure unilateral-start override (the only no-ask deviation; its preconditions are in the table further down). The carve-outs bind unconditionally; the override is subordinate to them. Gate-execution mechanics (how to run an approval gate, token handling) are owned by USE SKILL hitl — defer to it; not restated here.

  • Always-in-force carve-outs (the override never suppresses these):

    1. Per-phase HITL gates (Phases 3-7 marked type="HITL") — explicit user approval per the hitl skill.
    2. NO ASSUMPTIONS rule (above) — every non-skip-gate decision.
    3. Safety / destructive confirmations — file deletion, edits outside plans/api-aqa-{IDENTIFIER}/, comparable irreversible actions.
  • Verification-failure unilateral-start override — subordinate to the hitl skill + the carve-outs above; the only no-ask deviation, applies only at this skip-verification gate.

    Precondition (ALL true, independently verified) Action
    (a) user asserts Phases 0-2 complete this turn AND (b) agents/TEMP/<FEATURE>/api-aqa-state.md marks them complete AND (c) raw-data.md + api-analysis.md exist under plans/api-aqa-{IDENTIFIER}/ Print (a)/(b)/(c) each with its concrete evidence (user-assertion quote · the api-aqa-state rows · the two artifact paths), then skip Phases 0-2 and resume at Phase 3. Any precondition not showable with concrete evidence → treat as uncertain (last row).
    Any of (a)/(b)/(c) false AND user instruction unambiguous Print failing conditions; begin Phase 0 same turn.
    Any precondition uncertain Fall back to normal HITL ask. Ambiguity defaults to ASK.

Read the full file on GitHub · 158 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. 3d ago Changed 54af6b351439
  2. 4d ago Changed 39032331afa7
  3. 1mo ago First seen · 158 lines · 29 tokens per session scan A 2d03eaa8ec26

Subscribe to this mod's changes

api-aqa-flow is a command published in the GitHub repository griddynamics/rosetta (360 stars, last pushed 3d ago), licensed Apache-2.0. It adds 29 tokens to every session and 3,336 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-09-03.

Related

Other commands, from other repositories