What problem does it solve? Valuable insights from AI coding sessions—root causes, decisions, measured numbers, workarounds—are lost when sessions end. This Skill runs an unattended sweep over recent Claude Code and Codex transcripts, judges what is durable and unrecoverable, and files survivors into a secondbrain knowledge base via a pull request the user can veto. ## Core Features & Use Cases - Session Digesting: Parses Claude Code and Codex JSONL transcripts, stripping tool traffic and reasoning to leave only human turns and agent prose, with automatic redaction of common secret shapes. - Watermark-Based Idempotency: Tracks a state file so each run only processes sessions newer than the last tick; an empty pass is a success and simply advances the watermark. - Reviewed Capture Workflow: Applies a durable-and-unrecoverable test to each session, edits existing secondbrain pages where possible, and opens a harvest/YYYY-MM-DD pull request listing every capture and rejection for audit. - Use Case: A developer runs dozens of AI sessions per week. A scheduled tick sweeps yesterday's transcripts, finds one hard-won root cause, adds it to the existing secondbrain page, and opens a PR for review—nothing is committed to main without approval. ## Quick Start Use $harvest-sessions to sweep recent Claude Code and Codex sessions into the second brain.