Skip to content
mcp/skillhub

Agent Skill

DOCX skill

docxeigent-ai/eigentresources/example-skills/docx/SKILL.md

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.

16kApache-2.0

always on

168 tokname + description

once used

4,753 tokSKILL.md body

bundled files

6015 scripts

repo stars

16kGitHub

Install the DOCX skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/eigent-ai/eigent --skill docx

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/eigent-ai/eigent.git /tmp/eigent
mkdir -p ~/.claude/skills
cp -R /tmp/eigent/resources/example-skills/docx ~/.claude/skills/docx

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description168 tok
When the agent uses itThe SKILL.md instructions4,753 tok
Only if opened60 bundled files (1.1 MB)varies

Until it is used, docx costs about 8.1× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 6 skills from eigent-ai/eigent would load 762 tokens of descriptions. Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • DOCX creation, editing, and analysis
  • Overview
  • Quick Reference
  • Converting .doc to .docx
  • Reading Content
  • Converting to Images
  • Accepting Tracked Changes
  • Creating New Documents
  • Setup
  • Validation
  • Page Size
  • Styles (Override Built-in Headings)
  • Lists (NEVER use unicode bullets)
  • Tables
  • Images
  • Page Breaks
  • Table of Contents
  • Headers/Footers
  • Critical Rules for docx-js
  • Editing Existing Documents
  • Step 1: Unpack
  • Step 2: Edit XML
  • Step 3: Pack
  • Common Pitfalls

More skills from eigent-ai/eigent

All skills in this repo
  1. pptxeigent-ai/eigent

    Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

    16k16152 tok idle · 1,885 in use
  2. skill-creatoreigent-ai/eigent

    Guide for creating effective skills. Use when creating a new skill or updating an existing skill that extends agent capabilities with specialized knowledge, workflows, or tool integrations.

    16k335 tok idle · 3,761 in use
  3. skill-security-auditoreigent-ai/eigent

    Security auditing for code, configs, and infrastructure. Use when the user wants to audit or improve security: scan for vulnerabilities (SQL injection, XSS, command injection, path traversal), detect hardcoded secrets and credentials, review auth and authorization, check dependencies for known CVEs, audit config files for insecure defaults, or generate security reports. Trigger on "security audit", "vulnerability scan", "code review for security", "find secrets", "check for vulnerabilities", "OWASP", "CVE", or questions about code security.

    16k2114 tok idle · 1,522 in use
  4. xlsxeigent-ai/eigent

    Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

    16k13201 tok idle · 2,615 in use