html-export

html-export is a skill for Claude Code from duc01226/EasyPlatform. It costs 50 tokens per session (5,332 once invoked), scanned B, original, MIT.

A conversion tool for turning a local HTML file into screenshots, a vector PDF, an MP4 video, or a GIF. HTML is the file format commonly used to structure web pages.

In plain words
What is it for?
Use it to export local web pages as images, documents, video, or animation while checking that the captured page contains content.
Why use it?
It provides one route for producing several media formats and checks for page errors or blank captures instead of silently exporting a bad result.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to export local web pages as images, documents, video, or animation while checking that the captured page contains content.

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

Made for: Claude Code.

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-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/duc01226/easyplatform/html-export"><img src="https://agentmods.dev/badge/skills/duc01226/easyplatform/html-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,332 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00050 $0.05332
Opus 5.5 $0.00020 $0.02133
Sonnet 5.5 $0.00010 $0.01066
Haiku 4.5 $0.00005 $0.00533

Measured 3d ago against content hash 8b77f71ee56f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

html-export scanned grade B with 1 finding 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 3d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (scripts/export.cjs, scripts/lib/browser.cjs, scripts/lib/exit-codes.cjs, …), 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Linux (Debian/Ubuntu): sudo apt-get install ffmpeg
.agents/skills/html-export/SKILL.md · 202 lines

How it starts

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

Codex compatibility note:

  • Invoke $skill-name: load the registered .agents/skills/<name>/SKILL.md and execute it with Codex tools; no separate Skill tool or Claude mode switch is needed. Author .claude/**; mirrors are generated.
  • Track steps before execution and keep progress/evidence current. Explicit skill requests execute their protocol. Use the native question tool for required questions.
  • Map foreign tool names to available host capabilities. A name mismatch needs no approval; an actually unavailable required capability stops with its step/evidence and a user question before adaptation.
  • Subagent authorization: when a skill is user-invoked or AI-detected and its protocol requires subagents, that skill activation authorizes use of the required spawn_agent subagent(s) for that task.
  • Preserve protocol order unless the user approves a deviation. Workflows use $start-workflow: gates stay fixed; other steps may flex with logged reasons and evidence.

Quick Summary

Goal: Turn a local HTML file into PNG screenshots with a page-error and blank-capture check, a vector PDF, an MP4 or a GIF, through one entry point that reports the result as an exit code.

Workflow:

  1. Pick a target — --to=png (render evidence), --to=pdf (print or slides), --to=mp4 / --to=gif (deterministic animation recording)
  2. Check setup — dependencies are opt-in and skill-local; a missing one exits 3 with the setup commands
  3. Export — node .claude/skills/html-export/scripts/export.cjs --to=<target> <input...> [options]
  4. Read the exit code first — then report.json / frames.json, then the output; a written file is never proof on its own. A reused --out keeps earlier outputs: only the files this run's manifest names belong to it — report.json files[] (png), report.json output (pdf), frames.json output (mp4/gif)

Key Rules:

  • --to is required; there is no default target.
  • Nothing is ever installed on the user's behalf. Exit 3 means NOT VERIFIABLE plus a setup pointer.
  • Render only HTML the project or the user produced; anything fetched or untrusted only with --offline (see Trust).
  • The HTML stays canonical. Fix the page or pick the right selector; never restructure HTML for the exporter.

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).

Read the full file on GitHub · 202 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. 3d ago First seen · 202 lines · 50 tokens per session scan B 8b77f71ee56f

Subscribe to this mod's changes

html-export is a skill published in the GitHub repository duc01226/EasyPlatform (12 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 5,332 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-18.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

meta-web-to-pdf-briefing

Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.

opensquilla/opensquilla · 45 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

paper-reader

A reading assistant for computer-vision and deep-learning research papers. It can work with PDF files, arXiv papers, and papers stored in Zotero, a reference-management app.

huangkiki/dailypaper-skills · 157 tokens