Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

htmlify + deckify skills: agent answers become self-contained HTML documents and decks, validated by a bundled CLI. Optional Stop hook archives long answers automatically.

Install to Claude Code

/plugin install htmlify@htmlify

Run in Claude Code. Add the marketplace first with /plugin marketplace add zakelfassi/htmlify if you haven't already.

README.md

<p align="center"> <img src="./assets/logomark.svg" alt="htmlify logomark" width="72" /> </p>

<h1 align="center">htmlify</h1>

<p align="center"><strong>stdout, made permanent.</strong><br /> Agent answers become self-contained HTML documents and presentation decks — one file you can open, print, annotate, and keep.</p>

<p align="center"> <a href="https://github.com/zakelfassi/htmlify/actions/workflows/ci.yml"><img src="https://github.com/zakelfassi/htmlify/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/@zakelfassi/htmlify"><img src="https://img.shields.io/npm/v/%40zakelfassi%2Fhtmlify" alt="npm version" /></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0" /></a> <a href="https://zakelfassi.github.io/htmlify/"><img src="https://img.shields.io/badge/gallery-live-E84B0F" alt="Live gallery" /></a> </p>

<p> <img src="./assets/hero.svg" alt="A long terminal answer on the left becomes a designed, self-contained HTML document on the right" width="100%" /> </p>

Coding agents answer in walls of markdown. When the answer has shape — a comparison, an architecture, a timeline, a review — that wall flattens it. htmlify is a skill family that makes agents ship designed, self-contained HTML instead: operator briefs, PR review packets, incident timelines, decision briefs, explainers, interactive boards, and full presentation decks with speaker notes. Zero dependencies, zero build step, one auditable file.

See it live: the gallery — every artifact there was generated by these skills, about this repository.

What's in the box

| Piece | What it is | | --- | --- | | skills/htmlify | Document skill — 10 modes: operator-brief, build-plan, implementation-map, pr-review-packet, release-brief, incident-report, decision-brief, status-report, explainer, prototype/editor | | skills/deckify | Deck skill — 6 modes: talk-deck, workshop-deck, essay-deck, demo-deck, launch-deck, teaching-guide; speaker notes, run-of-show, downloadable guide/PDF | | htmlify-answer CLI | Pipe any text into a designed artifact; validate any artifact against the rich/app/deck safety profiles | | Pi / OMP extension | /htmlify commands, render modes, browser annotation layer | | Claude Code plugin | One-command install of both skills, optional long-answer Stop hook | | Hardcopy | The design system every artifact ships in — engineering-plate language: warm paper, ink hairlines, serif display, mono metadata, one signal-orange accent |

<p> <img src="./assets/skill-family.svg" alt="htmlify and deckify skills sharing one validated core" width="100%" /> </p>

Install

| Agent | Install | | --- | --- | | Claude Code | /plugin marketplace add zakelfassi/htmlify then /plugin install htmlify@htmlify | | Codex | git clone https://github.com/zakelfassi/htmlify.git ~/.htmlify && ln -sfn ~/.htmlify/skills/htmlify ~/.codex/skills/htmlify && ln -sfn ~/.htmlify/skills/deckify ~/.codex/skills/deckify | | Cursor / Windsurf | Clone the repo, point a project rule at skills/htmlify/SKILL.md / skills/deckify/SKILL.md | | Aider / anything | printf '%s' "$ANSWER" \| npx -y @zakelfassi/htmlify htmlify-answer --title "Review" | | Pi / Oh-My-Pi | pi install npm:@zakelfassi/htmlify |

Per-agent recipes, project rules, and hook setup: agent-integrations.md.

How it works

<p> <img src="./assets/how-it-works.svg" alt="Three steps: gather evidence, author one HTML file, validate and open" width="100%" /> </p>

1. Evidence first. The skill reads the repo, git state, PRs, CI, and logs before designing anything; unverifiable claims are stamped needs verification. 2. One HTML file. Inline CSS+JS in the Hardcopy design language. No CDNs, no fonts, no analytics, no build. 3. Prove it. The bundled validator gates the output — then it opens in your browser.

