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

docx

Skill by spinabot

Creates and edits Microsoft Word (.docx) files, from quick drafts to styled reports, contracts and memos. Aimed at users who ask Brigade to write, fill, redline or edit Word documents.

  • Score 87
  • 11k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install docx

Built from the published package, never by AI.

git clone --depth 1 https://github.com/spinabot/brigade /tmp/brigade && mkdir -p ~/.claude/skills && cp -r /tmp/brigade/skills/docx ~/.claude/skills/docx

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

Step-by-step: install docx in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The docx skill lets Brigade make new Word (.docx) documents and edit existing ones. It picks the lightest method for each job. A quick structured draft uses the make_document tool. Richer documents, with custom styles, multi-level lists, merged tables, headers, footers, a table of contents, footnotes, tracked changes and comments, are written as scripts that use the bundled docx library through brigade exec-node.

To fill or redline an existing branded file without losing its styling, the skill edits the underlying XML, using the edit_document tool for plain text swaps. Pandoc can convert Markdown into a Word file that inherits a corporate template, if it is installed. The skill also asks for the output to be checked, and renders a PDF with LibreOffice when it is available.

Written from the project's SKILL.md and checked against it.

What it can do

  • make_documentBuilds a quick structured draft with headings, paragraphs, bullets, a basic table and an image.
  • docx library scriptsWrites rich documents with custom styles, numbered lists, merged tables, headers and footers.
  • Table of contents and linksAdds a table of contents, hyperlinks and footnotes to generated Word files.
  • Tracked changes and commentsAuthors tracked insertions, deletions and comments in a generated document.
  • edit_documentRuns plain text replacement, template filling and appending on an existing .docx file.
  • OOXML round-trip editsEdits the XML inside an existing .docx so its theme, styles and headers are kept.
  • Pandoc conversionConverts Markdown to Word using a reference template, when pandoc is installed.
  • Output checkConfirms the file exists and renders it to PDF with LibreOffice when available.

What you need

  • Brigade, which provides make_document, edit_document and brigade exec-node
  • Optional: pandoc for Markdown to Word conversion
  • Optional: LibreOffice (soffice) to render and check the output

Try asking

  • Draft a two-page project proposal in Word with headings and a budget table
  • Fill the {{client}} placeholders in this contract template.docx
  • Redline this Word file and add tracked changes for the new payment terms

Good to know

  • make_document supports single-level bullets and string-only tables, with no inline formatting
  • Adding new images, hyperlink targets or headers to an existing file by hand is unsafe; regenerate it instead
  • Table of contents and page number fields stay blank until Word or a LibreOffice convert recalculates them
  • Pandoc is GPL and is run as a separate program, not bundled

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/docx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to docx

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

docx: common questions

Can this edit an existing Word document without changing its styling?

Yes. For plain text swaps it uses edit_document, and for other edits it unzips the file, edits word/document.xml and rezips it, leaving styles, headers and theme untouched.

Does the skill need to install the docx library?

No. The source says Brigade bundles the docx library and brigade exec-node makes it require()-able without an install.

How does the skill check that a document is correct?

It confirms the file exists and is not trivial, and if LibreOffice is available it renders the file to PDF so the output can be reviewed and fixed.

How do I install docx?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is docx free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is docx safe to use?

It scores 87 of 100. Grades: maintenance A, licence A, quality A. 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 docx?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

Add to stack

Loading.