Borrowing it
Nothing to install: this file belongs to Portwood-Global-Solutions/Portwood. 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/Portwood-Global-Solutions/Portwood/main/.claude/skills/html-template-authoring/SKILL.mdgit clone --depth 1 https://github.com/Portwood-Global-Solutions/PortwoodWrote 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/portwood-global-solutions/portwood/html-template-authoring)<a href="https://agentmods.dev/skills/portwood-global-solutions/portwood/html-template-authoring"><img src="https://agentmods.dev/badge/skills/portwood-global-solutions/portwood/html-template-authoring/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/portwood-global-solutions/portwood/html-template-authoring"><img src="https://agentmods.dev/badge/skills/portwood-global-solutions/portwood/html-template-authoring.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.00062 | $0.01490 |
| Opus 5 | $0.00031 | $0.00745 |
| Sonnet 5 | $0.00012 | $0.00298 |
| Haiku 4.5 | $0.00006 | $0.00149 |
Grade A, and why
html-template-authoring 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 12d 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Authoring HTML templates for Portwood
HTML is the recommended source format. It skips the DOCX→HTML parse and lands more reliably in the renderer. Steer new authors here, and chart authors here without exception.
The renderer is CSS 2.1
Blob.toPdf is Flying Saucer: CSS 2.1 plus a small CSS 3 subset. Unsupported
properties are silently ignored — the page still renders, but layout collapses to
default block flow. Nothing warns you.
Never use
display: flex,display: grid,gaplinear-gradient(...)and friendscalc(...)- CSS custom properties (
var(--x)) - most CSS 3 layout
Use instead
<table>-based layout for anything multi-column- solid background colors
- absolute lengths (
pt,in) and percentages display: table-cell/table-rowon<div>where you need cell behavior without a real table
The tbody trap
table > tbody > tr > td { ... } /* silently matches NOTHING */
The parse tree has no implied <tbody>. Use td attribute selectors or class-only
selectors:
td.total { ... }
Images
URLs must be relative. Absolute https://… URLs and data: URIs both render
broken — this is a hard constraint of the renderer, not a bug to work around.
If the same image appears at two different sizes, the renderer caches one layout size per URL. Vary the URL to force a re-layout (the engine appends a size key for this reason).
Fonts and symbols
The base font families resolve to the base-14 PDF fonts (Helvetica / Times / Courier, WinAnsi). Anything outside Latin-1 renders as nothing — not a box, not a fallback, absent. Checkmarks, arrows, CJK, Greek, Cyrillic all disappear.
'Arial Unicode MS' is the one family that draws them, embedding as a subsetted CID
font. The trade-off is real and worth knowing:
| Symbols / CJK | Bold | |
|---|---|---|
'Arial Unicode MS' |
✅ | ❌ — no bold face; font-weight: bold renders regular |
| every other family | ❌ | ✅ |
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.
- 12d ago First seen · 152 lines · 62 tokens per session scan A 28aaf1ddfea5
html-template-authoring is a skill published in the GitHub repository Portwood-Global-Solutions/Portwood (122 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 1,490 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.
Other skills, from other repositories
anthropics-office-skills
A local collection of documentation skills for Anthropic office tools, with instructions for cloning and installing only the needed files.
document-generation
Generate Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) documents and fill existing PDF forms, from real NetClaw data, with per-element provenance and no fabrication. Use when someone needs a deliverable rather than an answer — a change record to attach to a CR, an audit workbook for a compliance reviewer, a…
document-processing
Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…
docx
Read, create, and convert Microsoft Word (.docx) documents — extract text and tables, build reports from markdown/JSON, and export to PDF.
document-processing-expert
Read, generate and modify office documents and PDFs from code: PDF extraction and forms, Word documents, Excel workbooks and PowerPoint decks. Use when the user mentions PDF, DOCX, XLSX, PPTX, Word, Excel, PowerPoint or spreadsheets, wants data extracted from documents, needs a report or invoice generated as a file…
all2md
Convert, read, generate, search, and compare documents with the all2md CLI and Python library. Use whenever a task involves reading or extracting text/tables from a document (PDF, Word, PowerPoint, Excel, HTML, email, EPUB, Jupyter, images, or 100+ source-code and text file types); converting between formats…