spec-to-svg-flow-map

spec-to-svg-flow-map is a skill for Claude Code, Codex from tamnguyendinh/Anvien. It costs 120 tokens per session (1,583 once invoked), scanned A, original, MIT.

A tool that turns a product or technical specification into SVG flow maps: diagrams that show people, data, permissions, system states, errors, and handoffs.

In plain words
What is it for?
Use it to map user interfaces, backend data, authentication, syncing, recovery paths, external contracts, and branching workflows.
Why use it?
It makes missing decisions and undefined behavior visible while keeping the diagram tied to what the specification actually says.

Skill for Claude CodeCodex

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

Good fit Use it to map user interfaces, backend data, authentication, syncing, recovery paths, external contracts, and branching workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tamnguyendinh/anvien/spec-to-svg-flow-map
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 tamnguyendinh/Anvien --skill spec-to-svg-flow-map
Clone the repo
git clone --depth 1 https://github.com/tamnguyendinh/Anvien

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 spec-to-svg-flow-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/tamnguyendinh/anvien/spec-to-svg-flow-map/github.svg)](https://agentmods.dev/skills/tamnguyendinh/anvien/spec-to-svg-flow-map)
Your own site
<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/spec-to-svg-flow-map"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/spec-to-svg-flow-map/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 spec-to-svg-flow-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/spec-to-svg-flow-map"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/spec-to-svg-flow-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 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.00120 $0.01583
Opus 5 $0.00060 $0.00792
Sonnet 5 $0.00024 $0.00317
Haiku 4.5 $0.00012 $0.00158

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

Security

Grade A, and why

spec-to-svg-flow-map 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.

internal/aicontext/skills/Spec-to-SVG-Flow-Map/SKILL.md · 168 lines

How it starts

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

Spec Thành SVG Flow Map

Mục Đích

Chuyển spec thành bộ artifact flow map SVG có thể đọc được bởi người và tool/code.

Skill này không tạo sơ đồ trang trí. Skill này tạo bản đồ ngữ nghĩa để phơi bày:

  • luồng người dùng và UI
  • luồng dữ liệu, state, storage, source-of-truth
  • luồng auth, session, thiết bị, quyền, ranh giới bảo mật
  • luồng sync, mạng, lifecycle, reconnect, recovery
  • contract backend, API, hệ thống ngoài
  • lỗi, recovery, background job, runtime command
  • decision, branch, handoff pipeline, terminal state, out-of-scope reference
  • gap spec, undefined behavior, owner decision, missing data, bottleneck, risk
  • legend giải thích ở cuối SVG

Mục tiêu là vẽ đúng SPEC đang mô tả, không vẽ hệ thống mà agent nghĩ là đúng.

Đọc Tài Liệu Tham Chiếu Bắt Buộc

Trước khi vẽ bất kỳ logic triển khai SVG nào, đọc các file reference theo thứ tự:

  1. references/source-fidelity.md
  2. references/source-inventory-and-manifest.md
  3. references/rendering-rules.md
  4. references/svg-contract.md
  5. references/verification-and-acceptance.md

Đọc thêm references/domain-detail-checklist.md khi scope có auth, session, scope, runtime command, business flow, sync, snapshot, report, print, lifecycle, settings, backend/API, hoặc contract ngoài.

Nếu reference bắt buộc không đọc được, dừng lại và báo BLOCKED.

Quy Tắc Cứng

  1. Không implement app/source code.
  2. Không sửa production source file.
  3. Không đoán hành vi thiếu.
  4. Không che giấu ambiguity.
  5. Không đặt logic quan trọng chỉ trong geometry hoặc vị trí visual.
  6. Mọi quan hệ flow quan trọng phải có text visible và XML metadata.
  7. Mọi decision node phải có đủ outgoing branches.
  8. Mọi edge phải có condition rõ ràng, dùng condition="always" cho unconditional flow.
  9. Mọi pipeline handoff phải đi qua junction node thật.
  10. Mọi terminal state phải có node riêng.
  11. Mọi ambiguity chưa giải quyết phải thành gap node visible.
  12. Phải build source-union inventory trước khi vẽ logic triển khai.
  13. Phải build source-described flow manifest trước khi vẽ logic triển khai.
  14. Phải render logic triển khai từng flow, không render từ một bulk summary pass.
  15. Không collapse detail có tên thành generic node.
  16. Không improve, repair, normalize, hoặc tự nối flow vượt quá điều source thật sự nói.
  17. Nếu không thể hoàn thành map một cách an toàn, dừng lại và nói rõ lý do.

Read the full file on GitHub · 168 lines

Files

What ships with it

7 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. 12d ago First seen · 168 lines · 120 tokens per session scan A bd7560e6ca9a

Subscribe to this mod's changes

spec-to-svg-flow-map is a skill published in the GitHub repository tamnguyendinh/Anvien (9 stars, last pushed yesterday), licensed MIT. It adds 120 tokens to every session and 1,583 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

archify

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and…

tt-a1i/archify · 130 tokens

ui-web

Web UI - glassmorphism, Tailwind, dark mode, accessibility.

alinaqi/maggy · 17 tokens

slides

A slide generator that creates PNG images for presentation decks, including simple backgrounds for spoken-video scripts and fuller layouts for standalone presentations.

majiayu000/spellbook · 41 tokens

diagrams

Mermaid diagrams following the C4 model: context, container, component, sequence, ER and deployment. Use when saying "diagram", "visualize", or "architecture diagram".

anton-abyzov/specweave · 0 tokens

design-inventory

Use to run the Claude Design to ClosedLoop pipeline against the current web-ui. Stage A inventories a design export zip into schema-validated findings (typed design units - screens, regions like nav bars, standalone components like a chat dialog; UX and behavioral changes; Storybook component reuse mapping; token…

closedloop-ai/claude-plugins · 173 tokens

user-experience

Apply a UX lens to a user-facing change: whether it serves the user's real goal and whether the path through it holds together, using the Understanding, Bridging, and Flowing contexts. Use when scoping, planning, or assessing any change that affects what a user sees or does. Loaded as a lens during planning and…

tobihagemann/turbo · 71 tokens