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.
npx agentmods add commands/griddynamics/rosetta/api-aqa-flow-gap-and-requirements-clarificationgit clone --depth 1 https://github.com/griddynamics/rosettaWrote 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.
[](https://agentmods.dev/commands/griddynamics/rosetta/api-aqa-flow-gap-and-requirements-clarification)<a href="https://agentmods.dev/commands/griddynamics/rosetta/api-aqa-flow-gap-and-requirements-clarification"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/api-aqa-flow-gap-and-requirements-clarification.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01559 |
| Opus 5 | $0.00016 | $0.00779 |
| Sonnet 5 | $0.00006 | $0.00312 |
| Haiku 4.5 | $0.00003 | $0.00156 |
Grade A, and why
api-aqa-flow-gap-and-requirements-clarification 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<api_aqa_flow_gap_and_requirements_clarification>
<description_and_purpose> Cross-reference test cases, documentation, and API spec to identify gaps, contradictions, and ambiguities. Clarify all unknowns with user before test specification. </description_and_purpose>
<workflow_context>
- Phase 3 of 8 in
api-aqa-flow - Input: raw data (Phase 1) + API analysis (Phase 2) + project config
- Output:
plans/api-aqa-{IDENTIFIER}/analysis.mdwith gaps resolved, user answers documented - Prerequisite: Phases 1 and 2 complete
- HITL: user answers required before Phase 4
- Required skills:
qa-knowledge(gap_analysismode + G/C/A finding forms),qa-structure({IDENTIFIER}+ analysis path) - Recommended skills:
questioning(clarification batch) </workflow_context>
<phase_steps>
- Execute gap analysis
- Present questions and wait for user answers
- Document clarifications and update state </phase_steps>
<execute_gap_analysis step="3.1" subagent="architect" role="Test requirements analyst">
- USE SKILL
qa-knowledge(gap_analysismode). Run all three variants against the inputs and EMIT findings into the phase-owned sections of<analysis_md_contract>; the mode is analysis-only and never invents the artifact shape:- Test-cases-vs-API-spec variant → Gaps (
G[N]entries; test step vs API analysis cross-reference). - General multi-source variant → Contradictions (
C[N]; cross-source disagreements between raw-data, api-analysis, docs) + Ambiguities (A[N]; vague statements).
- Test-cases-vs-API-spec variant → Gaps (
- Finding-entry shapes (
G[N]/C[N]/A[N], each with verbatim source quote + citation + impact + suggested question) areqa-knowledge's gap-finding templates — the skill loads its own asset at point of use. - If a finding fits more than one bucket, record it once under the section that owns its emit shape (G/C/A) and add a cross-reference note rather than duplicating.
- Prepare a prioritized list of gaps, contradictions, ambiguities for step 3.2.
</execute_gap_analysis>
<ask_user step="3.2">
- USE SKILL
questioning - Present structured questions to user (Critical / Important / Optional)
- STOP AND WAIT for user to provide all answers
- Unknown-answer branches by priority:
- Critical unknown: mark as
BLOCKING ASSUMPTIONinanalysis.md, stop Phase 3, do not advance to Phase 4 until the user provides an answer or explicitly approves proceeding with the assumption. - Important unknown: mark as
ASSUMPTIONwith rationale, flag inagents/TEMP/<FEATURE>/api-aqa-state.mdunder Open Assumptions, proceed. - Optional unknown: mark as
SKIPPEDwith reason, proceed. - Partial answer: record what was answered; treat the unanswered portion per the matching priority branch above.
- User defers / marks out-of-scope: record as
DEFERRED — user out-of-scopeand treat as Optional (proceed). </ask_user>
- Critical unknown: mark as
<update_plan step="3.3">
- Process user answers
- Update analysis document with questions, answers, and resolved items
- Verify
plans/api-aqa-{IDENTIFIER}/analysis.mdcreated with all required sections (see<analysis_md_contract>below) </update_plan>
<analysis_md_contract>
analysis.md must include these sections in order; missing or empty sections fail validation:
- Gaps — items not covered by raw-data or API analysis (one bullet per gap, with source citation)
- Contradictions — places where raw-data and api-analysis disagree (with both sources cited)
- Ambiguities — wording or behavior open to interpretation
- Questions — full list of structured questions asked (with priority tag: Critical / Important / Optional)
- Answers — user responses; for each, indicate ANSWERED / ASSUMPTION / BLOCKING ASSUMPTION / SKIPPED / DEFERRED per
<ask_user>step 4 - Resolutions — final disposition for each gap/contradiction/ambiguity (resolved, accepted as assumption, deferred to a later phase)
- Open Assumptions — explicit list of every unresolved item carried forward (mirrors the count in
api-aqa-state.md) </analysis_md_contract>
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.
- 2d ago First seen · 102 lines · 32 tokens per session scan A c9be13d2b029
api-aqa-flow-gap-and-requirements-clarification is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed 2d ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,559 once invoked, about $0.0002 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-09-03.
Other commands, from other repositories
sdd-init
Initialize SDD context — detects project stack and bootstraps persistence backend.
xpoz-best-practices
Reference docs for Xpoz query syntax, pagination, field selection, platform tools, and authentication. Usage: /xpoz-best-practices.
align
Verify spec-vs-spec alignment and brevity across the intent tree. This is NOT QA — QA checks code against a spec; alignment checks whether specs are consistent with their ancestors and internally tight against the Brevity Contract. The aligner runs three passes per walk.
deploy-check
Pre-flight verification before pushing to main. Reproduces the CI gates locally so the push doesn't fail in production.
CONFIG
Command "CONFIG" from JordanGunn/oasr, covering oasr config, quick reference, usage, subcommands and config set.
checklist
Generate a custom checklist for the current feature based on user requirements.