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.
npx skills add simbajigege/book2skills --skill html-line-svggit clone --depth 1 https://github.com/simbajigege/book2skillsWrote 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.
[](https://agentmods.dev/skills/simbajigege/book2skills/html-line-svg)<a href="https://agentmods.dev/skills/simbajigege/book2skills/html-line-svg"><img src="https://agentmods.dev/badge/skills/simbajigege/book2skills/html-line-svg/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.
<a href="https://agentmods.dev/skills/simbajigege/book2skills/html-line-svg"><img src="https://agentmods.dev/badge/skills/simbajigege/book2skills/html-line-svg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00210 | $0.05921 |
| Opus 5.5 | $0.00084 | $0.02368 |
| Sonnet 5.5 | $0.00042 | $0.01184 |
| Haiku 4.5 | $0.00021 | $0.00592 |
Grade A, and why
html-line-svg 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.
How it starts
The opening of the file, as written. The whole thing — 264 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTML 语义框线 SVG
把原内容中的对象、关系、状态与阅读顺序,重新编码为克制的技术文档式框线图。先保证图能准确复述教学判断,再处理构图与 SVG 细节;不要把原插图机械描摹成矢量轮廓。每次交付同时生成一份自包含的线框图提示词,使同一语义设计能够被复用、复核和继续迭代。
开始前
- 读取目标内容、相邻内容、现有图片或草图、承载它的 HTML/CSS 和可用空间。
- 在
course-design中工作时,读取根目录AGENTS.md、docs/design/STYLE_DNA.md、目标页面使用的设计 token 与更具体的目录规范。 - 由其他 skill 调用时,回到调用它的上层工作流:遵守上层 skill 规定的事实来源、源文件、素材登记、追溯记录、生成物和验证范围,不固定绑定
tailor-html-to-slide、ppt-like-html或任何单一载体。独立调用时,遵守目标项目与目标文件所在目录的规则。 - 保护原结论、概念边界、方向、状态与数量。无法从材料确认的关系不要画成箭头。
工作流
1. 写语义规格与可选 Mermaid 关系结构
在画图前写出一个最小规格;可放在工作笔记中,不要求成为最终页面文字。
teaching_claim: 这张图必须让读者看懂的一个判断
objects:
- id: object-a
label: 对象名称
role: interface | agent | task | container | document | state
relations:
- from: object-a
to: object-b
type: flow | dispatch | claim | sync | association | compare | contains
direction: forward | bidirectional | none
path: primary | alternative
payload: 可选;仅在理解交接物时填写
states:
- target: object-b
type: added-later | waiting | incomplete | fading | persistent | warning | blocked
visible_labels:
- text: 对读者可见的文字
role: group-title | object-label | relation-label | caption
layout_constraints:
peer_alignment: visual-center-y | top | baseline | none
alignment_tolerance: "0.5% of viewBox height"
minimum_safe_gap: "2% of viewBox width"
containment_label_zone: top | side | none
reading_order: left-to-right | top-to-bottom | center-out | board-to-peers
只保留支持 teaching_claim 的信息。名称、数量、箭头方向、实线或虚线都必须能在规格中找到语义理由。path 区分主流程与非主流程;payload 仅在不说明交接物就无法理解关系时填写,不要为每条箭头强行补产物。visible_labels 用来提前发现相邻层级的重复文字;layout_constraints 写相对约束,不写只适用于某一张图的坐标。
当图以节点关系为主时,优先在 YAML 之前或之后补一段 Mermaid,把它作为可执行、可预览的关系结构规格。系统架构、流程、Agent 协作、状态转换、时序交互、类关系和实体关系通常适合;GUI 页面线框、纯视觉对比和难以抽象为节点关系的插图可以省略。选择语法和写法时参考 Mermaid 官方图表语法文档,并从该页导航到 Flowchart、Architecture、Sequence、State、Class、Entity Relationship 等对应图型。
Mermaid 规格遵循以下要求:
- 使用稳定、可读的节点 ID;把必须展示的文字写成显式标签。
- 写清分组、关系动词、箭头方向和可确认的状态;材料没有依据的连接不要添加。
- 选择能表达语义的最小图型,不为展示 Mermaid 功能而增加节点形状、颜色或关系。
- 把 Mermaid 的节点、分组和边视为语义依据,不把自动布局、折线路径、坐标或默认样式视为最终设计。
- Mermaid 不能替代
teaching_claim、对象角色、状态歧义说明、可见标签、布局约束、阅读顺序和窄屏行为;仍用 YAML 或紧邻 Mermaid 的文字补齐这些信息。
What ships with it
13 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.
- agents/openai.yaml 280 B
- assets/examples/centralized-agent-dispatch.svg 3.2 KB
- assets/examples/distributed-agent-claim.svg 3.9 KB
- assets/examples/gui-lui-native.svg 3.2 KB
- assets/examples/gui-lui-retrofit.svg 3.0 KB
- assets/readme/generic-dashboard-wireframe.png 774 KB
- assets/readme/generic-task-swimlane.png 762 KB
- assets/readme/version-branch-flow.png 170 KB
- LICENSE 1.0 KB
- README.md 5.0 KB
- references/example-catalog.md 2.6 KB
- references/implementation-patterns.md 6.4 KB
- scripts/validate-line-svg.mjs 4.6 KB runs code
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.
- 1mo ago First seen · 264 lines · 210 tokens per session scan A a354e48c3b55
html-line-svg is a skill published in the GitHub repository simbajigege/book2skills (194 stars, last pushed 2mo ago), licensed MIT. It adds 210 tokens to every session and 5,921 once invoked, about $0.0008 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.
Other skills, from other repositories
qa-test-planner
Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.
page-cro
When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," or "why isn't this page…
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
design-thinking
Facilitate a full design-thinking engagement (Empathize, Define, Ideate, Prototype, Test) grounded in real user evidence. Use whenever the user wants to understand users deeply and design a solution for them: "run design thinking", "understand our users", "design user interviews", "synthesize these interview notes"…
chartware
Generate enterprise-grade diagrams and data charts in three media — Mermaid (text-first diagrams), hand-authored inline SVG (pixel-perfect charts and figures for HTML embedding), and draw.io via the drawio MCP (editable diagram artifacts) — with a curated visual style system wired to the plugin's brand registry. Use…
popup-cro
When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," or "overlay." For forms outside of popups, see…