Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Rheinmir/setupnpx agentmods add skills/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ciWrote 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/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ci)<a href="https://agentmods.dev/skills/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ci"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ci/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/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ci"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-diagram-design-selfcheck-and-your-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00081 | $0.02144 |
| Opus 5.5 | $0.00032 | $0.00858 |
| Sonnet 5.5 | $0.00016 | $0.00429 |
| Haiku 4.5 | $0.00008 | $0.00214 |
Grade A, and why
dym-diagram-design-selfcheck-and-your-ci 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 yesterday.
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 — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: dym-diagram-design-selfcheck-and-your-ci — Tự kiểm output và khoá nó bằng CI của BẠN
Vì sao dùng: sơ đồ do agent sinh ra là HTML tự do — không có compiler nào bắt lỗi. self_check.py là cổng tất định, 0-token, không phụ thuộc ngoài được ship bên trong skill để chính agent tự kiểm sản phẩm của mình. Đây là thứ biến "trông có vẻ ổn" thành "đã kiểm".
File này sinh ra gì: một lệnh gate chạy được ở local, cộng một GitHub Actions workflow tối thiểu cho repo của bạn.
Toàn bộ file này là lệnh shell.
1. self_check.py — chữ ký và mã thoát
python3 <skill-dir>/scripts/self_check.py <file.html> [<file.html> ...]
Nhận nhiều file (nargs="+"). Không có cờ nào khác.
| Tình huống | rc | stdout |
|---|---|---|
| Mọi file sạch | 0 |
OK <path> mỗi file |
| Có ít nhất một file lỗi | 1 |
FAIL <path> + danh sách gạch đầu dòng |
Đã đo bằng chạy thật: OK → rc=0, FAIL → rc=1. Đây là quy ước 0/1 quen thuộc — khác hai extractor ở 04 (0/2).
Script không có thư viện ngoài — chỉ stdlib (argparse, re, html.parser, pathlib). Chạy được ngay cả trên Python 3.9.6 (đã đo), dù references/doctor.md khai 3.10+.
2. Nó kiểm gì
Docstring khai ba nhóm; danh sách dưới đây lấy từ chính các thông điệp lỗi trong mã.
2.1 Hợp đồng SVG accessible
- File sơ đồ phải có ít nhất một SVG accessible (không
aria-hidden). - Mỗi SVG cần
role="img". <title>phải là con đầu tiên của SVG.<title>và<desc>phải không rỗng.- ID của title/desc phải có tiền tố theo sơ đồ, không bao giờ trần — đây là thứ cho phép nhiều SVG inline chung một trang mà figure này không "mượn" tên của figure kia.
aria-labelledbyphải trỏ title trước, desc sau, đúng thứ tự.
2.2 An toàn một-file
- Không tham chiếu từ xa, trừ đúng một stylesheet Google Fonts
/css2đã duyệt. - Không URL thực thi được (
javascript:…). - Không data-URL phi ảnh.
- Nhiều nhất một
<script>, và script đó phải mang đúng thuộc tínhdata-diagram-co…chính tắc và khớp verbatim controller trongtemplate-motion.html.
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.
- yesterday First seen · 202 lines · 0 tokens per session scan A 5c3a3cb9bac3
dym-diagram-design-selfcheck-and-your-ci is a skill published in the GitHub repository Rheinmir/setup (11 stars, last pushed 20d ago), licensed MIT. It adds 81 tokens to every session and 2,144 once invoked, about $0.0003 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-11-07.
dym-diagram-design-selfcheck-and-your-ci compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dym-diagram-design-selfcheck-and-your-ciRheinmir/setup | Skill | 11 | 20d ago | MIT | A | 81 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | today | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 10k | 2d ago | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.6k | yesterday | MIT | A | 47 | Claude Code |