What problem does it solve?
Session history often stays unhelpful because Claude Code auto-tracking creates only one-line stub notes, while the real conversation details live in local .jsonl transcripts and are not indexed well in your knowledge base.
Core Features & Use Cases
- Distills .jsonl transcripts into structured session notes: Produces notes with TL;DR, Goal, Outcome, Decisions, Blockers / Open Questions, Next, and References for agent- and human-search.
- Writes into the per-project Sessions vault structure: Automatically targets
2. Areas/Sessions/<Project>/ using project slug mapping derived from your Claude Code project directories.
- Idempotent backfill: Skips sessions that already have a matching structured note, so you can safely rerun the skill.
- Cost-safe default: Uses
claude -p (Claude Code OAuth subscription) by default and strips ANTHROPIC_API_KEY so it won’t silently fall back to API billing; --use-api is an explicit opt-in.
Quick Start
Run the backfill for one project by executing: python3 {baseDir}/scripts/backfill.py --project sophon-webapp.