graph-map

graph-map is a command for Claude Code from sodam-ai/SoDam-Graph-Eng. It costs 34 tokens per session (676 once invoked), scanned A, original, Apache-2.0.

A read-only command that draws a Mermaid relationship diagram for seven related projects. Mermaid is a text format that renders diagrams in places such as GitHub and VS Code's Markdown preview.

In plain words
What is it for?
Use it to review relationships, shared resources, conflicts, estimated time in each stage, and uncertain links between the projects. It also shows when the information was last scanned.
Why use it?
It makes project dependencies and possible cycles easier to see. A dependency is a relationship where one project must be handled before another; a cycle means projects are waiting on one another indefinitely.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the sodam-graph plugin — 9 commands, 1 hook shipped together

Good fit Use it to review relationships, shared resources, conflicts, estimated time in each stage, and uncertain links between the projects. It also shows when the information was last scanned.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sodam-ai/SoDam-Graph-Eng
Claude Code
/plugin install sodam-graph

Made for: Claude Code.

Or install sodam-graph, the plugin that ships this one along with the rest of its 9 commands, 1 hook.

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 graph-map

README.md
[![agentmods](https://agentmods.dev/badge/commands/sodam-ai/sodam-graph-eng/graph-map/github.svg)](https://agentmods.dev/commands/sodam-ai/sodam-graph-eng/graph-map)
Your own site
<a href="https://agentmods.dev/commands/sodam-ai/sodam-graph-eng/graph-map"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-graph-eng/graph-map/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 graph-map

Your own site · 80×15
<a href="https://agentmods.dev/commands/sodam-ai/sodam-graph-eng/graph-map"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-graph-eng/graph-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 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.00034 $0.00676
Opus 5 $0.00017 $0.00338
Sonnet 5 $0.00007 $0.00135
Haiku 4.5 $0.00003 $0.00068

Measured 9d ago against content hash 716525ebd852, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

graph-map 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 9d 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.

commands/graph-map.md · 41 lines

What it actually says

소담 7형제의 관계도를 그려서 보여주세요.

하는 일

node "${CLAUDE_PLUGIN_ROOT}/lib/mermaid.mjs"
  • 마지막으로 훑은 지 10분이 지났으면 자동으로 다시 훑습니다.
  • 출력 맨 위의 [HH:MM 기준]언제 본 값인지입니다. 그대로 함께 전하세요.

결과를 이렇게 전해 주세요

  • 명령이 내놓은 mermaid 블록을 그대로 붙여넣으세요. 손대지 마세요.
    • 🔴 직접 다시 그리거나 요약하지 마세요. 규격(graph LR·노드 ID·엣지 모양)이 문서에 고정돼 있고, 고치면 그 규격을 깹니다.
  • 그림 위에 🔴 순환 의존 발견 경고가 있으면 그것부터 전하세요. 순환은 "서로가 서로를 기다려서 영원히 안 끝나는 상태" 라고 풀어 주고, 하나를 떼어내야 풀린다고 알려주세요.
  • 그림 아래 보는 법을 함께 전하세요. 특히 처음 보는 분께는:
    • 실선 화살표 = 저게 먼저 끝나야 이걸 할 수 있음
    • 점선 = 같은 것을 함께 쓰거나(공용) 동시에 건드리면 부딪힘(충돌)
    • (추정) = 대충은 아는데 자세히는 모르는 상태/graph-shadow 로 한 번만 정리하면 사라짐
    • 노드 안 숫자 = 그 단계에 머문 날수

그림이 안 보인다고 하면

마크다운 그림(Mermaid)을 보여줄 수 있는 곳에서 봐야 합니다.

  • GitHub 에서 .md 파일로 볼 때 · VS Code 미리보기(Ctrl+Shift+V) 에서 보입니다.
  • 터미널에는 글자만 나옵니다. 그건 고장이 아니라 원래 그렇습니다.
  • 파일로 저장해 두고 보고 싶으면, 그 블록을 마크다운 파일에 붙여넣으라고 안내하세요.

규칙 (이 명령의 안전 범위)

  • 이 명령은 읽기만 합니다. 형제 프로젝트의 파일을 고치거나 만들지 않습니다.
  • 🔴 그림에 없는 관계를 지어내지 마세요. 명령이 그린 것만 설명합니다.
  • 이 그림은 형제 사이 관계만 봅니다. 형제 안쪽 단계 순서는 /graph-next 로 보세요 (출력 아래에 몇 개를 생략했는지 적혀 있습니다).
  • 형제 이름을 줄여 쓰지 마세요 — "루프" ❌ / "소담루프엔지니어링" ✅.
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. 9d ago First seen · 41 lines · 34 tokens per session scan A 716525ebd852

Subscribe to this mod's changes

graph-map is a command published in the GitHub repository sodam-ai/SoDam-Graph-Eng (4 stars, last pushed 7d ago), licensed Apache-2.0. It adds 34 tokens to every session and 676 once invoked, about $0.0002 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-08-31.