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/testgen-flow-requirements-document-generationgit 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/testgen-flow-requirements-document-generation)<a href="https://agentmods.dev/commands/griddynamics/rosetta/testgen-flow-requirements-document-generation"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/testgen-flow-requirements-document-generation.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 | $0.00018 | $0.02175 |
| Opus 5 | $0.00009 | $0.01087 |
| Sonnet 5 | $0.00004 | $0.00435 |
| Haiku 4.5 | $0.00002 | $0.00217 |
Grade A, and why
testgen-flow-requirements-document-generation 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 today.
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 — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<testgen_flow_requirements_document_generation>
<description_and_purpose> Synthesize Issue Tracker data, Wiki documentation, and user answers into a comprehensive, structured requirements document with user stories, functional/non-functional requirements, constraints, and traceability. </description_and_purpose>
<workflow_context>
- Phase 4 of 7 in
testgen-flow - Input:
raw-data.md,analysis.md,answers.md - Output:
requirements.md— primary deliverable for test case generation - Required skills:
qa-knowledge(synthesismode) - Prerequisite: Phase 0-3 complete with validated user answers
- Priority order for source resolution: User answers > Issue Tracker ticket > Wiki > Analysis insights </workflow_context>
<phase_steps>
- Load all source data
- Synthesize requirements
- Create requirements document
- Update state file </phase_steps>
<load_sources step="4.1">
- Read all previous phase outputs:
plans/testgen-{TICKET-KEY}/raw-data.md— Issue Tracker + Wiki dataplans/testgen-{TICKET-KEY}/analysis.md— identified issuesplans/testgen-{TICKET-KEY}/answers.md— user clarifications </load_sources>
<synthesize_requirements step="4.2" subagent="architect" role="Requirements engineer">
- USE SKILL
qa-knowledge(synthesismode). The mode EMITS into this phase's<create_requirements_document>section contract; the phase OWNS the document skeleton and output path. - Source priority: User answers (Phase 3) > Issue Tracker ticket > Wiki docs > Analysis insights
- Resolve contradictions using user answers; fill gaps using user answers; flag unresolved items as assumptions
- Generate: user stories (US-N), functional requirements (FR-N), non-functional requirements (NFR-N), constraints (C-N), dependencies (D-N), assumptions (A-N), risks (R-N)
- Build traceability matrix linking requirements to ticket/Wiki sources </synthesize_requirements>
<create_requirements_document step="4.3">
Create plans/testgen-{TICKET-KEY}/requirements.md. The qa-knowledge synthesis mode emits per its synthesis rules and its synthesis output schemas (owned internally by the skill).
Section contract (phase-owned SSoT) — the table below is the authoritative phase contract the synthesis mode MUST satisfy, not a parallel restatement. The mode's document wrapper uses the same scheme (front-matter + 10 numbered sections). If the emitted skeleton drifts from this table, the phase fails verification and re-invokes rather than accepting a divergent shape; the phase bounds the contract, the skill is the implementation.
| # | Section | Per-entry shape (synthesis schema) |
|---|---|---|
| Front-matter | Document Control + Executive Summary | (Executive Summary extended below for testgen) |
| 1 | User Stories | US-[N] entries (user-stories schema) |
| 2 | Functional Requirements | FR-[N] entries (functional-requirements schema) |
| 3 | Non-Functional Requirements | NFR-[N] entries (non-functional-requirements schema) |
| 4 | Constraints | C-[N] entries (constraints-and-dependencies schema) |
| 5 | Dependencies | D-[N] entries (constraints-and-dependencies schema) |
| 6 | Out of Scope | Explicit exclusions with rationale |
| 7 | Assumptions | A-[N] entries (assumptions-and-risks schema) |
| 8 | Risks | R-[N] entries (assumptions-and-risks schema) |
| 9 | Traceability Matrix | (Extended below for testgen) |
| 10 | Glossary | Domain terms + acronyms |
If any section is absent from the emitted document, the artifact is incomplete — re-invoke the skill or repair before declaring step 4.3 complete.
Testgen-specific additions layered on top of the canonical structure:
Executive Summary must include:
## Executive Summary
**Project**: [Project Name]
**Ticket**: [TICKET-KEY]
**Description**: [2-3 sentence overview]
**Scope Summary**:
- [Key capability 1]
- [Key capability 2]
**Sources**:
- Ticket: [TICKET-KEY]
- Wiki: [N] pages
- User Clarifications: [N] questions answered
**Source Resolution**:
- Contradictions Resolved: [Count]
- Gaps Filled: [Count]
- Ambiguities Clarified: [Count]
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.
- today First seen · 155 lines · 18 tokens per session scan A 512dd04c0646
testgen-flow-requirements-document-generation is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 2,175 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.
Other commands, from other repositories
INFO
Print information about the target skill.
rclone_size
Prints the total size and number of objects in remote:path.
rclone_sync
Make source and dest identical, modifying destination only.
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.