html-reporting

html-reporting is a command for Gemini CLI from mfmezger/ai_agent_dotfiles. It costs 185 tokens per session (4,018 once invoked), scanned A, original, MIT.

A set of instructions for producing self-contained HTML files for reports, research summaries, plans, prototypes, dashboards, and other human-readable work.

In plain words
What is it for?
Use it for reports, specifications, design mockups, code-review explanations, and similar deliverables.
Why use it?
It helps turn long or structured agent output into files that are easier to read, navigate, and share in a browser.

Command for Gemini CLI

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 commands/mfmezger/ai_agent_dotfiles/html-reporting
Clone the repo
git clone --depth 1 https://github.com/mfmezger/ai_agent_dotfiles

Made for: Gemini CLI.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mfmezger/ai_agent_dotfiles/html-reporting.svg)](https://agentmods.dev/commands/mfmezger/ai_agent_dotfiles/html-reporting)
Your own site
<a href="https://agentmods.dev/commands/mfmezger/ai_agent_dotfiles/html-reporting"><img src="https://agentmods.dev/badge/commands/mfmezger/ai_agent_dotfiles/html-reporting.svg" alt="Measured on agentmods" height="20"></a>
Per session 185 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,018 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.00185 $0.04018
Opus 5 $0.00093 $0.02009
Sonnet 5 $0.00037 $0.00804
Haiku 4.5 $0.00018 $0.00402

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

Security

Grade A, and why

html-reporting 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 3d ago.

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.

gemini/.gemini/commands/html-reporting.md · 229 lines

How it starts

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

HTML Reporting

Markdown is the default agent output format, but it caps out fast. Long Markdown rarely gets read; HTML does. This skill is about producing single-file HTML artifacts — reports, specs, PR explainers, prototypes, custom editors — that humans actually open, scroll through, and share.

Why HTML beats Markdown for human-facing output

Markdown's killer feature was always "easy to hand-edit." That feature has lost most of its value: people now edit by prompting the agent to change the file rather than typing into it themselves. What remains is reading and sharing, and Markdown is bad at both once the document gets long.

HTML wins on the dimensions that actually matter for finished artifacts:

  • Information density. Tables, SVG diagrams, color coding, code with syntax highlighting, side-by-side comparisons, tabs. A 200-line Markdown plan becomes a navigable HTML page with a TOC and collapsible sections.
  • Readability at length. Past ~100 lines, Markdown becomes a wall. Real typography, spacing, and visual hierarchy make HTML scannable.
  • Sharing. Drop the file into S3, GitHub Pages, or any static host and send a URL. Browsers render it everywhere, including on phones. Markdown attachments get ignored.
  • Interactivity. Sliders, knobs, drag-and-drop, live previews, "copy as JSON" buttons — all trivially possible, and they close the loop back to the agent.
  • Diagrams. When HTML is on the table, the model draws SVG diagrams instead of butchering ASCII art or Unicode color blocks.

The tradeoff: HTML uses roughly 2–4× more tokens and takes proportionally longer to generate. For anything a human will read more than once, that cost is trivially worth it.

When to reach for this skill

Use HTML when any of these are true:

  • A human will read this more than they will edit it (specs, reports, plans, reviews, research).
  • The output would exceed ~100 lines as Markdown.
  • It needs visual structure: tables, diagrams, color coding, comparisons, annotations.
  • It needs interactivity: tunable parameters, drag-and-drop, live previews, export buttons.
  • It will be shared with teammates or leadership.
  • The Markdown version would force ASCII-art or Unicode "color block" hacks.

Read the full file on GitHub · 229 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 · 229 lines · 185 tokens per session scan A 1ff61c136d65

Subscribe to this mod's changes

html-reporting is a command published in the GitHub repository mfmezger/ai_agent_dotfiles (5 stars, last pushed 1mo ago), licensed MIT. It adds 185 tokens to every session and 4,018 once invoked, about $0.0009 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.