excalidraw-architect-mcp: Skill for Claude Code

.skills/architecture-knowledge-graph/SKILL.md

architecture-knowledge-graph is a skill for Claude Code, Codex from BV-Venky/excalidraw-architect-mcp. It costs 67 tokens per session (1,104 once invoked), scanned A, original, MIT.

A guide for mapping a codebase as an architecture knowledge graph: a durable record of services and how they communicate. It uses Excalidraw Architect tools to create, validate, and render that map.

In plain words
What is it for?
Use it to inspect one or more repositories, identify deployable services or bounded areas of responsibility, link their dependencies, and keep the architecture document current.
Why use it?
It helps you understand a large system without recording every class or import. A shared map makes service boundaries and dependencies easier to maintain and review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is BV-Venky/excalidraw-architect-mcp's own configuration. It tells Claude Code and Codex how to work on excalidraw-architect-mcp 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 excalidraw-architect-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BV-Venky/excalidraw-architect-mcp. 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/BV-Venky/excalidraw-architect-mcp/main/.skills/architecture-knowledge-graph/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BV-Venky/excalidraw-architect-mcp

Made for: Claude Code, Codex.

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 architecture-knowledge-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph/github.svg)](https://agentmods.dev/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph)
Your own site
<a href="https://agentmods.dev/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph"><img src="https://agentmods.dev/badge/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph/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 architecture-knowledge-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph"><img src="https://agentmods.dev/badge/skills/bv-venky/excalidraw-architect-mcp/architecture-knowledge-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00067 $0.01104
Opus 5 $0.00034 $0.00552
Sonnet 5 $0.00013 $0.00221
Haiku 4.5 $0.00007 $0.00110

Measured 13d ago against content hash 0ec968c4d669, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

architecture-knowledge-graph 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 13d 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.

.skills/architecture-knowledge-graph/SKILL.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.

Architecture Knowledge Graph Guide

This skill teaches you how to turn a codebase into a clean, durable knowledge graph using the kg_* MCP tools. The graph (default .claude/architecture.md) is the single source of truth; diagrams are rendered views of it.

Graph quality depends almost entirely on how well you read the code. The MCP preserves, validates, and renders whatever you put in — it does not analyze the codebase. That analysis is your job.

Core Principle

Model services/components and how they communicate, not classes, functions, or every import. A "service" is a deployable unit / bounded context — one repo, one container, one logical responsibility.

Workflow (do the passes in order — don't interleave)

  1. kg_init once (or kg_import to bootstrap from an existing .excalidraw).
  2. Discovery pass — identify every service first. Add each with kg_add_service, setting component_type, domain, and owner while the info is in front of you (Dockerfiles, CODEOWNERS, READMEs, manifests).
  3. Linking pass — only after all services exist, add edges with kg_link. Linking before a target exists fails; that's why discovery comes first.
  4. kg_lint — catch dangling references, cycles, and single points of failure. Fix them before rendering.
  5. kg_render (whole graph) or kg_render_view / kg_render_around / kg_render_domain for focused diagrams.

How to find the edges (where services talk)

Look for these signals and translate each into a labelled kg_link:

Signal in code Link Label / style
HTTP client, base URL, OpenAPI/Swagger spec sync call "REST /orders", style: solid
gRPC stub / proto service sync call "gRPC GetOrder", style: solid
Kafka/SQS/RabbitMQ producer async event "Kafka order.created", style: dashed
Kafka/SQS/RabbitMQ consumer async event (incoming) label with the same topic
DB connection string / ORM config datastore "reads/writes", style: solid
Service-discovery / env var (PAYMENTS_URL) dependency name the protocol

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. 13d ago First seen · 91 lines · 67 tokens per session scan A 0ec968c4d669

Subscribe to this mod's changes

architecture-knowledge-graph is a skill published in the GitHub repository BV-Venky/excalidraw-architect-mcp (150 stars, last pushed 17d ago), licensed MIT. It adds 67 tokens to every session and 1,104 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

PheroPath

A filesystem-based stigmergy communication protocol. Use this to leave invisible "pheromones" (signals) on files to communicate context, risks, or status to other agents or your future self without modifying file content.

zi-yue-1129/PheroPath · 48 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

mantis-reproduce

Generates and runs crash reproducers to verify security flaws. Use when viable findings exist and you need to write and execute a script or payload to verify the crash. Don't use for code auditing or patching.

google/mantis · 47 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens