docx
This skill provides tools for creating, reading, editing, and manipulating Microsoft Word (.docx) documents. It supports text extraction, document conversion, tracked changes, and programmatic generation using the docx-js library.
Is docx safe to install?
Review the source first: our audit of docx's source files found 11 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands, including Python scripts and system utilities like pandoc and LibreOffice, and performs file system operations to unpack and modify document XML.
How we audit skills: our security review methodology.
Who is this skill for?
Users needing to generate, modify, or analyze professional Word documents with specific formatting requirements like tables of contents, headings, and page layouts.
What can you do with it?
- Creating new .docx files with custom styles, tables, and images
- Extracting text and content from existing .docx files
- Converting legacy .doc files to .docx format
- Editing existing document XML for precise modifications
- Managing tracked changes and comments in documents
- Generating reports, memos, and templates with specific page sizes and margins
How good is this skill?
Quality score: 5/10. The documentation is highly technical and provides specific, actionable instructions for document manipulation. It includes critical warnings regarding common pitfalls like table width units and page size defaults.
What does the skill file contain?
# DOCX creation, editing, and analysis ## Overview A .docx file is a ZIP archive containing XML files. ## Quick Reference | Task | Approach | |------|----------| | Read/analyze content | `pandoc` or unpack for raw XML | | Create new document | Use `docx-js` - see Creating New Documents below | | Edit existing document | Unpack → edit XML → repack - see Editing Existing Documents below | ### Converting .doc to .docx Legacy `.doc` files must be converted before editing: ```bash python scripts/office/soffice.py --headless --convert-to docx document.doc ``` ### Reading Content ```bash # T...
Frequently asked questions
Can I use this skill to edit PDF files?
No. The skill is strictly for .docx files. It does not support PDF editing.
How do I handle bullet points in my document?
Do not use manual unicode characters. Use the numbering configuration with LevelFormat.BULLET to ensure correct formatting.
What is the correct way to set table widths?
Always use WidthType.DXA. Never use WidthType.PERCENTAGE, as it is incompatible with Google Docs.
How do I ensure my document uses US Letter size?
You must set the page size explicitly in the docx-js configuration to 12240 DXA width and 15840 DXA height, as the library defaults to A4.
Related skills
find-skills
2.3MUsers seeking to extend agent capabilities with specialized tools, workflows, or knowledge packages
The find-skills skill enables agents to search for, discover, and install modular packages from the open agent skills ecosystem using the Skills CLI.
image-to-video
355.0KDevelopers and users who need to automate video generation from images using the RunComfy platform
The image-to-video skill routes user requests to specific RunComfy animation models based on intent. It selects HappyHorse 1.0 I2V for general animation, Wan 2.7 for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal composition. The skill executes the RunComfy CLI to process inputs and download generated video files.
video-edit
338.7KUsers of the RunComfy CLI who need to automate video editing tasks like restyling, background swapping, or motion transfer
The video-edit skill acts as a router for the RunComfy CLI, selecting between Wan 2.7 Edit-Video, Kling 2.6 Pro Motion Control, and Lucy Edit Restyle models based on user intent to perform video transformations.
lark-drive
334.8KUsers needing to organize, manage, and govern files, folders, and documents within the Lark Suite or Doubao cloud storage ecosystem
The lark-drive skill provides comprehensive management for Lark Suite (Feishu) cloud storage, including file operations, folder organization, permission governance, and document version control. It handles file imports, exports, and metadata management while integrating with other specialized skills for content-specific tasks.