html-doc

html-doc is a skill for Claude Code, Codex from owainlewis/blueprint. It costs 51 tokens per session (1,144 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

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it to render a PRD or technical design as a readable HTML page and verify the generated result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/owainlewis/blueprint/html-doc
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.

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/github.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/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.

agentmods 80×15 button for html-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/owainlewis/blueprint/html-doc"><img src="https://agentmods.dev/badge/skills/owainlewis/blueprint/html-doc.svg" alt="Reviewed on agentmods" width="80" 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,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00051 $0.01144
Opus 5.5 $0.00020 $0.00458
Sonnet 5.5 $0.00010 $0.00229
Haiku 4.5 $0.00005 $0.00114

Measured 6d ago against content hash 57478b7cd0c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 6d 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 · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 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.
  • For REQUIREMENTS.md, pass --kind prd. For ARCHITECTURE.md or spec.md, pass --kind design.
  • Classify prd.md as prd and design.md as design. For other names, use the request or ask if the kind is unclear.
  • 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 basename mappings above.

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:

Read the full file on GitHub · 120 lines

Files

What ships with it

11 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. 6d ago Changed · +1 lines 57478b7cd0c2
  2. 12d ago Changed · +1 lines 9aeef91a921f
  3. 1mo 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 (416 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 1,144 once invoked, about $0.0002 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.