html-report-builder

html-report-builder is a cursor rule for coding agents from thatrebeccarae/claude-marketing. It costs 70 tokens per session (1,195 once invoked), scanned A, original, MIT.

A tool for creating polished standalone HTML reports for audits, analyses, strategy documents, and other consulting deliverables. It provides reusable layouts and styling for sections, tables, metrics, recommendations, and callouts.

In plain words
What is it for?
Use it to build technical or consulting reports from data, add structured report components, adjust the visual design, and prepare the result for PDF printing.
Why use it?
It avoids designing every report from scratch and gives longer documents a consistent structure that can also be printed to PDF.

Cursor rule

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 rules/thatrebeccarae/claude-marketing/html-report-builder
Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

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-report-builder

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/html-report-builder.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/html-report-builder)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/html-report-builder"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/html-report-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,195 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.1 $0.00070 $0.01195
Opus 5 $0.00035 $0.00598
Sonnet 5 $0.00014 $0.00239
Haiku 4.5 $0.00007 $0.00120

Measured 5d ago against content hash 0ebafcc9f96e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

html-report-builder 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 5d 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.

integrations/cursor/html-report-builder.mdc · 128 lines

How it starts

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

HTML Report Builder

Polished consulting reports as standalone HTML. Print to PDF via browser.

When to Use

  • Audit reports, performance analyses, strategy documents
  • Any multi-section document that needs professional formatting
  • When the deliverable is a report (not slides — use pro-deck-builder for decks)

Quick Reference

Task Approach
Create report from scratch Read REFERENCE.md for CSS + HTML patterns
Add a new component Compose from existing components in REFERENCE.md
Export to PDF Open in browser → Print → Save as PDF (Cmd+P)
Update design tokens Edit CSS custom properties in :root block

Before You Start

Ask the user:

  1. What type of report? Audit, strategy, performance review, case study?
  2. How many sections? Helps plan the document structure.
  3. What data do they have? Raw numbers, API exports, spreadsheets?
  4. Where should the file be saved? Get an explicit path.

Design System

Color Tokens

:root {
  /* Dark mode (cover page only) */
  --bg-deep: #141414;
  --bg-surface: #1E1E1E;
  --bg-elevated: #282828;
  --text-bright: #f0f3f6;
  --text-secondary-dark: #9ca3af;

  /* Light mode (content pages — the default) */
  --bg-light: #FAF7F2;
  --bg-light-surface: #F2EDE6;
  --text-primary: #0f0e0e;
  --text-secondary: #57606a;
  --text-muted: #8b949e;

  /* Brand accent */
  --accent: #3D7A5C;
  --accent-light: #6AB88A;

  /* Semantic */
  --green: #2e8b57;
  --red: #c0392b;
  --amber: #D97706;
}

Color Rules

  • Light mode (#FAF7F2 warm cream) is default for all content pages. NOT white.
  • Dark mode (#141414) only for: cover page.
  • Accent green (#3D7A5C) used sparingly: key metrics, accent callouts.
  • Semantic colors (green/amber/red) only for status indicators, never decoration.

Typography

Role Font Weight Size
Report title Switzer Light (300) 48-64px
Section heading Switzer Regular (400) 28-32px
Subsection heading Switzer Medium (500) 20-22px
Body text Switzer Regular (400) 16-17px
KPI number Cartograph CF Bold (700) 36-48px
Data label Cartograph CF Regular (400) 13px
Table data Cartograph CF Regular (400) 14px

Read the full file on GitHub · 128 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. 5d ago First seen · 128 lines · 70 tokens per session scan A 0ebafcc9f96e

Subscribe to this mod's changes

html-report-builder is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (130 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 1,195 once invoked, about $0.0003 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-30.