session-report
Generate an explorable HTML report of Claude Code session usage — tokens, cache efficiency, subagents, skills, and the most expensive prompts — from local ~/.claude/projects transcripts.
Summary
claude/projects.
- It helps developers analyze token usage, cache efficiency, subagent activity, skill invocations, and identify the most expensive prompts, enabling better optimization of Claude Code usage.
Install & Usage
mkdir -p .claude/skillsmkdir -p .claude/skills && curl -o .claude/skills/session-report.md https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/session-report/SKILL.md/session-reportUse Cases
Usage Examples
/session-report generate report for last week
Show me the most expensive prompts from yesterday's session
Analyze cache efficiency across all sessions this month
Security Audits
Frequently Asked Questions
What is session-report?
This skill generates an interactive HTML report from Claude Code session transcripts stored locally in ~/.claude/projects. It helps developers analyze token usage, cache efficiency, subagent activity, skill invocations, and identify the most expensive prompts, enabling better optimization of Claude Code usage.
How to install session-report?
To install session-report: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/session-report.md https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/session-report/SKILL.md. Finally, /session-report in Claude Code.
What is session-report best for?
session-report is a skill categorized under General. It is designed for: agent. Created by Anthropic.
What can I use session-report for?
session-report is useful for: Review token consumption across all sessions to identify cost-heavy workflows.; Analyze cache hit rates to understand how effectively context is reused.; Track which subagents were invoked most frequently and their performance.; Identify the most expensive prompts in a session to optimize prompt design.; Monitor skill usage patterns to determine which skills are most valuable.; Generate a shareable report for team discussions on Claude Code efficiency..