LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-22
auditretrospectiveclaude-codetoken-usagecost-optimization

Capabilities

Locate session transcript fileAnalyze token spend using jqAnalyze tool usage using jqIdentify repeated reads and errors

Typical Inputs

Session transcript JSONL fileProject directory pathSession ID

Typical Outputs

Markdown retrospective report file in .claude/retrospectives/Updated llm/hooks.claude.json hook configuration

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.