session-retrospective - Audit Claude Code session token spend and tool usage
Audits Claude Code sessions using jq for spend and tool usage analysis, generating graded retrospectives in .claude/retrospectives/.
Tags
Updated: 2026-09-22Capabilities
What this skill does
- Locate session transcript file
- Analyze token spend using jq
- Analyze tool usage using jq
- Identify repeated reads and errors
- Generate graded retrospective report
- Configure automated SessionEnd hook
Inputs
- Session transcript JSONL file
- Project directory path
- Session ID
Outputs
- Markdown retrospective report file in .claude/retrospectives/
- Updated llm/hooks.claude.json hook configuration
Requirements
- jq CLI tool
- Bash shell environment
- Claude Code CLI tool
