init-workspace-flow-codegraph

init-workspace-flow-codegraph is a command for Claude Code from griddynamics/rosetta. It costs 18 tokens per session (1,163 once invoked), scanned A, original, Apache-2.0.

A decision phase that recommends either language-server tools or code graphs for understanding a codebase. A language server provides code-aware navigation and information; a code graph shows relationships between code elements.

In plain words
What is it for?
It helps check existing tools, learn about available options such as CODEMAP, Graphify, or GitNexus, and update workspace context with the selected setup.
Why use it?
Large or unfamiliar projects can be difficult to navigate using files alone. This phase helps choose an appropriate way to inspect those relationships without requiring an unnecessary installation.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit It helps check existing tools, learn about available options such as CODEMAP, Graphify, or GitNexus, and update workspace context with the selected setup.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/griddynamics/rosetta/init-workspace-flow-codegraph
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.

Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

Made for: Claude Code.

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 init-workspace-flow-codegraph

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/init-workspace-flow-codegraph/github.svg)](https://agentmods.dev/commands/griddynamics/rosetta/init-workspace-flow-codegraph)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/init-workspace-flow-codegraph"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/init-workspace-flow-codegraph/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.

agentmods 80×15 button for init-workspace-flow-codegraph

Your own site · 80×15
<a href="https://agentmods.dev/commands/griddynamics/rosetta/init-workspace-flow-codegraph"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/init-workspace-flow-codegraph.svg" alt="Reviewed on agentmods" width="80" 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 1,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00018 $0.01163
Opus 5.5 $0.00007 $0.00465
Sonnet 5.5 $0.00004 $0.00233
Haiku 4.5 $0.00002 $0.00116

Measured 1mo ago against content hash a19ac3ab4545, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

init-workspace-flow-codegraph 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.

plugins/core-copilot-light/commands/init-workspace-flow-codegraph.md · 91 lines

How it starts

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

<init_workspace_flow_codegraph>

<description_and_purpose> Suggests user to install LSPs xor Code graphs only. </description_and_purpose>

<workflow_context>

  • Phase 6 of 9 in init-workspace-flow
  • Input: state.mode, state.plugin_active, IDEs
  • Output: LSP/codegraph configs, CONTEXT.md additions
  • Prerequisite: Phase 1-5 complete, state.mode set </workflow_context>

<phase_steps>

  1. Check state
  2. Learn
  3. Suggest LSPs, codegraphs
  4. Update state with phase status </phase_steps>

<check_mode step="6.1">

  1. Read agents/init-workspace-flow-state.md
  2. Check if LSPs or GitNexus or Graphify is already installed
  3. If upgrade mode: check whether user wants to change anything => basically confirm and allow to switch

</check_mode>

<learn_codegraph step="6.2">

  • Default — CODEMAP.md: built-in, no install, no third party, no cost, works on <300 source code files projects very easily.
  • Graphify (https://github.com/safishamsi/graphify): MIT-licensed, free.
  • GitNexus (https://github.com/abhigyanpatwari/GitNexus): free for non-commercial or personal use, PAID for commercial or business use. Likely this will be a blocker.
  • LSP: locally running lightweight Language Server Protocol servers for different programming languages
  • Exclusive selection: Graphify XOR GitNexus XOR LSPs. Multiple LSPs allowed. Default is perfect with LSPs.
  • Each IDE/coding agent requires different setup, there are SPECIFIC commands/params.
  • CRITICAL: our integration requires tools/LSPs to be on the PATH or available by just using tool name without paths.
  • IMPORTANT: user must do initialization for any extra, like "graphify .", etc.

</learn_codegraph>

<codegraph_known_links notice="DO NOT READ IN ADVANCE">

</codegraph_known_links>

<suggest_codegraph step="6.3">

  1. Read docs/TECHSTACK.md if not in context, to be grounded
  2. Always show selector with recommend Default first, then optional LSPs, then Graphify, then GitNexus (show ALL even if something is installed)
  3. Warn the user about licenses and IP: "third-party tool will have access to IP", "review license and policy with your manager"
  4. Explain you will NOT install yourself, but if installed IT IS supported by Rosetta
  5. Explain that they need to add "MUST USE SKILL CODEMAP AND FOR CODE NAVIGATION" to docs/CONTEXT.md at the end so that AI knows to use it (note skill already handles)
  6. Upon selection - do NOT install, read, search, understand paying attention to IDE/coding agent and languages
  7. Only then provide very brief, concise, specific, and short instructions for user to install plus exact deep links, make this guidance to visually standout from overall log of all activities
  8. You can guide user too AFTER entire workflow is completed, but do NOT install yourself, you can modify CONTEXT.md too

</suggest_codegraph>

<update_state step="6.4">

Read the full file on GitHub · 91 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. 1mo ago First seen · 91 lines · 18 tokens per session scan A a19ac3ab4545

Subscribe to this mod's changes

init-workspace-flow-codegraph is a command published in the GitHub repository griddynamics/rosetta (364 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 1,163 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.