Built a new skill (notion-session-sync) with three operating modes to keep the Claude Knowledge Base in Notion current with session work.
Three modes designed and dry-run tested:
Auto-sync mode: Found 15 recent sessions, cross-referenced against 25+ Notion entries. Identified 12 sessions missing from Notion (2 skipped because still running). Generated sample entries for testing.
Backfill mode: Found 30 HANDOFF files across the repo. About 5 already have probable Notion matches. Identified 3 pairs of potential duplicates. Estimated 20-22 new entries would be created. Flagged 4 undated files needing date estimation.
Index mode: Built full directory page from current Notion data. 20 recent sessions grouped by project. Found a gap: search API returns max 25 results, so full rebuild needs pagination via notion-query-database-view.
Review viewer created at: Projects/notion-session-sync-review.html
Skill was NOT installed to .claude/skills/ (read-only from that sandbox). Needs:
Sam approved the dry run results but session ended before installation.