distill-sessions
Installation
SKILL.md
Distill Sessions
Turn raw session transcripts into a ranked list of concrete improvements. Read-only analysis of the logs; never modify the log files. Output a numbered proposal list with one verbatim (redacted) evidence line per finding, then let the user pick which to apply.
Where the logs live
- Claude Code:
~/.claude/projects/<slug>/*.jsonl(top-level sessions). Per-session subagent transcripts are under<uuid>/subagents/agent-*.jsonl— skip these when counting "sessions"; they're part of a parent. - Codex:
~/.codex/sessions/<year>/<month>/<day>/rollout-*.jsonl.
Both are JSONL — one event per line.
1. Pick the N most recent sessions
Default N = 50 unless the user gives a number. date/strftime may be missing from the shell — use perl for timestamps.