html-doc

html-doc is a skill for Claude Code, Codex from owainlewis/blueprint. It costs 51 tokens per session (1,095 once invoked), scanned A, original, MIT.

A tool that turns a complete Markdown product-requirements or technical-design document into a static HTML page for reading in a browser. Markdown is a plain-text format for writing structured documents.

In plain words
What is it for?
Use it to render a PRD or technical design as a readable HTML page and verify the generated result.
Why use it?
It improves how an existing document is presented without changing its requirements or design decisions. The original Markdown remains the source document.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/owainlewis/blueprint/html-doc
Any agent
npx skills add owainlewis/blueprint --skill html-doc
Clone the repo
git clone --depth 1 https://github.com/owainlewis/blueprint

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 html-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/owainlewis/blueprint/html-doc.svg)](https://agentmods.dev/skills/owainlewis/blueprint/html-doc)
Your own site
<a href="https://agentmods.dev/skills/owainlewis/blueprint/html-doc"><img src="https://agentmods.dev/badge/skills/owainlewis/blueprint/html-doc.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00051 $0.01095
Opus 5 $0.00026 $0.00548
Sonnet 5 $0.00010 $0.00219
Haiku 4.5 $0.00005 $0.00110

Measured 4d ago against content hash 4e4ae8520b56, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

html-doc 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/html_doc.py, tests/test_html_doc.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/html-doc/SKILL.md · 118 lines

How it starts

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

HTML document

Turn one complete Markdown PRD or technical design into one verified static HTML page. Keep Markdown canonical. Change presentation, not meaning.

Boundaries

  • Accept an existing Markdown file or exact inline Markdown.
  • Support only prd and design document kinds.
  • Infer the kind only from the exact basename prd.md or design.md. Otherwise require the user or request to name it.
  • Do not write requirements, settle design choices, summarize missing content, or edit the source.
  • If the source is only a rough brief, use the appropriate authoring skill first.
  • Do not hand-edit generated HTML. Change the template or renderer, then regenerate.
  • Do not publish or host the result unless the user separately asks.

Requirements

Generation requires Python 3.11 or newer, Pandoc 3 or newer, Node.js 22.12 or newer, and npm. The skill directory contains a locked Mermaid dependency tree.

Before the first Mermaid render, run:

npm ci --prefix <skill-directory>

Use scripts/html_doc.py from this skill directory for all generation and lifecycle operations.

Workflow

1. Read and classify the source

Read the complete source. Confirm it is no larger than 2 MiB. Determine the document kind from the request or the exact basename rule.

Treat content problems separately from presentation problems. If the Markdown contradicts itself, omits a required decision, or contains an invalid diagram, report that source problem. Do not silently repair its meaning.

2. Create a candidate

For a file source:

python3 <skill-directory>/scripts/html_doc.py render <source.md> --kind <prd-or-design> --out <output.html>

--kind may be omitted only for exact prd.md and design.md basenames. --out may be omitted to create a sibling HTML file.

For exact inline Markdown, pipe it through standard input and provide both kind and output:

python3 <skill-directory>/scripts/html_doc.py render --inline --kind <prd-or-design> --out <output.html>

Read the full file on GitHub · 118 lines

Files

What ships with it

10 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. 4d ago First seen · 118 lines · 51 tokens per session scan A 4e4ae8520b56

Subscribe to this mod's changes

html-doc is a skill published in the GitHub repository owainlewis/blueprint (375 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 1,095 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

LaTeX工具

从官方或内置模板创建、编译和校验数学建模 LaTeX 论文项目,并可配合 DOCX 工具把完整 LaTeX 论文转换为 Word。.

XiaoMaColtAI/math-modeling-skill · 46 tokens

DOCX工具

创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。.

XiaoMaColtAI/math-modeling-skill · 49 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

XiaoMaColtAI/math-modeling-skill · 92 tokens

Excel工具

Skill "Excel工具" from XiaoMaColtAI/math-modeling-skill, covering excel 工具, 原则, 读取与写入, 第一行就是数据时必须显式使用 header=none。 and 公式重算.

XiaoMaColtAI/math-modeling-skill · 25 tokens

speckit.architecture

Software Architect - Make evidence-based system design decisions, document trade-offs and ADRs, and define modular, reliable implementation boundaries.

wedabro/bro-skills · 31 tokens

pdf

当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.

agentscope-ai/QwenPaw · 95 tokens