Borrowing it
Nothing to install: this file belongs to blogminhquy/javis-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/blogminhquy/javis-os/main/.claude/skills/html-to-webcake/SKILL.mdgit clone --depth 1 https://github.com/blogminhquy/javis-osWrote 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/blogminhquy/javis-os/html-to-webcake)<a href="https://agentmods.dev/skills/blogminhquy/javis-os/html-to-webcake"><img src="https://agentmods.dev/badge/skills/blogminhquy/javis-os/html-to-webcake/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/blogminhquy/javis-os/html-to-webcake"><img src="https://agentmods.dev/badge/skills/blogminhquy/javis-os/html-to-webcake.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.00041 | $0.03520 |
| Opus 5 | $0.00020 | $0.01760 |
| Sonnet 5 | $0.00008 | $0.00704 |
| Haiku 4.5 | $0.00004 | $0.00352 |
Grade A, and why
HTML sang Webcake 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 11d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTML sang Webcake (.pke)
Khi nào dùng
Người dùng nói những câu như: "chuyển file html này sang webcake", "đổi html thành pke", "tạo file webcake từ html", "làm landing này thành file sửa được trên webcake", "html to webcake", "convert html sang webcake", "bài sales page vừa viết đưa lên webcake".
Hiểu đúng bản chất trước khi làm
- File
.pke=base64( MessagePack( envelope ) ), trong đóenvelope.sourcechính là page_source của editor Webcake (settings, popup, page, options, cartConfigs). - Webcake là canvas định vị TUYỆT ĐỐI theo pixel, mỗi phần tử ghi
top/left/width/heightRIÊNG cho 2 khổ: mobile rộng 420, desktop rộng 960. Không phải HTML trôi theo dòng. - Vì vậy bố cục được TÁI DỰNG thành các section xếp dọc + hàng nhiều cột. Còn màu, cỡ chữ, line-height, letter-spacing, ảnh, nội dung, thứ tự thì lấy nguyên từ nguồn - bộ công cụ đọc cascade CSS thật chứ không nhìn bằng mắt. Nói rõ ranh giới này với người dùng.
- HTML do Webcake publish (bản đã xuất) không chứa source biên tập; vẫn đọc lại nội dung được.
Công cụ (đi kèm skill, không cần cài gói)
Ở thư mục tools/ cạnh file SKILL.md này. Chạy bằng node, không phụ thuộc npm.
webcake-from-html.js- HTML -> spec.json. Đọc DOM + cascade CSS thật (biếnvar(--x),clamp(),@media, class, inline style), suy ra section/heading/text/ảnh/nút/form/bảng giá/ card/hàng nhiều cột, rồi in ra danh sách cảnh báo.node tools/webcake-from-html.js trang.html spec.json [--name "Tên trang"]webcake-build.js- spec.json -> .pke. Tự chạy lint sau khi build.node tools/webcake-build.js spec.json out.pke [--check](--check: exit 1 nếu lint có lỗi)webcake-lint.js- soát layout (chồng nhau, tràn section, khoảng chết) và tương phản chữ/nền.node tools/webcake-lint.js out.pkewebcake-preview.js- render page_source thành HTML tĩnh mô phỏng đúng canvas để SOI TRƯỚC.node tools/webcake-preview.js out.pke previewBase [--debug]webcake-pke.js- codec 2 chiều:decode file.pke file.json/encode file.json file.pke.webcake-html.js- thư viện đọc HTML/CSS dùng chung (không gọi trực tiếp).
What ships with it
8 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.
- examples/salepage-16-buoc-spec.json 32 KB
- examples/sample.html 1.1 KB
- tools/webcake-build.js 48 KB runs code
- tools/webcake-from-html.js 42 KB runs code
- tools/webcake-html.js 22 KB runs code
- tools/webcake-lint.js 7.4 KB runs code
- tools/webcake-pke.js 6.8 KB runs code
- tools/webcake-preview.js 6.5 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.
- 11d ago First seen · 166 lines · 41 tokens per session scan A e6ea4dcd892a
HTML sang Webcake is a skill published in the GitHub repository blogminhquy/javis-os (194 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 3,520 once invoked, about $0.0002 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-30.
Other skills, from other repositories
frontend-design
Produce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.
tutti-ui-system
Use when working with @tutti-os/ui-system components, replacing local UI with shared components, querying component ids or metadata, promoting UI into shared base or business components, or maintaining UI-system storyboard inventory.
ui-design-executor
Use this as UIDesigner's default execution skill. It contains the baseline design, accessibility, HTML, runtime-safety, responsive, taste, and verification rules needed by ordinary UI work. Do not load the separate system, control, taste, color, renderer, or craft skills merely to repeat these baseline rules.
ui-design-source
Use this skill when the user provides Figma material, design-export files, screenshots of design tools, PDFs, JSON, existing HTML, or asks for design-to-HTML/code fidelity. It adapts OpenDesign/Figma handoff discipline for UIDesigner without requiring a live Figma runtime.
ui-design-system
Use this skill when creating, extending, or auditing a product UI system. It adapts Better Design-style design-system discipline without requiring an external runtime package.
seo-cwv
Measure Core Web Vitals with the free PageSpeed Insights API. Field data (CrUX, real users) is reported as Measured; lab (Lighthouse synthetic) as Estimated.