Semantius Importer

Imports a CSV into Semantius: introspects CSV schema with the CLI's `get_csvschema` util, maps columns to Semantius field formats, detects whether a matching entity exists (field-by-field diff), optionally creates the entity (and its module first), then generates and runs a Bun script that bulk-loads rows in batches. Also supports schema-only runs (create the entity, no rows) and compare-only runs (diff report, zero writes). Trigger on "import this CSV", "load this file into semantius", "create an entity from this file / spreadsheet export", "introspect this CSV", "bulk load these rows", "does this CSV match our table?", or asking what entity shape a CSV implies. Do NOT trigger for deploying blueprints or specs (semantius-admin / semantius-modeler), designing a multi-entity system (semantius-architect), CSV work with no Semantius target, or webhook-receiver ingestion (an external system pushes rows; see use-semantius references/webhook-import.md). For xlsx, ask for a CSV export first; CSV-only.

semantius cb8f261 12 files · 126.8 KB Updated

File contents

semantius/semantius-cli/tree/main/skills/semantius-importer commit cb8f2617f7

Frequently asked questions

npx skillmds@latest add semantius/semantius-importer