ui-aqa-flow-requirements-clarification

ui-aqa-flow-requirements-clarification is a command for Claude Code from griddynamics/rosetta. It costs 22 tokens per session (1,775 once invoked), scanned A, original, Apache-2.0.

A workflow phase that fills gaps in a UI test's requirements and writes a clear list of checks the test must perform.

In plain words
What is it for?
It is for asking requirement questions, documenting test context, and recording explicit assertions for later validation.
Why use it?
It prevents tests from silently missing important behavior because the expected results were unclear or incomplete.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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/griddynamics/rosetta/ui-aqa-flow-requirements-clarification
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 ui-aqa-flow-requirements-clarification

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/ui-aqa-flow-requirements-clarification.svg)](https://agentmods.dev/commands/griddynamics/rosetta/ui-aqa-flow-requirements-clarification)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/ui-aqa-flow-requirements-clarification"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/ui-aqa-flow-requirements-clarification.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 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,775 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.1 $0.00022 $0.01775
Opus 5 $0.00011 $0.00888
Sonnet 5 $0.00004 $0.00355
Haiku 4.5 $0.00002 $0.00178

Measured 2d ago against content hash 6cdc3fb20b88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ui-aqa-flow-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.

plugins/core-copilot-light/commands/ui-aqa-flow-requirements-clarification.md · 90 lines

How it starts

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

<ui_aqa_flow_requirements_clarification>

<description_and_purpose> Fill gaps in understanding, clarify unknowns, and transcribe the typed assertion list (derived in step 2.1, written to the test plan in step 2.4 — canonical owner of the typed format + mandatory subsection + None-clause) so Phase 6 has a validatable input. </description_and_purpose>

<workflow_context>

  • Phase 2 of 8 in ui-aqa-flow
  • Input: test plan file plans/ui-aqa-<test-name>/test-plan.md from Phase 1
  • Output: user answers + explicit typed assertion list, written into the test plan
  • Prerequisite: Phase 1 complete
  • HITL: user answers required before Phase 3
  • Assertion authority chain: gap analysis (step 2.1, qa-knowledge gap_analysis mode) → transcription per step 2.4 (canonical typed format + mandatory ### Explicit Assertions subsection + None-clause) → Phase 6 validates implemented OR Uncovered. If transcription is skipped, Phase 6 validation has no anchor and tests may silently under-assert.
  • Required skills: qa-knowledge (gap_analysis mode, test-plan variant + Phase 2 templates: gap entry / questions / typed assertions), qa-structure (<test-name> paths + state shape)
  • Recommended skills: questioning (clarification batch) </workflow_context>

<phase_steps>

  1. Identify gaps in test case understanding → step 2.1
  2. Ask user for clarification → step 2.2
  3. Wait for user answers → step 2.3
  4. Update the test plan + write the mandatory typed ### Explicit Assertions list → step 2.4
  5. Document and update state → step 2.5 </phase_steps>

<identify_gaps step="2.1">

  1. USE SKILL qa-structure to resolve the run paths and state file. USE SKILL qa-knowledge (gap_analysis mode, test-plan variant). The mode is analysis-only; it evaluates all five completeness dimensions (D1 steps clarity / D2 result measurability / D3 test data / D4 edge cases / D5 success criteria) of the Phase 1 test plan and EMITS, per gap, the gap entry from qa-knowledge's UI clarification templates (the skill loads its own asset) — this phase OWNS the question-prep contract; the mode never invents the artifact shape.
  2. Per gap, the entry carries a Derived assertion (if applicable) field — a typed (Presence / State / Content / Behavioral) measurable assertion form, OR blank when no measurable form is derivable from the plan as written (never fabricate). This is the source step 2.4 transcribes from.
  3. Prepare the list of unknowns and ambiguities (with Derived assertion populated where applicable) for step 2.2's question generation. </identify_gaps>

<ask_questions step="2.2">

  1. USE SKILL questioning
  2. Present structured questions to user using the "Clarification questions message" template from qa-knowledge's UI clarification templates. </ask_questions>

<wait_for_user step="2.3">

  1. STOP AND WAIT for user to provide all answers.

  2. Answer-handling branches (apply to step 2.4's processing):

    Case Action
    All answers received Proceed to step 2.4.
    Partial — some questions left blank or "I don't know" Re-ask once for unanswered Critical only; cap at one re-ask round; on still-no-answer, treat that question as declined (next row). Edge / Optional unanswered → record under ### Open Questions, do not re-ask.
    Declines specific Critical questions Record each under ### Open Questions as declined by user — <reason or "no reason given">; keep any Derived assertion as a normal ### Explicit Assertions bullet (Phase 6 decides implemented-or-Uncovered — Phase 2 writes no status). Aggregate cap: if ≥50% of Critical questions are declined (or ≥3 declined when Critical count <6), escalate to the last row — do NOT proceed with majority-declined clarifications.
    Declines all / refuses to engage Stop. Record Phase 2 blocked: user declined to answer all clarification questions in agents/TEMP/<FEATURE>/ui-aqa-state.md, surface to parent workflow, do NOT auto-proceed to Phase 3.

</wait_for_user>

Read the full file on GitHub · 90 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. 2d ago First seen · 90 lines · 22 tokens per session scan A 6cdc3fb20b88

Subscribe to this mod's changes

ui-aqa-flow-requirements-clarification is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed 2d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,775 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-09-03.