Skills for Real Engineers. Straight from my .agents directory.
docx
Agent skill fromeigent-ai/eigent
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of \"Word doc\", \"word document\", \".docx\", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a \"report\", \"memo\", \"letter\", \"template\", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
How to install docx
npx skills add eigent-ai/eigent# or add only this skill to Claude Code: copy the folder
resources/example-skills/docx/
# into
~/.claude/skills/docx/ (all projects)
.claude/skills/docx/ (one project)
1# DOCX creation, editing, and analysis23## Overview45A .docx file is a ZIP archive containing XML files.67## Quick Reference89| Task | Approach |10|------|----------|11| Read/analyze content | `pandoc` or unpack for raw XML |12| Create new document | Use `docx-js` - see Creating New Documents below |13| Edit existing document | Unpack → edit XML → repack - see Editing Existing Documents below |1415### Converting .doc to .docx1617Legacy `.doc` files must be converted before editing:1819```bash20python scripts/office/soffice.py --headless --convert-to docx document.doc21```2223### Reading Content2425```bash26# Text extraction with tracked changes27pandoc --track-changes=all document.docx -o output.md2829# Raw XML access30python scripts/office/unpack.py document.docx unpacked/31```3233### Converting to Images3435```bash36python scripts/office/soffice.py --headless --convert-to pdf document.docx37pdftoppm -jpeg -r 150 document.pdf page38```3940### Accepting Tracked Changes4142To produce a clean document with all tracked changes accepted (requires LibreOffice):4344```bash45python scripts/accept_changes.py input.docx output.docx46```4748---4950## Creating New Documents5152Generate .docx files with JavaScript, then validate. Install: `npm install -g docx`5354### Setup55```javascript56const { Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell, ImageRun,57 Header, Footer, AlignmentType, PageOrientation, LevelFormat, ExternalHyperlink,58 TableOfContents, HeadingLevel, BorderStyle, WidthType, ShadingType,59…
Excerpt shown under the repository's Apache-2.0 license.
More skills in eigent
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
