What problem does it solve? Migrating HR data out of Notion into a structured system requires manually exporting 15 separate databases, reconciling formula fields, and rebuilding employee records. This Skill automates the one-way sync from a Notion HR workspace into the ShogunOS portal SQLite database and gbrain, eliminating manual data transfer during the parallel-run period. ## Core Features & Use Cases - 15-source sync: Pulls Employee Directory, Job Openings, recruitment trackers, Onboarding, Performance, Equipment, Training, Meetings, and more via the Notion data_sources API, upserting rows into typed SQLite tables. - Formula field replication: Computes Notion formula fields (Deadline, Days Left, Overdue, Task Status, No. of Years) on read, with a --verify mode to confirm values match Notion exactly. - Asset and brain page generation: Downloads file attachments to ~/.shogun-os/hr-assets/ and writes employee profiles as markdown brain pages under ~/brain/hr/. - Use Case: During a Notion-to-ShogunOS migration, schedule a cron job to run the sync every 2 hours so both systems stay consistent until Notion is decommissioned. ## Quick Start Set the NOTION_API_KEY environment variable and run the sync script with the --dry-run flag to preview row counts before performing a full sync.