init-workspace-flow-codegraph

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

Phase 6 Code-graph of init-workspace-flow.

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/init-workspace-flow-codegraph
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta
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. Scan, not verified.
Origin unknown 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.01163
Opus 5 $0.00009 $0.00581
Sonnet 5 $0.00004 $0.00233
Haiku 4.5 $0.00002 $0.00116

Measured today against content hash a19ac3ab4545, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. today 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 (342 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. 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.