diagram-concept

diagram-concept is a skill for Claude Code, Codex from xiaohei-info/oh-my-multica. It costs 167 tokens per session (4,665 once invoked), scanned A, a copy of concept-diagrams, MIT.

A guide for generating simple, standalone SVG diagrams, which are scalable drawings made from shapes and text, in HTML files.

In plain words
What is it for?
Use it to create educational diagrams such as physics setups, anatomy views, process journeys, floor plans, and quantitative charts.
Why use it?
It provides a consistent way to explain physical, scientific, mathematical, architectural, and other non-software subjects visually.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit Use it to create educational diagrams such as physics setups, anatomy views, process journeys, floor plans, and quantitative charts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaohei-info/oh-my-multica/diagram-concept
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 xiaohei-info/oh-my-multica --skill diagram-concept
Clone the repo
git clone --depth 1 https://github.com/xiaohei-info/oh-my-multica

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 diagram-concept

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaohei-info/oh-my-multica/diagram-concept/github.svg)](https://agentmods.dev/skills/xiaohei-info/oh-my-multica/diagram-concept)
Your own site
<a href="https://agentmods.dev/skills/xiaohei-info/oh-my-multica/diagram-concept"><img src="https://agentmods.dev/badge/skills/xiaohei-info/oh-my-multica/diagram-concept/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 diagram-concept

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaohei-info/oh-my-multica/diagram-concept"><img src="https://agentmods.dev/badge/skills/xiaohei-info/oh-my-multica/diagram-concept.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,665 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 98% copy Near-identical to another mod 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.00167 $0.04665
Opus 5 $0.00084 $0.02332
Sonnet 5 $0.00033 $0.00933
Haiku 4.5 $0.00017 $0.00466

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

Security

Grade A, and why

diagram-concept 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 12d 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.

Origin

This is a copy

98% identical to concept-diagrams — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/omac/agents/architect/skills/diagram-concept/SKILL.md · 364 lines

How it starts

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

Concept Diagrams

Generate production-quality SVG diagrams with a unified flat, minimal design system. Output is a single self-contained HTML file that renders identically in any modern browser, with automatic light/dark mode.

Scope

Best suited for:

  • Physics setups, chemistry mechanisms, math curves, biology
  • Physical objects (aircraft, turbines, smartphones, mechanical watches, cells)
  • Anatomy, cross-sections, exploded layer views
  • Floor plans, architectural conversions
  • Narrative journeys (lifecycle of X, process of Y)
  • Hub-spoke system integrations (smart city, IoT networks, electricity grids)
  • Educational / textbook-style visuals in any domain
  • Quantitative charts (grouped bars, energy profiles)

Look elsewhere first for:

  • Dedicated software / cloud infrastructure architecture with a dark tech aesthetic (consider architecture-diagram if available)
  • Hand-drawn whiteboard sketches (consider excalidraw if available)
  • Animated explainers or video output (consider an animation skill)

If a more specialized skill is available for the subject, prefer that. If none fits, this skill can serve as a general-purpose SVG diagram fallback — the output will carry the clean educational aesthetic described below, which is a reasonable default for almost any subject.

Workflow

  1. Decide on the diagram type (see Diagram Types below).
  2. Lay out components using the Design System rules.
  3. Write the full HTML page using templates/template.html as the wrapper — paste your SVG where the template says <!-- PASTE SVG HERE -->.
  4. Save as a standalone .html file (for example ~/my-diagram.html or ./my-diagram.html).
  5. User opens it directly in a browser — no server, no dependencies.

Optional: if the user wants a browsable gallery of multiple diagrams, see "Local Preview Server" at the bottom.

Load the HTML template:

skill_view(name="concept-diagrams", file_path="templates/template.html")

The template embeds the full CSS design system (c-* color classes, text classes, light/dark variables, arrow marker styles). The SVG you generate relies on these classes being present on the hosting page.

Read the full file on GitHub · 364 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. 12d ago First seen · 364 lines · 167 tokens per session scan A 4522eafee460

Subscribe to this mod's changes

diagram-concept is a skill published in the GitHub repository xiaohei-info/oh-my-multica (26 stars, last pushed 5d ago), licensed MIT. It adds 167 tokens to every session and 4,665 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to concept-diagrams, differing in 9 lines, and is treated as a copy.