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.
npx agentmods add commands/griddynamics/rosetta/init-workspace-flow-documentationgit 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.svg" alt="Measured on agentmods" 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 | $0.00016 | $0.01978 |
| Opus 5 | $0.00008 | $0.00989 |
| Sonnet 5 | $0.00003 | $0.00396 |
| Haiku 4.5 | $0.00002 | $0.00198 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 207 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 signle 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, state.file_count, state.mode, state.composite
- Output: CONTEXT.md, ARCHITECTURE.md, IMPLEMENTATION.md, ASSUMPTIONS.md, AGENT MEMORY.md
- Prerequisite: Phases 3 and 5 complete </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,gpt-5.6-sol-high,gemini-3.7-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
- 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.
IMPLEMENTATION.md:
- What this doc is for and what it should contain, self-defining style
- Self-defines purpose, content type, style
- Baseline state VERY BRIEFLY (first part, use word "Baseline" in header, not word "current" - misleading later on)
- High-level change log, each change separate header with date and description (second part)
- DRY — reference other docs
- The only implementation change log
- If nothing to add - add template
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.
- today 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 (342 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 1,978 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.
Other commands, from other repositories
resolve-conflicts
Resolve merge conflicts on a GitHub PR by merging the base branch into the PR branch in an isolated git worktree, with JSON/markdown-aware conflict resolution.
react-router-client-loader
Do this in a clientLoader and use loaderData to render the component. DO NOT create mock data, new interfaces, or mock data loader functions. Instead, assume loaderData has all of the data you need to render the component.
rclone_archive_extract
Extract archives from source to destination.
rclone_completion
Output completion script for a given shell.
deploy-check
Pre-flight verification before pushing to main. Reproduces the CI gates locally so the push doesn't fail in production.
hook-install
Install a git hook for automatic commit sync on push. When installed, every git push automatically syncs pushed commits to Avos Memory, enabling real-time team synchronization.