arrange-workspace-flow-modernization

arrange-workspace-flow-modernization is a command for coding agents from griddynamics/rosetta. It costs 18 tokens per session (805 once invoked), scanned A, original, Apache-2.0.

A workflow phase for documenting how an existing system will be modernized or migrated. It gathers confirmed facts about goals, architecture, boundaries, and the code that will remain or change.

In plain words
What is it for?
Use it to record modernization goals and patterns, document limits and target architecture, identify old-code locations, and prepare reference copies.
Why use it?
It separates known decisions from assumptions and exposes missing information before modernization work starts. It also helps keep older reference code available for comparison.

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/arrange-workspace-flow-modernization
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 arrange-workspace-flow-modernization

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/arrange-workspace-flow-modernization.svg)](https://agentmods.dev/commands/griddynamics/rosetta/arrange-workspace-flow-modernization)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/arrange-workspace-flow-modernization"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/arrange-workspace-flow-modernization.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00018 $0.00805
Opus 5 $0.00009 $0.00402
Sonnet 5 $0.00004 $0.00161
Haiku 4.5 $0.00002 $0.00081

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

Security

Grade A, and why

arrange-workspace-flow-modernization 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 yesterday.

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/arrange-workspace-flow-modernization.md · 67 lines

What it actually says

<arrange_workspace_modernization>

<description_and_purpose> Interview user to gather modernization facts not yet in docs/CONTEXT.md, docs/ARCHITECTURE.md, and docs/PATTERNS/. </description_and_purpose>

<phase_steps>

  1. Interview user about what's missing in docs/CONTEXT.md, docs/ARCHITECTURE.md, and docs/PATTERNS/ — use starter_topics. Follow Questioning process in hitl SKILL.
  2. Record confirmed answers per doc_contract and patterns_contract. Unconfirmed inferences → docs/ASSUMPTIONS.md.
  3. Ask old-code location, guide clone into refsrc/<name>, recommend init-workspace-flow on it in a new chat.
  4. Update arrange-state.md. </phase_steps>

<starter_topics> Starter topics (add project-specific questions as needed):

Context (→ docs/CONTEXT.md):

  • The modernization or migration goals and the process followed.

Architecture (→ docs/ARCHITECTURE.md):

  • The pattern followed (e.g. component replacement, strangler fig, API gateway routing old/new).
  • The limits of the modernization.
  • A reference to a separate target architecture document defining how the new app is structured.
  • What stays, what changes, and how (e.g. old state management → new state management).
  • Practical tips (e.g. copy CSS then adapt, skip onboarding UI, use data generation).
  • How unit and e2e tests are handled: copied and fixed, or fully regenerated.
  • How the modernized application is introduced and deployed.
  • Side-by-side or big-bang deployment, and routing between old and new.

Patterns (→ docs/PATTERNS/):

  • Old → new ("to be") equivalent for every pattern in docs/PATTERNS/INDEX.md, and what concretely changes. </starter_topics>

<doc_contract>

  • Append modernization bullets to existing docs/CONTEXT.md (goals/process, no technical details) and docs/ARCHITECTURE.md (target/pattern, no business details) — extend, never replace.
  • <=100 lines each; overflow → index to per-feature <FEATURE>-CONTEXT.md/<FEATURE>-ARCHITECTURE.md. </doc_contract>

<patterns_contract>

  • Record old → to-be mapping in existing docs/PATTERNS/<pattern>.md; net-new patterns → create file + INDEX.md entry.
  • Write docs/PATTERNS/INDEX.md — all patterns with one-line descriptions, ## Pattern Name - short description.
  • Write docs/PATTERNS/CHANGES.md## [YYYY-MM-DD] Brief changes made.
  • Composite Workspace layout (Option 2 or 3) → extract per sub-repo; top-level INDEX.md references sub-repo folders. </patterns_contract>

<validation_checklist>

  • docs/CONTEXT.md and docs/ARCHITECTURE.md carry modernization facts, <=100 lines (or indexed).
  • Old codebase location captured; clone into refsrc/<name> recommended.
  • arrange-state.md updated. </validation_checklist>

</arrange_workspace_modernization>

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. yesterday First seen · 67 lines · 18 tokens per session scan A 1279e190734c

Subscribe to this mod's changes

arrange-workspace-flow-modernization is a command published in the GitHub repository griddynamics/rosetta (342 stars, last pushed yesterday), licensed Apache-2.0. It adds 18 tokens to every session and 805 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.