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.
git 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/modernization-flow-analysis)<a href="https://agentmods.dev/commands/griddynamics/rosetta/modernization-flow-analysis"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/modernization-flow-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/griddynamics/rosetta/modernization-flow-analysis"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/modernization-flow-analysis.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00013 | $0.01368 |
| Opus 5.5 | $0.00005 | $0.00547 |
| Sonnet 5.5 | $0.00003 | $0.00274 |
| Haiku 4.5 | $0.00001 | $0.00137 |
Grade A, and why
modernization-flow-analysis 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modernization Phase 2: Old Code Analysis
Phase Flow
Phase 2: Old Code Analysis
- Complete Phase 1 first, unless on the reduced route recorded in the state file
- Process each project separately
- Analyze code and tests
- Create original-code-specs files
- Document legacy services and dependencies
- Analyze database objects
- Document interfaces and signatures
- Document business purpose
- Analyze usage and visibility
- List unknowns and assumptions
- Link implementation and tests
Context
PREREQUISITES: Complete Phase 1 (all reference code specs created), unless on the reduced route recorded in the state file
OBJECTIVES:
- Create complete, factual specification of existing code
- Understand functionality, requirements, edge cases, and usage
- Identify unknowns and create follow-up tasks
- Validate compatibility with modernization target (e.g., Linux support, containerization, cloud-native, etc.)
- Identify services that need replacement (replace with package references or gRPC/HTTP/REST)
- CRITICAL! Identify and maintain original libraries, namespaces, folders, names of classes, methods, interfaces, enums, etc -> so all coding constructs to maintain full names for easy upgrade of dependent libraries (Exception is platform-specific objects and ASYNC methods). Pay attention to modifiers like "ref", "out", "&". Preserve original contracts! Provide additional non-breaking features like access to underlying native objects, enumerators, properties, etc.
- Use appropriate exceptions instead of custom exceptions where appropriate.
- Use and rely on performance optimizations already applied (we must not downgrade!).
- New code will use migrated code, old code will still use old code (so no need to maintain obsolete services or other proxies => use package references OR gRPC/HTTP communication)
Requirements
- MUST process each project separately
- MUST create
docs/original-code-specs-<lib/project>.mdfor each project - MUST analyze ALL code AND associated unit tests
- MUST use search/grep/tools to discover all relevant details
- MUST document findings with evidence (references to actual code)
- MUST document all service instantiation calls and service providers (including, identifier, purpose, what is used, and references to existing implementation code, identify is it just PROXY or used extensibility or other use case).
- MUST document briefly usage of frameworks/services with a brief list of used features and methods called (no code, but references).
- MUST analyze database schema files (if applicable) to identify database objects used by code:
- CRITICAL: Database files can be HUGE - DO NOT read/parse entire files!
- USE codebase_search OR grep to find specific object names (tables, procedures, functions, views, types). Note: grep is more specific with regex patterns, but incorrect regex may not find existing content.
- Example: If code calls
apiGetUserByName, usecodebase_searchorgrep "CREATE PROCEDURE.*apiGetUserByName"to find it - Example: If code queries
Resourcestable, usecodebase_searchorgrep "CREATE TABLE.*Resources" - Keep database analysis output BRIEF - list only database objects actually used by the code being analyzed, with line references for context.
- MUST list all files and create todo tasks systematically
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.
- 1mo ago Changed 038c279f8d94
- 2mo ago First seen · 142 lines · 13 tokens per session scan A bcdcff4e6ccd
modernization-flow-analysis is a command published in the GitHub repository griddynamics/rosetta (382 stars, last pushed 5d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,368 once invoked, about $0.0001 per session on Opus 5.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.
modernization-flow-analysis compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modernization-flow-analysisgriddynamics/rosetta | Command | 382 | 5d ago | Apache-2.0 | A | 13 | Claude Code |
| superskillpermanu/superskill | Command | 19 | 20d ago | Apache-2.0 | A | 7 | Claude Code, OpenCode |
| alignaidemd-mcp/server | Command | 4 | yesterday | MIT | A | 0 | Claude Code |
| deploy-checkcommerce-atoms/agents | Command | 1 | 2mo ago | MIT | A | 26 | Claude Code |
| xpoz-best-practicesXPOZpublic/xpoz-cursor-plugin | Command | 4 | 5mo ago | MIT | A | 38 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 27 | Claude Code |