mk:tech-graph

mk:tech-graph is a skill for Claude Code from ngocsangyem/MeowKit. It costs 88 tokens per session (1,313 once invoked), scanned B, original, MIT.

A tool for creating technical diagrams such as architecture, data-flow, sequence, class, and database diagrams in SVG and PNG formats.

In plain words
What is it for?
Use it to document software architecture, data movement, agent memory, database structures, workflows, and state changes.
Why use it?
It turns complex system relationships and processes into diagrams that are easier to inspect and share.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to document software architecture, data movement, agent memory, database structures, workflows, and state changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/tech-graph
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.

Any agent
npx skills add ngocsangyem/MeowKit --skill tech-graph
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

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 mk:tech-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/tech-graph/github.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/tech-graph)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/tech-graph"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/tech-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 mk:tech-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/tech-graph"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/tech-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,313 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00088 $0.01313
Opus 5 $0.00044 $0.00656
Sonnet 5 $0.00018 $0.00263
Haiku 4.5 $0.00009 $0.00131

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

Security

Grade B, and why

mk:tech-graph scanned grade B with 1 finding 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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/generate-diagram.sh, scripts/generate-from-template.py, scripts/generate-svg-from-lines.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install librsvg2-bin # Debian/Ubuntu
.claude/skills/tech-graph/SKILL.md · 96 lines

How it starts

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

Tech Graph

Generate production-quality SVG technical diagrams, optionally exported as PNG.

Route by Intent

Workflow

  1. Classify the request with the diagram catalog; extract layers, nodes, edges, flows, and groups.
  2. Load the selected style reference. Style 8 requires hand-authored SVG; do not use the template generator.
  3. Load visual vocabulary/layout guidance, map nodes and arrows, and use a legend for two or more arrow types.
  4. Generate with the relevant helper: run python3 .claude/skills/tech-graph/scripts/generate-from-template.py for supported templates, or run python3 .claude/skills/tech-graph/scripts/generate-svg-from-lines.py <output.svg> and pipe SVG lines to stdin for hand-authored output.
  5. Run bash .claude/skills/tech-graph/scripts/validate-svg.sh <output.svg>. If available, run rsvg-convert <output.svg> -o /dev/null as an additional check.
  6. Check rsvg-convert before PNG export. When absent, keep the SVG and report the install hint; never auto-install or fail the task.
  7. If image reading is available, inspect the exported PNG and correct collisions, overflow, crossings, or covered legends before delivery.

Read the full file on GitHub · 96 lines

Files

What ships with it

34 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 96 lines · 88 tokens per session scan B 56b642c8b589

Subscribe to this mod's changes

mk:tech-graph is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 1,313 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

svg-press

Teaches agents how to hand-craft self-contained SVG diagrams that render correctly in browsers, tags, and Playwright PDF/PNG. Covers containment math, viewBox sizing, arrow construction, text hierarchy, KDCube brand color tokens, semantic zone fills, badges, the PNG inspection loop, writepng parameters, multi-diagram…

kdcube/kdcube · 87 tokens

architecture-diagram

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

mateaix/mateclaw · 15 tokens

code-to-diagram

Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts. Uses AST parsing to map import dependencies for Python, JS/TS, Go, and Java, outputting Mermaid or SVG files. Triggered when users ask to visualize code architecture, understand dependencies, draw a flowchart, or create a…

zebbern/claude-code-guide · 74 tokens

fin-arch-diagram

A tool for creating architecture diagrams, process flowcharts, and hierarchy trees. These show how system parts, business steps, decisions, or organizational levels relate to one another.

csmar432/finai-research · 72 tokens

pptx-press

Teaches agents how to author slide-structured HTML that renders professionally to PPTX via writepptx, with proper sizing, styling, brand and domain-adaptive color schemes, SVG diagram integration, citation handling, deck narrative flow, and content budgets for business presentations, technical decks, and executive…

kdcube/kdcube · 69 tokens

mermaid

Teaches agents how to write syntactically correct Mermaid diagrams that render without errors across all supported diagram types. Covers quoting rules, common syntax pitfalls, diagram-type-specific syntax (flowchart, sequence, class, ER, Gantt, state, pie, mindmap), subgraphs, styling with classDef and theme…

kdcube/kdcube · 89 tokens