shadcn-report

shadcn-report is a skill for Claude Code from trtmn/agent-plugins. It costs 165 tokens per session (2,488 once invoked), scanned A, original, Unlicense.

A skill that turns real data and findings into one shareable HTML report, with an optional PDF export. It builds the report with React, charts, and ready-made interface components, then places the needed files inside the final HTML.

In plain words
What is it for?
Use it for status reports, analytics and KPI summaries, audits, findings write-ups, and project, weekly, or quarterly reports.
Why use it?
It removes the need to distribute a project folder or host a web app just to share a report.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the shadcn-report plugin — 1 skill shipped together

Good fit Use it for status reports, analytics and KPI summaries, audits, findings write-ups, and project, weekly, or quarterly reports.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add trtmn/agent-plugins
Claude Code
/plugin install shadcn-report

Made for: Claude Code.

Or install shadcn-report, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/trtmn/agent-plugins/shadcn-report/github.svg)](https://agentmods.dev/skills/trtmn/agent-plugins/shadcn-report)
Your own site
<a href="https://agentmods.dev/skills/trtmn/agent-plugins/shadcn-report"><img src="https://agentmods.dev/badge/skills/trtmn/agent-plugins/shadcn-report/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 shadcn-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/trtmn/agent-plugins/shadcn-report"><img src="https://agentmods.dev/badge/skills/trtmn/agent-plugins/shadcn-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00165 $0.02488
Opus 5.5 $0.00066 $0.00995
Sonnet 5.5 $0.00033 $0.00498
Haiku 4.5 $0.00016 $0.00249

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

Security

Grade A, and why

shadcn-report 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 14d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (assets/template/src/lib/static-mode.ts, scripts/build-report.sh, scripts/export-pdf.sh, …), 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.

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.

plugins/shadcn-report/skills/shadcn-report/SKILL.md · 185 lines

How it starts

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

shadcn Report

Turn data and findings into a single, shareable HTML report built from real shadcn/ui and Magic UI components. Components are always installed with the shadcn CLI via npx — never hand-copied — so the code matches the current registry versions.

Stack: Vite + React 19 + TypeScript + Tailwind v4 + shadcn/ui (radix base) + Magic UI (@magicui/* registry, built into the shadcn CLI) + Recharts (via the shadcn chart component) + vite-plugin-singlefile (inlines all JS/CSS/fonts/images).

Paths

SKILL_DIR below means the directory this SKILL.md lives in (shown as the skill's base directory when it loads; in a plugin install it is ${CLAUDE_PLUGIN_ROOT}/skills/shadcn-report). Scripts:

Script Does
SKILL_DIR/scripts/init-report.sh <slug> Scaffold project with npx shadcn@latest init, add the default components, apply the report template
SKILL_DIR/scripts/build-report.sh <project> --out <file.html> Type-check + build → one self-contained HTML
SKILL_DIR/scripts/export-pdf.sh <file.html> [--out file.pdf] Headless Chrome → PDF (static values, charts sized for paper)

All three print status to stderr and a JSON result to stdout. They take ~30–60s (init) and ~5–10s (build) — run init with run_in_background if your harness reaps long foreground commands.

Workflow

1. Pin down the content first

A report is a story about data, so before scaffolding, know: who reads it, the 3–6 numbers that matter, the comparisons/trends worth charting, the tables or findings to list, and what decision or takeaway it should drive. Read any data files the user points at and compute the figures yourself (a quick Python/uv run script is fine) — never invent numbers. If the user gave no data, ask; don't fill the report with plausible-looking fakes.

2. Scaffold

bash "$SKILL_DIR/scripts/init-report.sh" <slug> --title "<Report title>"
  • <slug> is kebab-case. The project goes to ~/.cache/shadcn-reports/<slug>/ (override with --dir <parent> or $SHADCN_REPORT_HOME). It has a ~300 MB node_modules, so don't put it inside a git repo — only the built HTML goes where the user wants it.
  • --preset <name> picks the shadcn look: nova (default, Lucide/Geist, neutral), vega, maia, lyra, mira, luma, sera, rhea.
  • --add "<components>" installs extra components up front (e.g. --add "alert accordion @magicui/animated-circular-progress-bar").
  • Already exists? Edit it instead of re-scaffolding (see Editing a report).

Read the full file on GitHub · 185 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. 14d ago First seen · 185 lines · 165 tokens per session scan A 480e8d53d647

Subscribe to this mod's changes

shadcn-report is a skill published in the GitHub repository trtmn/agent-plugins (2 stars, last pushed 15d ago), licensed Unlicense. It adds 165 tokens to every session and 2,488 once invoked, about $0.0007 per session on Opus 5.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-11-20.

Related

shadcn-report compared with skills from other repositories

shadcn-report next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shadcn-reporttrtmn/agent-pluginsSkill215d agoUnlicenseA165Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill51ktodayMITA48Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
pdf-extract-create-workflowHKUDS/OpenSpaceSkill8.1k21d agoMITA22Claude Code, Codex
document-direct-pythonHKUDS/OpenSpaceSkill8.1k21d agoMITA20Claude Code, Codex
pdf-text-extraction-fallback-85d5caHKUDS/OpenSpaceSkill8.1k21d agoMITA25Claude Code, Codex