npx -y @zakelfassi/htmlify htmlify-answer --validate artifact.html --profile auto

| Profile | Rules | | --- | --- | | rich | No scripts at all — for model-generated documents | | app | Inline scripts allowed (editors, boards); external scripts, on*= handlers, javascript: URLs still banned | | deck | app plus the deck contract: ≥2 slides, keyboard nav, speaker notes on substantive slides, print CSS | | auto | Detected per file from the document shape |

Exit codes: 0 valid · 1 validation errors · 2 usage/IO. Add --format json for agent consumption.

Artifact modes

| Mode | Use when | Live example | | --- | --- | --- | | operator-brief | What happened, what's next, risks, attention | operator-brief | | pr-review-packet | Motivation, diff tour, reviewer checklist | PR #1 packet | | incident-report | Impact, timeline, root cause, follow-ups | capture bug | | decision-brief | Options, tradeoffs, the call | monorepo decision | | implementation-map | Modules, data flow, hot path | runtime map | | explainer | Concepts, comparisons, glossary, FAQ | HTML vs markdown | | prototype / editor | Interactive triage, tuning, ordering — with export | launch board | | talk-deck (deckify) | Talks with speaker notes + run-of-show | launch talk | | workshop-deck (deckify) | Teaching with exercises + printable guide | skill workshop |

Plus build-plan, release-brief, status-report, and deckify's essay-deck, demo-deck, launch-deck, teaching-guide.

The Pi / OMP runtime (optional)

The npm package doubles as a Pi / Oh-My-Pi extension that captures long answers and exports them on demand:

| Command | Result | | --- | --- | | /htmlify | Quick local HTML of the last long answer (Hardcopy-styled, outline rail, annotation layer) | | /htmlify choose | Render-mode chooser — local, pi (current model second pass), gemini (Gemini CLI, falls back to local) | | /htmlify-comments <json> | Import browser review comments back to the agent as a structured prompt | | /htmlify-version | Show loaded version |

Legacy aliases (/html-last, /html-comments, /html-last-version) keep working. Exports include a trusted annotation layer: select text in the browser, comment, copy Markdown for the agent, or download a JSON bundle. Long answers stay visible in the terminal — export is always explicit.

For agents with hooks, the bundled Claude Code Stop hook archives answers past a threshold (HTMLIFY_MIN_CHARS, default 2500) to HTMLIFY_EXPORT_ROOT — opt-in, see agent-integrations.md.

Migrating from 0.x

1.0 restructures the repo into a skill family. Breaking: the root SKILL.md and references/ moved to skills/htmlify/; clones installed as a skill directory at the repo root must re-install:

ln -sfn /path/to/htmlify/skills/htmlify ~/.codex/skills/htmlify   # and skills/deckify

Unchanged: the htmlify-answer CLI flags and stdin behavior (--validate is additive), the hook path hooks/claude-code-stop-htmlify.js (existing settings.json entries keep working), the Pi/OMP entry points, all /htmlify commands, and the env vars (including the legacy PI_HTML_LONG_ANSWER_* aliases).

Development

corepack enable && pnpm install
pnpm test        # node --test, 35 tests
pnpm lint        # biome
pnpm typecheck   # strict tsc over JSDoc types
node bin/htmlify-answer.js --validate examples/htmlify/*.html examples/deckify/*.html --profile auto

The runtime is dependency-free CommonJS under src/ with strict JSDoc type checking — what ships is what you read. Releases are cut by release-please from conventional commits, published to npm with provenance. See CONTRIBUTING.md.

Trust and security

Extensions and hooks run with your user permissions — install from sources you trust and pin a ref when you need reproducibility. Model-generated HTML is treated as untrusted until validated: scripts (in the rich profile), event-handler attributes, javascript: URLs, external assets/CSS, meta refresh, and oversized output are rejected, with fallback to the local renderer. Interactive profiles still ban every external-execution vector. Found a way around the validator? That's a security report we want: SECURITY.md.

License

Apache-2.0 © Zak El Fassi

Related plugins

Browse all →