artifact-diagramming

artifact-diagramming is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 45 tokens per session (923 once invoked), scanned A, original, CC0-1.0.

A set of guidelines for drawing technical diagrams in Artifacts. It focuses on showing how components, data, requests, and system states connect or differ.

In plain words
What is it for?
Use it when illustrating data flow, component interactions, request paths, state changes, or comparisons between architectures.
Why use it?
It helps diagrams explain a mechanism clearly instead of merely decorating a page or repeating labels from the surrounding text.

Skill for Claude CodeCodex

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

Good fit Use it when illustrating data flow, component interactions, request paths, state changes, or comparisons between architectures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/artifact-diagramming
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill artifact-diagramming
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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 artifact-diagramming

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/artifact-diagramming/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/artifact-diagramming)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/artifact-diagramming"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/artifact-diagramming/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 artifact-diagramming

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/artifact-diagramming"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/artifact-diagramming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 923 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • 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.00045 $0.00923
Opus 5.5 $0.00018 $0.00369
Sonnet 5.5 $0.00009 $0.00185
Haiku 4.5 $0.00005 $0.00092

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

Security

Grade A, and why

artifact-diagramming 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.

Anthropic/claude-code/skills/artifact-diagramming/SKILL.md · 29 lines

How it starts

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

Draw as the engineer who has to live with the decision, not as a decorator: a diagram earns its place when it lets a cold reader see a mechanism they would otherwise have to assemble from prose - where data flows, which components talk, what changes between two options, what state a request moves through. If a sentence says it faster, write the sentence.

What to draw

Depict the mechanism, not its name. A box labeled "cache" says less than the prose; the path a request takes through it, the two stores it sits between, and the arrow that disappears when the cache is removed say what the words can't. Show the parts that the argument hinges on - the boundary being crossed, the hop being added, the data that moves - and leave out the parts that don't.

Comparing options? Draw the difference. Two architectures side by side, a before and an after, the one edge that each option adds or removes - the reader should be able to point at what they are choosing between. A separate labeled box per option, with nothing connecting them to the system, is not a comparison; it is a restated option list.

Match complexity to the stakes. A one-hop question is a three-box diagram; a migration that reroutes writes through a queue needs the queue, the writer, the reader, and the ordering arrow. Draw as much as the decision actually turns on - no forced minimalism, no inventory of the whole system either.

Label the arrows. An unlabeled arrow is "related somehow"; writes, invalidates, polls every 30s is information. A legend is only worth it when the same encoding (dashed, colored, doubled) repeats; otherwise put the meaning on the mark itself.

Inline SVG mechanics

These mechanics apply where the page renders inline SVG natively (HTML pages); a markdown-rendered page draws its diagrams in whatever fence that lane's renderer supports, and the skill that owns the lane says which. An artifact made from an Artifact type draws its diagrams the way the type's instructions, and the reference pages they name, say to; these mechanics apply there only where those say nothing about diagrams. Hand-author inline <svg> with native shapes (rect, circle, line, polyline, path) and <text> - no libraries, no runtime, no external images.

Read the full file on GitHub · 29 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. 1mo ago Changed 18090854d77c
  2. 3mo ago First seen · 29 lines · 45 tokens per session scan A ce508fac9bdf

Subscribe to this mod's changes

artifact-diagramming is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 45 tokens to every session and 923 once invoked, about $0.0002 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-30.

Related

artifact-diagramming compared with skills from other repositories

artifact-diagramming next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
artifact-diagrammingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A45Claude Code, Codex
anatomyNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
claude-designNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
ip-as-logoNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
sketchNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex
baoyu-infographicNousResearch/hermes-agentSkill267ktodayMITA23Claude Code, Codex
mono-colorNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex