analyze-sessions
Installation
SKILL.md
Analyze recorded session data from ALL Claude Code projects to identify patterns and automation opportunities.
Arguments
--project <name>— Analyze only sessions from the named project (matches theprojectfield, which is the basename of the working directory)--targets-only— Exclude toolkit sessions; only analyze target projects
Data Location
Session logs are stored centrally in ~/.claude/logs/sessions.jsonl in JSONL format (one compact JSON object per line).
Each entry contains:
{"session_id":"...","timestamp":"2026-01-23T12:00:00Z","project":"project-name","cwd":"/path/to/project","transcript_path":"/path/to/transcript"}
The session-end-logger hook is installed at the user level (~/.claude/hooks/session-end-logger.sh) so it captures sessions from every project.