document-creator
Skill by khoj-ai
Creates and edits Word (.docx) and Excel (.xlsx) files for knowledge workers. Builds reports, memos, financial models and invoices, and applies tracked changes to existing Word documents.
Install document-creator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/khoj-ai/pipali /tmp/pipali && mkdir -p ~/.claude/skills && cp -r /tmp/pipali/src/server/skills/builtin/document-creator ~/.claude/skills/document-creatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/khoj-ai/pipali /tmp/pipali && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pipali/src/server/skills/builtin/document-creator ~/.gemini/antigravity-cli/skills/document-creatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Document Creator is an agent skill from khoj-ai for making and changing Word and Excel files. For new Word documents, a TypeScript script (docx_create.ts) reads a JSON specification and writes a .docx file with headings, paragraphs, rich text, lists, tables, images, page breaks and links. For new Excel files, a Python script (xlsx_create.py) reads a JSON spec with sheets, data, formulas, column widths and formatting.
Existing Word files are edited by unpacking the .docx, changing the XML and repacking it. A find-and-replace script can apply tracked changes under a chosen author name. Formulas can be checked with xlsx_recalc.py. The skill also includes templates for a business report and a three-statement financial model, plus a style guide for fonts, margins and colors. It is aimed at expert knowledge workers who produce business documents.
Written from the project's SKILL.md and checked against it.
What it can do
- Create Word documentsBuilds a .docx file from a JSON spec with headings, lists, tables, images and links.
- Edit Word documentsUnpacks a .docx, edits the XML and repacks it into a new file.
- Tracked changesFind and replace in Word files with tracked changes and a set author name.
- Create Excel workbooksBuilds .xlsx files with sheets, formulas, column widths and cell formatting from a JSON spec.
- Verify Excel formulasReturns JSON listing formula errors such as #REF! and #DIV/0! and where they occur.
- Use templatesStarts from a business report template and a three-statement financial model template.
What you need
- Bun runtime for the Word creation script
- Python with uvx for Excel and Word editing scripts
- LibreOffice for optional formula verification
Try asking
- Create a Word report with headings, a table and a bullet summary
- Find and replace a phrase in this .docx with tracked changes
- Build a three-statement financial model in Excel with formulas
Good to know
- Formula verification is optional and needs LibreOffice installed
- Editing existing Word files involves working with raw XML
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/server/skills/builtin/document-creator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to document-creator
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
document-creator: common questions
Can it edit existing Word files?
Yes. The source describes unpacking the .docx, editing the XML and repacking it. A docx_edit.py script supports find and replace with tracked changes.
Does it check Excel formulas?
Yes. xlsx_recalc.py returns JSON with any formula errors and their locations. The source says this step needs LibreOffice, and it is optional.
Does it include templates?
Yes. It includes report-template.docx for a business report and financial-model.xlsx for a three-statement financial model.
How do I install document-creator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is document-creator free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is document-creator safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to document-creator?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
