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

documents

Skill by AstrBotDevs

The documents skill helps an AI assistant create, read, edit, review, comment on, sanitize, render and validate Microsoft Word DOCX files. It is for people who work with Word reports, proposals, forms and templates.

  • Score 90
  • 48k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install documents

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AstrBotDevs/AstrBot /tmp/AstrBot && mkdir -p ~/.claude/skills && cp -r /tmp/AstrBot/astrbot/builtin_stars/astrbot/skills/documents ~/.claude/skills/documents

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

Step-by-step: install documents in Claude Code

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

About

The documents skill helps an AI assistant create, read, edit, review, comment on, sanitize, render and validate Microsoft Word DOCX files. It uses python-docx for ordinary work and direct OOXML patches for features python-docx cannot represent safely. Edits keep the source document unless the user asks for an in-place change.

The skill includes bundled scripts to inspect a DOCX, scrub metadata on request, validate the OOXML package, and render pages when LibreOffice and a PDF renderer are available. It covers Word styles, lists, tables, fonts and Chinese text, comments, tracked changes and fields. It is aimed at people working with reports, proposals, forms, templates and tracked revisions in Word.

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

What it can do

  • Inspect DOCX structureRuns a bundled inspector to read text, styles, tables, comments, fields and tracked changes before edits.
  • Create and edit documentsUses python-docx with real Word styles, list definitions and tables, keeping the source design for edits.
  • Preserve advanced featuresUses targeted OOXML patches for tracked revisions, fields, content controls and document relationships.
  • Handle fonts and Chinese textSets Word font mappings for eastAsia and checks that chosen fonts exist in the render environment.
  • Add review commentsPlaces comments at the relevant text rather than collecting all notes at the end of the document.
  • Scrub metadataRuns a bundled scrubber to remove document metadata when the user requests it.
  • Validate OOXML packageRuns a bundled validator after every create or edit operation to check package structure.
  • Render pagesRenders the document with LibreOffice and a PDF renderer so each page can be inspected.

What you need

  • Python
  • python-docx
  • LibreOffice and a PDF renderer for visual rendering

Try asking

  • Edit this Word report and keep its existing styles and headings.
  • Scrub the author and metadata from this DOCX before I send it.
  • Add review comments to contract.docx at the relevant clauses.

Good to know

  • Tracked changes are not a safe first-class editing surface and need targeted OOXML patches.
  • Editing a digitally signed document invalidates its signature.
  • Metadata scrubbing is not content redaction.
  • Without a renderer, visual QA is skipped and only structural validation is done.

Security check

A

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

Checked automatically: astrbot/builtin_stars/astrbot/skills/documents/SKILL.md, astrbot/builtin_stars/astrbot/skills/documents/scripts/docx_table_to_csv.py, astrbot/builtin_stars/astrbot/skills/documents/scripts/inspect_docx.py, astrbot/builtin_stars/astrbot/skills/documents/scripts/privacy_scrub.py, astrbot/builtin_stars/astrbot/skills/documents/scripts/render_docx.py, astrbot/builtin_stars/astrbot/skills/documents/scripts/validate_docx.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/advanced-ooxml.md3 KB
  • references/styling.md3 KB
  • scripts/docx_table_to_csv.py2 KB
  • scripts/inspect_docx.py6 KB
Show all 8 files
  • scripts/privacy_scrub.py5 KB
  • scripts/render_docx.py6 KB
  • scripts/validate_docx.py6 KB

Alternatives to documents

All alternatives →

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

documents: common questions

Can this remove sensitive content from a Word file?

No. The source says metadata scrubbing is not content redaction, so visible text, headers, comments, fields and embedded objects must be searched separately.

Does it handle macros in Word files?

Macros are preserved only when working with a macro-enabled format. The source says not to rename DOCM to DOCX or claim macros are safe.

Are comments and tracked changes checked after editing?

Structural validation covers them, but the source says rendering is not sufficient proof for comments, field instructions, content controls or tracked-change structure.

How do I install documents?

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

Is documents free?

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

Is documents safe to use?

It scores 90 of 100. Grades: maintenance A, licence C, 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 documents?

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

documents Install

Add to stack

Loading.