Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 78
  • 340 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-creator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install document-creator in Claude Code

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

A

No 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 →

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.

document-creator Install

Add to stack

Loading.