modernization-flow-mapping

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

Phase 6 Implementation Mapping of modernization-flow.

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/modernization-flow-mapping
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 modernization-flow-mapping

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/modernization-flow-mapping.svg)](https://agentmods.dev/commands/griddynamics/rosetta/modernization-flow-mapping)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/modernization-flow-mapping"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/modernization-flow-mapping.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 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,229 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.00014 $0.01229
Opus 5 $0.00007 $0.00615
Sonnet 5 $0.00003 $0.00246
Haiku 4.5 $0.00001 $0.00123

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

Security

Grade A, and why

modernization-flow-mapping 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/modernization-flow-mapping.md · 127 lines

How it starts

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

Modernization Phase 6: Implementation Mapping

Phase Flow

Phase 6: Implementation Mapping

  1. Complete Phase 5 first
  2. Define technical approaches
  3. Compare multiple alternatives
  4. Map source to target
  5. Identify supporting libraries
  6. Address edge cases
  7. Ensure backward compatibility
  8. Create target-code-specs files
  9. Emphasize port file-by-file

Context

PREREQUISITES: Complete Phase 5 (cross-project analysis)

OBJECTIVES:

  • Define technical approaches for modernization
  • Identify and compare multiple options (especially with edge cases)
  • Map source code to target code
  • Identify supporting libraries and packages
  • Address all edge cases and special requirements
  • Identify at least three alternatives (in memory)
  • Validate backward compatibility and overall modernization goals instead of just modern best practices, think about side affects, reason WHY did you choose one alternative (in memory)
  • Validate your alternative vs existing code (in memory)
  • Document only selected alternative, reasons, side affects, and very briefly the other alternatives reviewed
  • Design principle: backward compatibility (names, signature, behavior) and less code is better
  • In case of strong cases of idiomatic target make sure to have two implementations: compatible non-idiomatic and idiomatic new (examples: original enumerator methods and normal IEnumerable implementation, original methods with refs/outs and new methods, original methods and new properties, new async methods)
  • YOU MUST EMPHASIS IN THE OUTPUT DOCUMENT:
    • Backward compatibility is a MUST, additional ctor/fields/properties/methods/classes/enums are allowed.
    • To PORT code file-by-file, class by class, method by method, re-read-source-write-target one-by-one. Do not reinvent! Require creation of todo tasks.
    • To PORT tests! Test by test, re-read-source-write-target one-by-one! Require creation of todo tasks.
    • To VALIDATE all tests and code from target matching the source (logic and contract).
  • YOU MUST STRESS IN THE OUTPUT DOCUMENT:
    • To perform code and tests file-by-file comparison source vs target of original and implemented contract and logic, until there are no gaps and inconsistencies, re-read both source and target.
    • To perform EXACT behavior copy, excluding async and enumerators.
    • To put mapping which file to match to which file.
    • To implement async and enumerators.
    • To update docs/target-code-specs-<lib/project>.md to match ACTUAL implementation with actual contracts, paths, API, async, additional methods/properties, enumerables implemented AS IF it was planned so good (DO NOT: create new sections, green checkboxes, "implemented" statuses, and so on).

Read the full file on GitHub · 127 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 · 127 lines · 14 tokens per session scan A b9a0f1634e76

Subscribe to this mod's changes

modernization-flow-mapping is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 1,229 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.