TLDRGraph: Command for Claude Code

.claude/commands/tldrgraph-init.md

tldrgraph-init is a command for Claude Code from vikrantd/TLDRGraph. It costs 12 tokens per session (200 once invoked), scanned A, original, MIT.

A command for building or continuing a TLDRGraph architecture graph for a code repository, including its layers, extraction, and enrichment.

In plain words
What is it for?
Use it to create or extend a graph that describes how a codebase is organised and how its parts are extracted and enriched.
Why use it?
It helps keep a repository's architecture map growing from where previous work stopped.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is vikrantd/TLDRGraph's own configuration. It tells Claude Code how to work on TLDRGraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TLDRGraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vikrantd/TLDRGraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vikrantd/TLDRGraph/main/.claude/commands/tldrgraph-init.md
Clone the repo
git clone --depth 1 https://github.com/vikrantd/TLDRGraph

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 tldrgraph-init

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/vikrantd/tldrgraph/tldrgraph-init"><img src="https://agentmods.dev/badge/commands/vikrantd/tldrgraph/tldrgraph-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 200 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.00012 $0.00200
Opus 5.5 $0.00005 $0.00080
Sonnet 5.5 $0.00002 $0.00040
Haiku 4.5 $0.00001 $0.00020

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

Security

Grade A, and why

tldrgraph-init 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.

.claude/commands/tldrgraph-init.md · 25 lines

What it actually says

TLDRGraph: build the source-backed workflow catalog

For a first catalog, run:

tldrgraph init

When the status is needs_feature_workflows:

  1. Read the source_hash and validation status returned by the command.
  2. Identify feature outcomes, define areas, and write the v4 .tldrgraph/features.yaml index before delegating workflow research.
  3. Spawn one fresh source-reading subagent for each indexed feature. Never assign the entire catalog to one subagent.
  4. Have each worker write only its evidence-backed v4 workflow to its assigned .tldrgraph/workflows/<feature_id>.yaml file; do not collect or rewrite it.
  5. Run the same command again. Use tldrgraph refresh when updating an existing catalog after source changes.

Continue until the status is done.

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 Changed · -154 lines · -11 tokens per session 82fe2a4ffd1c
  2. 1mo ago Changed · +3 lines 248c5b652b4f
  3. 1mo ago Changed · +45 lines 2a74ba57f4da
  4. 2mo ago First seen · 131 lines · 23 tokens per session scan A 1262a4a53305

Subscribe to this mod's changes

tldrgraph-init is a command published in the GitHub repository vikrantd/TLDRGraph (7 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 200 once invoked, about $0.0000 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-08-31.

Related

tldrgraph-init compared with commands from other repositories

tldrgraph-init next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tldrgraph-initvikrantd/TLDRGraphCommand71mo agoMITA12Claude Code
memorizelucasrosati/claude-code-memory-setupCommand1.1k16d agoMITA0Claude Code
securityajitpratap0/GoSQLXCommand1242d agoApache-2.0A21Claude Code
formula-f8kouroshez/coding-osCommand7todayApache-2.0A0Claude Code
doctordeepfusionlabs/deep-initCommand61mo agoMITA39Claude Code
kg-setupEthics03/kgskillCommand37mo agoMITA8Claude Code
cl-mergeberrzebb/quorumCommand106mo agoMITA18Claude Code