cyrene-diagram

cyrene-diagram is a skill for Claude Code, Codex from Playa-0v0/Cyrene-Agent. It costs 50 tokens per session (689 once invoked), scanned A, original, MIT.

A design guide for making static SVG learning cards: small diagrams or reference cards rendered as images. It explains when to use a card instead of Mermaid, a text-based diagram format, and sets layout, color, size, and safety rules.

In plain words
What is it for?
Use it to create structured SVG cards for layered information, matrices, and other card-like explanations, while using Mermaid for flows, timelines, states, classes, and entity relationships.
Why use it?
It helps keep generated diagrams readable and prevents overlapping content, clipped text, excessive complexity, unsafe scripts, and inconsistent styling.

Skill for Claude CodeCodex

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

Good fit Use it to create structured SVG cards for layered information, matrices, and other card-like explanations, while using Mermaid for flows, timelines, states, classes, and entity relationships.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/playa-0v0/cyrene-agent/cyrene-diagram
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 Playa-0v0/Cyrene-Agent --skill cyrene-diagram
Clone the repo
git clone --depth 1 https://github.com/Playa-0v0/Cyrene-Agent

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/playa-0v0/cyrene-agent/cyrene-diagram/github.svg)](https://agentmods.dev/skills/playa-0v0/cyrene-agent/cyrene-diagram)
Your own site
<a href="https://agentmods.dev/skills/playa-0v0/cyrene-agent/cyrene-diagram"><img src="https://agentmods.dev/badge/skills/playa-0v0/cyrene-agent/cyrene-diagram/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 cyrene-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/playa-0v0/cyrene-agent/cyrene-diagram"><img src="https://agentmods.dev/badge/skills/playa-0v0/cyrene-agent/cyrene-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 689 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.00050 $0.00689
Opus 5 $0.00025 $0.00345
Sonnet 5 $0.00010 $0.00138
Haiku 4.5 $0.00005 $0.00069

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

Security

Grade A, and why

cyrene-diagram 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 6d 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/cyrene-diagram/SKILL.md · 45 lines

What it actually says

Cyrene Diagram(SVG 学习卡片)

当信息的组织方式是卡片 / 分层 / 矩阵而非"节点 + 连线"时,手写一张 SVG 学习卡片; 标准结构图(流程、时序、状态、类图、ER)优先用 Mermaid 围栏,不要手画。 数据趋势、精确图表两者都不用。信息塞不下 = 内容该精简,不是图该变大。

主题 Token(每次照抄,不另造色板)

用途 色值 来源
卡片背景 #FFFBFC --cy-bg-workspace
次级表面 #FFF1F6 --cy-bg-hover
强调主色 #FF5B8A --cy-accent
主文字 #1D1D1F --cy-text
次要文字 #8E8E93 --cy-text-muted
边框 #F2F2F2 --cy-border

圆角:卡片 12px、节点 8px。字号:正文 ≥14px、说明文字 ≥12px——字号是下限,不许缩小硬塞。

布局铁律(防重叠 / 防穿线 / 防溢出)

  1. 动笔前先在内部做坐标规划:每行节点总宽 + 间距 ≤ viewBox 宽度,放不下就换行或砍内容。
  2. 同行节点间距 ≥32px,流程步骤间距 ≥60px;节点宽 ≥ 文字宽 + 24px 内边距。
  3. 连线不穿过任何节点和文字;标签放不下就改写节点副标题,不缩小字号。
  4. viewBox 固定 0 0 720 H:宽度固定 720、自适应 100% 展示,高度按内容计算。
  5. 卡片四周留内边距,文字不贴边。

复杂度预算

  • 单张 SVG ≤ 6 个未分组节点、≤ 8 条连线;超过就分组、拆多张、或改用 Markdown 列表。
  • 每张卡片一个视觉焦点;水平方向最多 4 个盒子。

输出纪律

  • 只输出静态 SVG:无 <script>、无事件属性、无外部资源引用——渲染端会消毒拦截,写了也白写,还污染降级源码。
  • SVG 代码放在 ```svg 围栏中输出,围栏外不解释坐标细节。
  • 一次回复最多 1 张 SVG 卡片;需要多张说明内容该用文字组织。
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. 6d ago First seen · 45 lines · 50 tokens per session scan A e46274e0f598

Subscribe to this mod's changes

cyrene-diagram is a skill published in the GitHub repository Playa-0v0/Cyrene-Agent (594 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 689 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-09-06.

Related

Other skills, from other repositories

figma

Complete guide for the Figma plugin — REST API access, real-time selection monitoring via CDP, and the figma-app interactive UI. Read this IMMEDIATELY when the user asks to work with Figma.

mereyabdenbekuly-ctrl/clodex-ide · 48 tokens

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or es.

ranbot-ai/awesome-skills · 43 tokens

agent-tool-builder

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary.

ranbot-ai/awesome-skills · 46 tokens

frontend-slides

Open Design as a worked AI-workflow example: how local agents read your files and design on your desktop — concretely. Built as a decision-grade AI literacy deck for teams new to AI, leadership.

linyeping/Metis · 45 tokens

hps-bauhaus

A visual-design fundamentals course for new brand designers — grid, type, color, and the exercises that build the eye. Built as a decision-grade professional training deck for junior designers, new hires.

linyeping/Metis · 45 tokens

hps-memphis-pop

A pop-culture retrospective on how 1980s design language shaped today's apps — the scenes, the turning point, and the takeaway. Built as a decision-grade story deck for talk audience, design community.

linyeping/Metis · 49 tokens