/document-essentials:docxfrom Document Essentials
Use 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).
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 Word document into live app content: Data entries, Property Bank values, media assets, or searchable knowledge.
Announce at start: "I'm using the docx skill to import this document."
Run the bundled script. Resolve the path against this skill directory (the
directory containing this SKILL.md) and pass the absolute script path to bun
as a single command — no pipes or chaining. Zero dependencies, fully offline.
bun /absolute/path/to/docx/scripts/docx_extract.ts document.docx --out output/import/document.json --extract-media output/import/document-media
The JSON contains blocks in document order — heading (with level;
localized heading styles and Title are recognized), paragraph, list-item
(with indent level), and table (rows of cell strings) — plus extracted
media paths. Legacy .doc and .odt are unsupported — ask for a .docx
export.
Extraction rules to keep in mind:
| Content | Destination | Why |
|---|---|---|
| A few values used in fixed places (title, phone, tagline, opening hours) | Brick properties / Property Bank values | simplest; no indirection |
| Lists and tables the UI iterates (menu items, products, schedule rows) | Data entries (project Data, edited with edit_entry) | structured, drives list UIs |
| Long-form content users will search or ask questions about (manuals, policies) | vectorStore ingestion (see ai-recipes doc-qa pattern) | semantic search / RAG |
| Embedded images worth showing (photos, logos, illustrations) | media_upload_files → Image / Slideshow bricks | reuses the document's own assets |
Default for tabular content: Data entries. Ask the user only when the choice changes the app's structure.
output/import/<name>.json so the mapping is reviewable.edit_entry tool (Data type). Derive stable keys
from a natural field (item name, SKU) — not from block order — so
re-imports update instead of duplicate.--extract-media output with
media_upload_files (if the media tools are unavailable, ask the user to
upload via the Controller UI).Preview in the simulator: spot-check imported values against the source document — first item, last item, and one from the middle. Check currency, dates, and phone-number formatting survived, and that every uploaded image renders.
For apps that must ingest user-provided documents at runtime, don't parse at design time — wire the app itself:
vectorStore generator's insert-file command ingests Word / Office /
OpenOffice documents into searchable chunks — works on all launchers
(unlike PDF, which is web/desktop only at runtime).parseDocument(path) for text extraction.Both give text, not structured blocks — for structured runtime data, prefer the Data Bank flow (update data in the cloud, devices subscribe via the dataBank generator) over runtime file parsing.
Re-run Step 1, diff the new blocks JSON against the previous one (headings, tables, counts), report changes to the user, and update Data entries by stable key. Never wholesale-delete entries unless asked.
pdf / xlsx /
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
/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)./pptxUse when the user brings a presentation (.pptx) into their BRICKS project — company decks, menus designed as slides, event programs — and wants it on screen. Extracts per-slide text, titles, speaker notes, and embedded images on the design machine with a bundled zero-dependency script; then builds or updates the app — a Slideshow brick playlist, re-authored native layouts, or media-box assets. Covers slide-to-signage conversion (aspect ratio and safe areas, per-slide duration, loop behavior) and re-import when the deck changes. Triggers on "turn this deck into signage", "import these slides", "use this presentation", or a .pptx path in the prompt. Do NOT use to author new .pptx files as the deliverable, and not for PDFs, Word docs, or spreadsheets (use the pdf / docx / xlsx skills).Other plugins' skills for the same job