Stratum CLI

Cheat Sheet — Generated 2026-03-26 from stratum-cli/
Entry Point 1
node bin/stratum.js
Pipeline, ops, social, orchestration
Entry Point 2
node bin/workspace-quality.js
Notion workspace quality suite
Lead Pipeline
bin/stratum.js
CommandDescription
--lead-import --file <path>Import LinkedIn connections to Leads DB
--lead-triageBatch triage (role mapping, dedup, defaults)
--lead-enrichWeb research enrichment for Queue=Enrich leads
--facility-enrichWeb research enrichment for facilities
--poi-batchOutreach briefs via Claude API + SILy matching
--compose-outreachCompose emails from briefs + templates
--engagement-syncPull open/click events, update Outreach Events DB
--sequence-advanceAdvance sequences (Day 1→4→10→Nurture)
--pipeline-statusPipeline summary (status, engagement, stale)
--voc-import --file <path>Import voice-of-customer content into VoC DB
--voc-import --gmailPull prospect Gmail replies (coming soon)
Ops + Workspace
bin/stratum.js
CommandDescription
--ops-indexScan WF:/OPS: pages, sync Operational Pages Index
--ops-hygieneCG/CSG tracker sweeps: stale flags, dupes, dead refs
--ops-tracker-hygieneFlag sweep on Operations Tracker (C1–C8)
--ops-tracker-reportGenerate ops tracker report
--ops-dashboard-dataGenerate data.json for Operations Dashboard
--hub-nav-syncSync child nav sections on hub pages
--site-syncSync website HTML to Notion mirror pages
--cascade-positioning [--apply]Audit positioning drift across workspace + repo
Social + Orchestration
bin/stratum.js
CommandDescription
--linkedin-authLinkedIn OAuth flow
--linkedin-post --text "..."Post to LinkedIn (personal account)
--linkedin-post --text "..." --stratumPost to LinkedIn (Stratum account)
--daily-runFull pipeline chain (see below)
--daily-run chains: triage → enrich → engagement-sync → sequence-advance → compose → status
Workspace Quality Suite
bin/workspace-quality.js
CommandDescription
--workspace-hygiene [--hub=<name>]P1–P10 structural audit across hubs
--fleet-healthAgent cadence, coverage gaps, dependency check
--ops-hygieneCG Tracker stale flags, dupes, CSG reconciliation
--tracker-indexTracker Index, Super Tracker, Execution Tracker sync
--freshness-fastTimestamps, broken links, deprecated phrases
--agent-verifyFull wiring: T1/T2 access, write-back, ET rows, cadence
--allRun all six checks in sequence
Common Flags
FlagApplies toEffect
--dry-runAll commandsPreview changes without writing
--limit NPipeline commandsCap batch size
--forcePipeline commandsSkip safety checks
--mergelead-importMerge into existing records
--reprocessVariousRe-run previously processed items
--campaign <name>Outreach commandsScope to named campaign
--output <path>Reports / qualityWrite output to file
--hub=<name>Quality suiteScope to specific hub