birch-html

A guide for creating a polished, self-contained HTML document in the Birch visual style for technical and project communication. It covers reports, dashboards, reviews, incidents, status pages, planning documents, and similar artefacts.

In plain words
What is it for?
Use it to produce shareable HTML one-pagers, visual summaries, reports, dashboards, benchmark pages, incident updates, or codebase explanations.
Why use it?
It provides strict layout and content rules so the result opens locally, works on narrow screens, preserves source-based claims, and stays within the Birch design system. It also prevents unsupported remote assets and custom styling choices.

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/evalstate/birch-html/skill
Any agent
npx skills add evalstate/birch-html --skill skill
Clone the repo
git clone --depth 1 https://github.com/evalstate/birch-html

Made for: Claude Code, Codex.

Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,816 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.00137 $0.02816
Opus 5 $0.00068 $0.01408
Sonnet 5 $0.00027 $0.00563
Haiku 4.5 $0.00014 $0.00282

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

Security

Grade A, and why

birch-html 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 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/birch_mpl.py, scripts/birch-copy.js, scripts/check_birch_renderings.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.

skill/SKILL.md · 231 lines

How it starts

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

Birch HTML

Create one complete, locally opening Birch HTML artifact. Optimize for complete HTML, preserved Birch CSS placeholder, source-grounded claims, 390px mobile safety, strict component contracts, and minimal page-local CSS.

Output contract

  • Return a full HTML document only: no prose, Markdown fences, or partial HTML.
  • If writing to disk, validate and return only the artifact path.
  • Keep the placeholder exactly until postprocessing: <style data-birch-system>__BIRCH_SYSTEM_CSS__</style>.
  • Do not paste bundled Birch CSS or modify canonical CSS/scripts/resources.
  • No network assets: no remote URLs, CDNs, fonts, iframes, images, scripts, or styles.
  • Use <main class="page stack" data-gap="lg"> as the outer visible shell.
  • Do not replace the Birch shell with a custom app/dashboard shell. Do not make body, .container, .report, or .dashboard the visible page shell.
  • Do not invent Birch classes/CSS variables or use Birchline-only classes. In particular, avoid custom path/helper classes such as .file-path and avoid variables such as --color-*, --size-*, --s-*, --bg-alt, or --fg-muted unless they are already defined by Birch.
  • Use flat token surfaces only: no gradients, glassmorphism, glow backgrounds, decorative background images, or custom dashboard skins.
  • Birch style forbids gradients for card, panel, page, and callout backgrounds and for body/page backgrounds (for example linear-gradient, radial-gradient, or conic-gradient). Use flat Birch token surfaces instead.
  • For diffs, never paste raw unified-diff text into <pre> or code blocks. Represent patch lines with .diff-row; the only literal +/- marker should be inside <span class="mark">.

Workflow

  1. Read sources first: files, diffs, data, logs, commands, screenshots, session notes, and local links before writing claims.
  2. Make a terse brief: audience, purpose, exact paths/values, caveats, unknowns, sections, and chart intent.
  3. Ask only if missing audience, scope, sources, or output path would materially change the result; otherwise proceed and label assumptions.
  4. Load only needed recipes: numeric-data, code-review, pr-change-writeup, implementation-plan, module-explainer, process-explainer, design-directions, status-incident-report, flow-diagram, slide-deck, benchmark-comparison, or design-system-reference.
  5. If no path is specified and filesystem access exists, write a descriptive kebab-case .html file in the current directory.
  6. Prefer copying skill/resources/template.html; replace body content only. Then run uv run skill/scripts/finish_birch_html.py <output.html>.
  7. Validate before returning: doctype, html/head/body, viewport, title, .page, Birch CSS placeholder/embedded CSS, closing </html>, no network assets, no unknown classes/variables, strict children, wrapped long content, no 390px overflow, and no raw patch marker lines. If available run: uv run --with pillow python skill/scripts/check_birch_renderings.py --artifact <output.html>.

Read the full file on GitHub · 231 lines

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. 2d ago First seen · 231 lines · 137 tokens per session scan A f398706fa218

Subscribe to this mod's changes

birch-html is a skill published in the GitHub repository evalstate/birch-html (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 137 tokens to every session and 2,816 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens