Generate an explorable HTML report of Claude Code session usage (tokens, cache, subagents, skills, expensive prompts) from ~/.claude/projects transcripts.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Session Report
Produce a self-contained HTML report of Claude Code usage and save it to the current working directory.
## Steps
1. **Get data.** Run the bundled analyzer (default window: last 7 days; honor a different range if the user passed one, e.g. `24h`, `30d`, or `all`). The script `analyze-sessions.mjs` lives in the same directory as this SKILL.md — use its absolute path:
```sh
node <skill-dir>/analyze-sessions.mjs --json --since 7d > /tmp/session-report.json
```
For all-time, omit `--since`.
2. **Read** `/tmp/session-report.json`. Skim `overall`, `by_project`, `by_subagent_type`, `by_skill`, `cache_breaks`, `top_prompts`.
3. **Copy the template** (also bundled alongside this SKILL.md) to the output path in the current working directory:
```sh
cp <skill-dir>/template.html ./session-report-$(date +%Y%m%d-%H%M).html
```
4. **Edit the output file** (use Edit, not Write — preserve the template's JS/CSS):
- Replace the contents of `<script id="report-data" type="application/json">` with the full JSON from step 1. The page's JS renders the hero total, all tables, bars, and drill-downs from this blob automatically.
…
The line at the top of this page pins the label git:20260408.147ddf8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_adizfvz5rphlltlt
GET https://markdownregistry.com/api/v1/resolve?ref=anthropics/claude-plugins-official/session-report
GET https://markdownregistry.com/api/v1/blob/ef0fbc4259a41b7fd61b517fb1c9a95f02b83ea3c79ba0b3afbeee4942570397
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
anthropics/claude-plugins-official · external_plugins/discord/skills/access/SKILL.md · Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair…
anthropics/claude-plugins-official · external_plugins/discord/skills/configure/SKILL.md · Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token…
anthropics/claude-plugins-official · external_plugins/imessage/skills/access/SKILL.md · Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to…
anthropics/claude-plugins-official · external_plugins/imessage/skills/configure/SKILL.md · Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set…
anthropics/claude-plugins-official · external_plugins/telegram/skills/access/SKILL.md · Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to…
anthropics/claude-plugins-official · external_plugins/telegram/skills/configure/SKILL.md · Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot…
anthropics/claude-plugins-official · plugins/claude-code-setup/skills/claude-automation-recommender/SKILL.md · Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when…
anthropics/claude-plugins-official · plugins/claude-md-management/skills/claude-md-improver/SKILL.md · Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix…
anthropics/claude-plugins-official · plugins/claude-security/skills/claude-security/SKILL.md · Claude Security: scan the codebase (the whole repository or a scoped part of it), scan changes (this branch's or a pull…
anthropics/claude-plugins-official · plugins/cwc-makers/skills/cardputer-buddy/SKILL.md · Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already…
anthropics/claude-plugins-official · plugins/example-plugin/skills/example-command/SKILL.md · An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
nota-america/forgecat-agent-profiles · profiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_session-report/for-codex/.agents/skills/session-report/SKILL.md · Generate an explorable HTML report of Claude Code session usage
nota-america/forgecat-agent-profiles · profiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_session-report/for-forgecat/skills/session-report/SKILL.md · Generate an explorable HTML report of Claude Code session usage (tokens, cache, subagents, skills, expensive prompts)…
nota-america/forgecat-agent-profiles · profiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_session-report/for-cursor/.cursor/skills/session-report/SKILL.md · Generate an explorable HTML report of Claude Code session usage
nota-america/forgecat-agent-profiles · profiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_session-report/for-claude/.claude/skills/session-report/SKILL.md · Generate an explorable HTML report of Claude Code session usage