birch-html

birch-html is a skill for Claude Code, Codex from evalstate/birch-html. It costs 137 tokens per session (2,816 once invoked), scanned A, original, Apache-2.0.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to produce shareable HTML one-pagers, visual summaries, reports, dashboards, benchmark pages, incident updates, or codebase explanations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evalstate/birch-html/skill
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 evalstate/birch-html --skill skill
Clone the repo
git clone --depth 1 https://github.com/evalstate/birch-html

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/evalstate/birch-html/skill/github.svg)](https://agentmods.dev/skills/evalstate/birch-html/skill)
Your own site
<a href="https://agentmods.dev/skills/evalstate/birch-html/skill"><img src="https://agentmods.dev/badge/skills/evalstate/birch-html/skill/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 birch-html

Your own site · 80×15
<a href="https://agentmods.dev/skills/evalstate/birch-html/skill"><img src="https://agentmods.dev/badge/skills/evalstate/birch-html/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.00137 $0.02816
Opus 5.5 $0.00055 $0.01126
Sonnet 5.5 $0.00027 $0.00563
Haiku 4.5 $0.00014 $0.00282

Measured 2mo ago against content hash f398706fa218, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 5mo ago), licensed Apache-2.0. It adds 137 tokens to every session and 2,816 once invoked, about $0.0005 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-31.

Related

birch-html compared with skills from other repositories

birch-html next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
birch-htmlevalstate/birch-htmlSkill55mo agoApache-2.0A137Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code