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 mayuemarsha-del/pm-skills --skill html-prototypegit clone --depth 1 https://github.com/mayuemarsha-del/pm-skillsWrote 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/mayuemarsha-del/pm-skills/html-prototype)<a href="https://agentmods.dev/skills/mayuemarsha-del/pm-skills/html-prototype"><img src="https://agentmods.dev/badge/skills/mayuemarsha-del/pm-skills/html-prototype/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/mayuemarsha-del/pm-skills/html-prototype"><img src="https://agentmods.dev/badge/skills/mayuemarsha-del/pm-skills/html-prototype.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.00097 | $0.11691 |
| Opus 5 | $0.00048 | $0.05846 |
| Sonnet 5 | $0.00019 | $0.02338 |
| Haiku 4.5 | $0.00010 | $0.01169 |
Grade A, and why
html-prototype 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 8d 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 — 679 lines — stays where its author put it; the contents beside it link to each section on GitHub.
-
HTML Prototype Generation
Generate single-file HTML prototypes that can be opened directly in browser, look like real products, and align with the user's design system.
Important: this skill expects a
references/example-tokens.cssfile with the user's design tokens (colors, fonts, radii, shadows, etc.). Replace it with your own company's tokens before using this skill in production, otherwise all prototypes will share the example brand colors. -
When to use
2.1. User asks for: 原型 / mockup / 设计图 / HTML 给前端 / 给前端看的页面。 2.2. User asks to redesign an existing prototype to match a reference design. 2.3. Output is referenced from PRD
.mdfiles viafile:///link or[name](prototype/foo.html)markdown link. -
Output location
Always save to
<PRD-module>/prototype/<page-name>.html, beside the PRD.mdfile. Create theprototype/subdirectory if missing.Naming:
<module>-<view>.html(e.g.agent-management.html,reception-detail.html,knowledge-list.html). One file per module is preferred — use page-switching JS to handle multiple states (list / detail / modal). Multiple files only when modules are unrelated. -
Tech stack (always these three CDNs, no build)
<script src="https://cdn.tailwindcss.com"></script> <script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script> <link href="https://fonts.googleapis.com/css2?family=YourFontHere:wght@400;500;600;700&display=swap" rel="stylesheet">After page load, call
lucide.createIcons()to render icons. -
Inline the canonical tokens file
Always copy the full contents of references/example-tokens.css (or whatever the user has replaced it with) into the prototype's
<style>block at the top. This gives you all CSS variables (--neutral-*, brand scales, semantic tokens, type, spacing, radii, shadows) plus baseline typography.Then layer prototype-specific component CSS below it, referencing tokens via
var(--token)rather than hardcoded hex.Example skeleton:
<style> /* PASTE ENTIRE references/example-tokens.css HERE */ :root { ... } html, body { font-family: var(--font-sans); ... } h1, h2, h3 ... /* Then prototype-specific components */ .btn { background: var(--primary); color: var(--primary-foreground); border-radius: var(--radius-md); ... } .card { background: var(--card); border: var(--border-100) solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); ... } </style> -
Design System Application
The actual color values, font names, radii, etc. live in
references/example-tokens.css. This section is about how to apply them, not what the specific values are.6.1. Fonts (order matters for CJK + Latin)
If the product supports Chinese, put CJK font FIRST so Chinese characters render natively while Latin characters fall through to the Latin sans:
"PingFang SC", "Geist", "Inter", system-ui, -apple-system, sans-serifDon't reverse this order — Latin glyphs in PingFang look thin / weak. Adjust based on your tokens file.
Role Typical family When Sans (default) CJK + Latin sans All UI, body, headings Mono Monospace (e.g. B612 Mono / JetBrains Mono) IDs, code, numbers in tables Serif Optional display Marketing / hero only Body: 16px / 24px line-height (
--text-base / --lh-base). Usevar(--text-sm)(14/20) for compact UI like sidebars or table cells.6.2. Tailwind CDN preflight conflict
Tailwind CDN injects
@layer base { h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; } }AFTER your<style>block. This kills semantic heading styles unless you use!importanton the base typography rules:h1,.h1 { font-size: var(--text-2xl) !important; ... } h2,.h2 { font-size: var(--text-xl) !important; ... }
What ships with it
1 file 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.
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.
- 8d ago First seen · 679 lines · 97 tokens per session scan A 92cbe8369803
html-prototype is a skill published in the GitHub repository mayuemarsha-del/pm-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 97 tokens to every session and 11,691 once invoked, about $0.0005 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.
Other skills, from other repositories
html-demo
A workflow for building a self-contained interactive HTML demo from a screenshot and a short requirement. The demo imitates the interface and includes simulated controls so its states can be explored.
top-design
Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…
web-typography
Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…
refactoring-ui
Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…
impeccable
Provides premium design vocabulary, supporting Google Stitch spec-based DESIGN.md / PRODUCT.md and anti-pattern slop removal.
web-design
A guide to designing websites and user interfaces, including layouts, colors, typography, spacing, and component systems.