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/init-workspace-flow-documentation)<a href="https://agentmods.dev/commands/griddynamics/rosetta/init-workspace-flow-documentation"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/init-workspace-flow-documentation/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/init-workspace-flow-documentation"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/init-workspace-flow-documentation.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.00016 | $0.02085 |
| Opus 5.5 | $0.00006 | $0.00834 |
| Sonnet 5.5 | $0.00003 | $0.00417 |
| Haiku 4.5 | $0.00002 | $0.00209 |
Grade A, and why
init-workspace-flow-documentation 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 — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<init_workspace_flow_documentation>
<description_and_purpose> Agents without workspace documentation re-discover facts, repeat mistakes, and make incorrect assumptions every session. This phase creates the shared understanding layer all subsequent agent work depends on. Proof: five doc files exist and every prepped-workspace skill reads them. Use top tier model, as this documentation will be loaded every single time in every single user session with AI. </description_and_purpose>
<workflow_context>
- Phase 7 of 9 in init-workspace-flow
- Input: TECHSTACK, CODEMAP, DEPENDENCIES, source code, PATTERNS (if phase 5 ran), state.file_count, state.mode, state.composite
- Output: CONTEXT.md, ARCHITECTURE.md, IMPLEMENTATION.md, ASSUMPTIONS.md, AGENT MEMORY.md
- Prerequisite: Phase 3 complete; phase 5 only if it ran
- Notes: if subagents needed: prefer discoverer subagent or built-in subagent with cheap/fast model with high reasoning (haiku, luna, flash, etc) for reverse engineering, give them manageable sized tasks </workflow_context>
<phase_steps>
- Read state and prerequisites
- Execute documentation creation
- Update state, log gaps </phase_steps>
<read_state step="7.1">
- Read
agents/init-workspace-flow-state.md - Confirm Phase 3 complete (TECHSTACK, CODEMAP, DEPENDENCIES exist)
- Read state.mode, state.composite, state.file_count </read_state>
<execute_documentation step="7.2" subagent="built-in" role="Senior technical writer synthesizing workspace documentation" subagent_recommended_model="claude-opus-5-5,gpt-6.1-sol-high,gemini-4-argon-high,gemini-3.8-flash-high">
Act as a senior technical writer — recovers intent from code, not transcribes implementation. Workspaces lack structured documentation, forcing every session to re-discover facts and repeat mistakes. This creates five foundational docs from source code analysis. Proof: all five docs exist, are non-empty, complementary, and track unknowns.
- Look around for any additional documentation and verify findings
- Execute documentation creation with state.mode, state.composite, state.file_count as inputs, following the content below
<core_concepts>
- All Rosetta prep steps MUST be FULLY completed, load-project-context skill loaded and fully executed
- USE SKILL
reverse-engineeringfor domain extraction - Existing project documentation is likely stale and incomplete: source code is the true source of truth
- Documentation phase is based on discovery phase to perform deep analysis, but avoid reading entire codebase.
- Select which files to read, group organize by modules/batches/groups and must assign to subagents to execute.
- All docs MUST BE COMPRESSED, TERSE, CONCISE as those are ALWAYS loaded in LLM context.
</core_concepts>
<documentation_process>
- Dual-mode based on state.mode:
- Scan for each target doc file
- Compare existing content against codebase findings
- install = create all; upgrade = update gaps only
- Never overwrite human-added content; merge alongside
- Report created/updated/skipped files
- Analyze project structure and key source files
- Create TODO task per document with business context angle
- Track unknowns in ASSUMPTIONS.md with forward references
- Create or update documents:
CONTEXT.md:
- What this doc is for and what it should contain, self-defining style
- Self-defines purpose, content type, style
- Bulleted business context, purpose, domain — stakeholder perspective
- No technical details
- Limit to 100 lines, if there is MORE => keep CONTEXT.md with core CONTEXT plus index to per-feature -CONTEXT.md files with a set of terms what it contains.
ARCHITECTURE.md:
- What this doc is for and what it should contain, self-defining style
- Self-defines purpose, content type, style
- Architecture, modules, workspace structure, testing, styling, building blocks
- No business context — reference CONTEXT.md
- Reference CODEMAP.md for file structure
- Also include pre-existing processes (do not invent: document use existing commands or use existing documentation, per module, make it short, use file refs or just commands, sdlc related how-tos).
- Limit to 150 lines, if there is MORE => keep ARCHITECTURE.md with core ARCHITECTURE plus index to per-area -ARCHITECTURE.md files with a set of terms what it contains.
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 · +1 lines 603ada43dcc9
- 1mo ago Changed · +1 lines a8ed2666ab50
- 1mo ago Changed 56802e38ae51
- 1mo ago Changed c7c0560d3dfc
- 3mo ago First seen · 207 lines · 16 tokens per session scan A 6fcfaa1998b4
init-workspace-flow-documentation is a command published in the GitHub repository griddynamics/rosetta (384 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 2,085 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.
init-workspace-flow-documentation compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| init-workspace-flow-documentationgriddynamics/rosetta | Command | 384 | today | Apache-2.0 | A | 16 | Claude Code |
| brainaidemd-mcp/server | Command | 4 | 4d ago | MIT | A | 0 | Claude Code |
| qring-analyzeI4cTime/q-ring | Command | 6 | 18d ago | AGPL-3.0 | A | 17 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | today | MIT | A | 26 | Claude Code |