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/coding-agents-prompting-flowgit 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/coding-agents-prompting-flow)<a href="https://agentmods.dev/commands/griddynamics/rosetta/coding-agents-prompting-flow"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/coding-agents-prompting-flow.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.00028 | $0.01652 |
| Opus 5 | $0.00014 | $0.00826 |
| Sonnet 5 | $0.00006 | $0.00330 |
| Haiku 4.5 | $0.00003 | $0.00165 |
Grade A, and why
coding-agents-prompting-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 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 — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<description_and_purpose>
Orchestrates prompt authoring/adaptation via discover -> extract+intake -> blueprint -> for_each_prompt_loop(draft -> hardening -> edit) -> simulate -> validate. Every phase logs status in coding-agents-prompting-flow-state.md, Prompt Brief carries through all phases, and final output traces to request intent.
</description_and_purpose>
<workflow_phases>
- Orchestrator must trust the system and skills; coordinate only sequence, artifacts, state, and approvals.
- Load only references needed for the current phase.
- Execute phases sequentially, do not skip!
- All Rosetta prep steps MUST be FULLY completed
- USE SKILL
load-project-context,orchestration,hitl - MUST ALWAYS use todo tasks ledger, ASAP. Phases are sequential. Independent tasks can run in parallel.
- MUST just-in-time load/execute/update each phase's: instructions, definitions, skills, state file.
- Orchestrator and subagents MUST USE SKILL
coding-agents-prompt-authoring. - No rush, take your time, MUST FOLLOW WORKFLOW ENTIRELY, no skipping.
- This workflow MUST be used with Fable, Opus, GPT-5.5+ class models => IF NOT - DEMAND USER TO SWITCH MODEL.
- Workflow state MUST be saved to
agents/TEMP/<FEATURE>/coding-agents-prompting-flow-statefile.
- Discover project-local context, relevant prompt-family artifacts, and required references for this request.
- Input: request + optional existing prompt. Output:
Discovery Notes+Reference Set. - Update
coding-agents-prompting-flow-state.md. - HITL when discovered context conflicts with user intent or critical references are missing.
<extract_intake step="2" subagent="prompt-engineer" role="Intent extractor" subagent_required_model="Claude Opus 5, GPT-5.6 Sol, Gemini 3.7 Flash">
- Extract requirements from source prompt when present and intake clarifications from user.
- Input: request + optional existing prompt +
Discovery Notes+Reference Set. Output:Prompt Brief+Open Questions. - Update
coding-agents-prompting-flow-state.md. - HITL explicit approval required for
Prompt Brief.
</extract_intake>
- Design blueprint: structure, actors, contracts, and boundaries for target prompt set.
- Input: approved
Prompt Brief. Output:Blueprint. - Update
coding-agents-prompting-flow-state.md. - HITL approval when architecture or tradeoffs are ambiguous.
<for_each_prompt_loop step="4" subagent="prompt-engineer" role="Prompt Author" subagent_required_model="Claude Opus 5, GPT-5.6 Sol, Gemini 3.7 Flash">
- Scope:
drafttarget prompts. Subagents must draft one individual prompt file or surgical changes to one file at-a-time: it must think thoroughly about each file first, then it provides the full structure of the file with specific grounded points each section should contain or change, then it validates with schemas requirements/suggestions, and only then it can generate actual file. Repeat for each file. ALSO draft means fully ready for review prompt, just not reviewed and approved! Aim newly created files to have small extensive coverage, clear concerns, while each rules is very small - Input: approved
Prompt Brief+Blueprint. Output:Draft Prompt Set+ optional change-log.md in FEATURE PLAN folder. - Update
coding-agents-prompting-flow-state.md. - HITL when loop stalls, conflicts appear, or intent becomes unclear.
</for_each_prompt_loop>
<for_each_prompt_loop step="5" subagent="prompt-engineer" role="Prompt reviewer and hardening" subagent_required_model="Claude Opus 5, GPT-5.6 Sol, Gemini 3.7 Flash">
- Run loop for each target prompt:
hardening -> edituntil pass criteria or HITL decision. - This is automated review by subagent, this is not HITL review!
- Input: approved
Prompt Brief+Blueprint+Draft Prompt Set+ prompt family information. Output:Prompt Set+ optional change-log.md in FEATURE PLAN folder. - Update
coding-agents-prompting-flow-state.md. - HITL when loop stalls, conflicts appear, or intent becomes unclear.
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 · 125 lines · 28 tokens per session scan A cb36f2afbce0
coding-agents-prompting-flow is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 1,652 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
OPSX: Apply
Implement tasks from an OpenSpec change (Experimental).
OPSX: Propose
Propose a new change - create it and generate all artifacts in one step.
OPSX: Archive
Archive a completed change in the experimental workflow.
OPSX: Explore
Enter explore mode - think through ideas, investigate problems, clarify requirements.
/opsx-propose
Propose a new change - create it and generate all artifacts in one step.
/opsx-sync
Sync delta specs from a change to main specs.