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

Capabilities

Typical Inputs

Typical Outputs

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.
audit
retrospective
claude-code
token-usage
cost-optimization
Locate session transcript file
Analyze token spend using jq
Analyze tool usage using jq
Identify repeated reads and errors
Session transcript JSONL file
Project directory path
Session ID
Markdown retrospective report file in .claude/retrospectives/
Updated llm/hooks.claude.json hook configuration