analyze-sessions - Analyze Claude and Codex session history
Analyze Claude Code and Codex history for trends, recurring patterns, workflow changes, token usage, and automation opportunities.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze session history
- Find recurring patterns
- Compare Claude and Codex
- Track token usage
- Estimate supported costs
- Recommend automation shapes
- Persist cross-session insights
Inputs
- Claude history file
- Codex prompt history
- Codex session directory
- Repository directory
- Exported logs
- Date range
- Project filter
- Command or skill name
- Exact phrase
- Trend question
- Pricing table
- Persistent insights store
Outputs
- History analysis report
- Trend findings
- Pattern findings
- Token usage breakdown
- Cost breakdown
- Automation recommendations
- .session-insights/insights.md
- .session-insights/watermark.json
Requirements
- Local Claude history access
- Local Codex history access
- Read access to selected paths
- Write access to insights store
- Authoritative pricing source for cost estimates
