coding-agents-prompting-flow

coding-agents-prompting-flow is a command for coding agents from griddynamics/rosetta. It costs 28 tokens per session (1,652 once invoked), scanned A, original, Apache-2.0.

Workflow for authoring and adapting AI-agent prompts: skills, agents, workflows, rules, etc.

Command

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/coding-agents-prompting-flow
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

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 coding-agents-prompting-flow

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/coding-agents-prompting-flow.svg)](https://agentmods.dev/commands/griddynamics/rosetta/coding-agents-prompting-flow)
Your own site
<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>
Per session 28 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,652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00028 $0.01652
Opus 5 $0.00014 $0.00826
Sonnet 5 $0.00006 $0.00330
Haiku 4.5 $0.00003 $0.00165

Measured today against content hash cb36f2afbce0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

plugins/core-copilot-light/commands/coding-agents-prompting-flow.md · 125 lines

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>

  1. Orchestrator must trust the system and skills; coordinate only sequence, artifacts, state, and approvals.
  2. Load only references needed for the current phase.
  3. Execute phases sequentially, do not skip!
  1. All Rosetta prep steps MUST be FULLY completed
  2. USE SKILL load-project-context, orchestration, hitl
  3. MUST ALWAYS use todo tasks ledger, ASAP. Phases are sequential. Independent tasks can run in parallel.
  4. MUST just-in-time load/execute/update each phase's: instructions, definitions, skills, state file.
  5. Orchestrator and subagents MUST USE SKILL coding-agents-prompt-authoring.
  6. No rush, take your time, MUST FOLLOW WORKFLOW ENTIRELY, no skipping.
  7. This workflow MUST be used with Fable, Opus, GPT-5.5+ class models => IF NOT - DEMAND USER TO SWITCH MODEL.
  8. Workflow state MUST be saved to agents/TEMP/<FEATURE>/coding-agents-prompting-flow-state file.
  1. Discover project-local context, relevant prompt-family artifacts, and required references for this request.
  2. Input: request + optional existing prompt. Output: Discovery Notes + Reference Set.
  3. Update coding-agents-prompting-flow-state.md.
  4. 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">

  1. Extract requirements from source prompt when present and intake clarifications from user.
  2. Input: request + optional existing prompt + Discovery Notes + Reference Set. Output: Prompt Brief + Open Questions.
  3. Update coding-agents-prompting-flow-state.md.
  4. HITL explicit approval required for Prompt Brief.

</extract_intake>

  1. Design blueprint: structure, actors, contracts, and boundaries for target prompt set.
  2. Input: approved Prompt Brief. Output: Blueprint.
  3. Update coding-agents-prompting-flow-state.md.
  4. 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">

  1. Scope: draft target 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
  2. Input: approved Prompt Brief + Blueprint. Output: Draft Prompt Set + optional change-log.md in FEATURE PLAN folder.
  3. Update coding-agents-prompting-flow-state.md.
  4. 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">

  1. Run loop for each target prompt: hardening -> edit until pass criteria or HITL decision.
  2. This is automated review by subagent, this is not HITL review!
  3. Input: approved Prompt Brief + Blueprint + Draft Prompt Set + prompt family information. Output: Prompt Set + optional change-log.md in FEATURE PLAN folder.
  4. Update coding-agents-prompting-flow-state.md.
  5. HITL when loop stalls, conflicts appear, or intent becomes unclear.

Read the full file on GitHub · 125 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. today First seen · 125 lines · 28 tokens per session scan A cb36f2afbce0

Subscribe to this mod's changes

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.