From claude-trace
Analyzes Claude Code session efficiency: identifies high-cost tools, retry loops, errors, corrections; suggests precise CLAUDE.md additions. Use via /reflect for reviews.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-trace:claude-traceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run when the user types `/reflect` or asks to review session efficiency, analyze this session, or find what could have been done better.
Run when the user types /reflect or asks to review session efficiency, analyze this session, or find what could have been done better.
Run the reflect analyzer:
node "${CLAUDE_PLUGIN_ROOT}/index.js" --reflect --project "$PWD" 2>/dev/null || claude-trace --reflect --project "$PWD"
Use the Bash tool. It finds the most recent session automatically.
Reason about the output:
Output 3–5 specific insights. Format each as:
"Turns X–Y: [what happened]. Cost ~$X. [Why it was friction]. Fix: [one concrete suggestion]."
Examples:
Offer CLAUDE.md additions. For each insight, propose the exact text. Ask: "Want me to append this to your CLAUDE.md?"
For patterns across recent sessions:
node "${CLAUDE_PLUGIN_ROOT}/index.js" --reflect --project "$PWD" --recent 5 2>/dev/null || claude-trace --reflect --project "$PWD" --recent 5
Look for: recurring retry loops, growing costs over time, consistent error patterns.
npx claudepluginhub vexorkai/claude-traceAnalyzes Claude Code session logs to extract tool usage stats, thinking blocks, error patterns, debug trajectories, and generate actionable productivity recommendations. Provides cc-session CLI for overviews, timelines, searches.
Analyzes Claude Code sessions using MCP classifiers to detect usage patterns like correction spirals, rates severity, and provides concrete workflow improvements with metrics and advice.
Analyzes Claude Code sessions to improve CLAUDE.md instructions and capture learnings. Quick mode suggests CLAUDE.md tweaks; deep mode reviews problems, patterns, preferences, and gaps.