# Self-Contained HTML Report Generator

> Turn raw data into one offline-ready HTML report: inline CSS and SVG charts, no CDN, no broken fonts, print-ready, and readable at 375px.

Self-Contained HTML Report Generator is a paid AI agent skill on Agensi by Li Tieniu, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Li Tieniu](https://www.agensi.io/creators/creator-1543)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/self-contained-html-report-generator
- Tags: documentation, web-design, research

## About this skill

### Reports that survive leaving your laptop

Most "make me a report" output breaks the moment it leaves the machine: a CDN font that never loads, a chart library that 404s, a table that scrolls sideways on a phone. This skill encodes the constraints that make a single HTML file actually hold up.

**What it enforces**

- One file. CSS in `<style>`, JS in `<script>`, icons as inline SVG. No `<link>`, no `<script src>`, no `@import`, no webfonts.
- Zero network requests — it renders identically with wifi off.
- Print rules included: shadows removed, blocks not split across pages, dark backgrounds avoided.
- No horizontal scroll at 375px; charts scale through `viewBox`, tables scroll inside their own wrapper.
- No invented numbers. Missing metrics are asked for or marked "not provided".

**The part most skills skip: not truncating the file**

A finished report is 20–60KB of HTML. Most agents try to emit that in one tool call, the call gets cut off, and you are left with a half-written page. This skill writes a skeleton under 8KB first, then appends one section at a time, so the file is never left broken.

**What's in the box**

- `reference/tokens.css` — colors, spacing, type scale, dark mode
- `reference/base.css` — layout, cards, badges, tables, callouts, print rules
- `reference/charts.js` — bar, line and donut as dependency-free inline SVG
- `reference/examples.html` — a working page using every component
- `reference/page-quality.md` — the checklist to walk before delivery

**Good for:** weekly and monthly reports, KPI dashboards, one-page data stories, client-facing summaries, anything that has to be opened as a file rather than hosted.

**Not for:** landing pages, portfolios, or long-form articles — say so instead of forcing data structure onto copy.

## Requires

- Optional: A shell (Bash)

This skill ships no executables and makes no network calls. It only writes one self-contained HTML file inside your project. The single URL literal in the package is the W3C SVG namespace identifier in charts.js — an XML namespace, not a request.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Self-Contained HTML Report Generator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Self-Contained HTML Report Generator do?

Turn raw data into one offline-ready HTML report: inline CSS and SVG charts, no CDN, no broken fonts, print-ready, and readable at 375px.

### Which AI agents support Self-Contained HTML Report Generator?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Self-Contained HTML Report Generator?

Connect your AI agent to Agensi through MCP, then ask it to use Self-Contained HTML Report Generator on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
