/document-essentials:xlsxfrom Document Essentials
Use when the user brings a spreadsheet (.xlsx, .csv, .tsv) into their BRICKS project and wants its data in the app — product lists, price tables, schedules, bookings, inventory, KPI sheets. Parses sheets into structured, typed rows on the design machine with a bundled zero-dependency script, shapes them, and imports as Data entries, Property Bank values, or data-calculation sources; large tables can also feed the vectorStore for semantic search. Covers re-import when the sheet changes and runtime ingestion for apps that accept uploaded sheets. Triggers on "import this Excel", "use this spreadsheet", "load the price list", or a spreadsheet path in the prompt. Do NOT use to create or edit spreadsheet files as the deliverable, and not for PDFs, Word docs, or slide decks (use the pdf / docx / pptx skills).
Ships in Document Essentials. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn a spreadsheet into live app data: Data entries, Property Bank values, or data-calculation sources.
Announce at start: "I'm using the xlsx skill to import this spreadsheet."
Run the bundled parser in listing mode to see sheets, sizes, and a first-row
preview. Resolve the script path against this skill directory (the directory
containing this SKILL.md) and pass the absolute path to bun as a single
command — no pipes, redirections, or chained shell commands. The script has
zero dependencies and runs fully offline.
bun /absolute/path/to/xlsx/scripts/xlsx_to_json.ts --list path/to/file.xlsx
Confirm with the user which sheet and columns matter when there is more than one plausible target. Watch for: header rows that don't start at row 1, merged cells, unit rows under headers, and trailing summary rows.
bun /absolute/path/to/xlsx/scripts/xlsx_to_json.ts --sheet "Menu" --header-row 2 --out output/import/menu.json path/to/file.xlsx
The output is { source, sheet, headerRow, columns, rowCount, rows } with
typed cells. Rules the script applies:
--dates serial
keeps raw numbers). Verify one sample date against the source before
importing — date detection is heuristic.null, not "".--fill-merged
to copy it across the merged range.For very large sheets, parse is capped at 5000 rows by default — confirm the
shape on the first rows, then re-run with --limit 0 for everything.
| Content | Destination | Why |
|---|---|---|
| Values edited rarely, used in one place (title, phone, prices on one board) | Brick properties / Property Bank values | simplest; no indirection |
| Lists and tables the UI iterates (menu items, rooms, products) | Data entries (project Data, edited with edit_entry) | structured; drives list UIs |
| Content users will search or ask questions about | vectorStore ingestion (see ai-recipes doc-qa pattern) | semantic search / RAG |
| Data that must update on devices without redeploy | Data Bank (cloud data via the dataBank generator) | live updates to the fleet |
Default for tabular data: Data entries. Ask the user only when the destination changes the app's structure.
edit_entry tool (Data type). Derive stable keys from
a natural column (SKU, item name) — not from row order — so re-imports
update instead of duplicate.columns[].key mapping is the starting
point), coerce types, drop unused columns.output/import/ — it records the source file,
sheet, header row, and column mapping, which makes the import reviewable
and repeatable.Preview in the simulator: the list UI renders every row; spot-check first, last, and one middle row against the source file. Check type-sensitive displays: dates, currency, decimals, phone numbers.
For apps that must ingest user-uploaded files at runtime, don't parse at design time — wire the app itself:
vectorStore generator's insert-file command ingests Office/OpenOffice
documents into searchable chunks (works on all launchers).parseDocument(path) for text extraction.Both give text, not structured cells — for structured runtime data, prefer the Data Bank flow (update data in the cloud, devices subscribe via the dataBank generator) over runtime file parsing.
--limit 20), confirm the shape with the user, then run the full import.pdf / docx /
pptx skills.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mybigday/bricks-ctor-agent-skills --plugin document-essentials4 skills in this plugin
/docxUse when the user brings a Word document (.docx) into their BRICKS project and wants its content in the app — menus, price lists, policies, product sheets, event programs, manuals, service guides. Extracts headings, paragraphs, lists, tables, and embedded images on the design machine with a bundled zero-dependency script; routes the results into Data entries, Property Bank values, data-calculation sources, or media assets, and can feed the vectorStore for document Q&A. Covers re-import when the document changes and runtime ingestion for apps that accept uploaded documents. Triggers on "import this Word document", "use this docx", "read the menu from this Word file", or a .docx path in the prompt. Do NOT use to create or edit Word files as the deliverable, and not for PDFs, spreadsheets, or slide decks (use the pdf / xlsx / pptx skills)./pdfUse when the user brings a PDF into their BRICKS project and wants its content in the app — menus, price lists, schedules, catalogs, brochures, reports, or scanned documents. Extracts text on the design machine with a bundled script, routes the results into Data entries, Property Bank values, data-calculation sources, or media assets, and covers converting pages to images for slideshows. Also covers wiring runtime PDF ingestion (vectorStore RAG, parseDocument in data calculations) for apps that accept documents while running — note that mobile/TV launchers cannot parse PDF at runtime (web/desktop only). Triggers on "import this PDF", "read the menu from this PDF", "use this catalog", or any .pdf path in the prompt. Do NOT use for creating or exporting PDF files, or for Word docs, spreadsheets, and slide decks (use the docx / xlsx / pptx skills).Other plugins' skills for the same job