Skip to content

DOCX Word Document Skill

Lets an agent read, create, and edit Microsoft Word .docx files, including tables, TOC, and tracked changes.

Repository
HKUDS/DeepTutor
Stars
54,053
Licence
Apache-2.0
Files
1 file

What it does

When installed, the agent can open Microsoft Word (.docx) files to pull out text and tables, summarize them, and make new documents such as reports, letters, or memos with headings, tables, images, page numbers, and a table of contents. It can also do find-and-replace in existing Word files and, for advanced cases, add tracked changes and comments the way a reviewer would. The skill tells the agent which tools to use and how to avoid common formatting mistakes.

Great for

  • Office workers who need a Word report, letter, or memo drafted and formatted from notes or data
  • People filling in templates with placeholders such as client names across a .docx
  • Reviewers or editors who want tracked changes or comments added to a Word file

Skip it if

  • PDF, .xlsx, .pptx, or Google Docs files, which the skill explicitly says it does not cover
  • Edits to legacy .doc files without LibreOffice, since python-docx cannot read them and PDF export depends on an optional install
  • Sensitive documents processed in an environment where running agent-generated Python code is not acceptable, since the skill runs scripts

Try asking

  • “Read this contract.docx and summarize the key terms and any tables in it”
  • “Create a quarterly report.docx with a title, headings, a metrics table, and page numbers in the footer”
  • “Replace every {{CLIENT}} placeholder in template.docx with Acme Co and save a new copy”
  • “Add tracked changes and comments to my draft.docx suggesting edits to section 2”
Step-by-step guide: how to use DOCX Word Document SkillInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    docx.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip docx.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip docx.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask for a new output file rather than overwriting the original; the skill is designed to write new outputs unless replacement is explicitly authorized.
  • For tracked changes or exact formatting preservation, say so explicitly so the agent uses the raw XML approach instead of python-docx.
  • Check the generated file opens correctly in Word, and refresh the table of contents with Update Field since it is not populated automatically.

What's inside

  • SKILL.md

Redistributed unmodified from HKUDS/DeepTutor under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.