
Session Report
Pulls the last week's worth of Claude Code transcripts from your ~/.claude/projects directory, crunches token usage, cache stats, subagent calls, and skill invocations, then drops a self-contained HTML report in your working directory. The template renders sortable tables and bar charts, while the skill injects a handful of one-line findings: which projects or skills are eating disproportionate tokens, where cache hit rates are sagging, whether a single expensive prompt is skewing your totals. It's forensics for your own usage. If you've ever wondered why your cache credits evaporated or which subagent type is burning through context, this gives you percentages and drill-downs instead of hunches.
- skills.sh installs
- 4.3K
- GitHub stars
- 46.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add anthropics/claude-plugins-official --skill session-report --agent claude-codeInstalls into .claude/skills of the current project.
Files
Session Report
Produce a self-contained HTML report of Claude Code usage and save it to the current working directory.
Steps
-
Get data. Run the bundled analyzer (default window: last 7 days; honor a different range if the user passed one, e.g.
24h,30d, orall). The scriptanalyze-sessions.mjslives in the same directory as this SKILL.md — use its absolute path:node <skill-dir>/analyze-sessions.mjs --json --since 7d > /tmp/session-report.jsonFor all-time, omit
--since. -
Read
/tmp/session-report.json. Skimoverall,by_project,by_subagent_type,by_skill,cache_breaks,top_prompts. -
Copy the template (also bundled alongside this SKILL.md) to the output path in the current working directory:
cp <skill-dir>/template.html ./session-report-$(date +%Y%m%d-%H%M).html
Sponsors
Details
- Repository
- github.com/anthropics/claude-plugins-official
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from anthropics/claude-plugins-official
All 24- M5 Onboard3.5K
- Cardputer Buddy3.5K
- Stripe Best Practices1.4K
- Example Skill208
- Frontend Design18.4K
- Claude Md Improver14.2K
- Claude Automation Recommender10.7K
- Playground8.6K
- Skill Creator8.3K
- Agent Development7.9K
- Skill Development7.7K
- Hook Development7.5K
- Mcp Integration7.5K
- Command Development7.4K
- Writing Hookify Rules7.4K
- Build Mcp Server7.4K
- Plugin Structure7.3K
- Plugin Settings7.3K
- Build Mcp App7.1K
- Build Mcpb6.9K
- Math Olympiad4.7K
- Configure4.5K
- Access4.5K