MCPInstall

word-document

Word (.docx) manipulation via MCP server. Use for reading, creating, editing, formatting Word documents including tables, footnotes, comments, images, headers, styles, and PDF conversion.

Installs
790
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/practicalswan/agent-skills --skill word-document
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads word-document automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Word Document Workflows

Tech Stack Target / Version: Word desktop or python-docx automation with current OOXML-compatible workflows.

Use this skill when .docx layout and document structure matter, not just the raw text.

  • Leverage native parallel subagent dispatch and 200k+ context windows where available.

Current MCP Reality

Microsoft publicly documents a Word MCP server in the Microsoft 365 Agents Toolkit preview, but tool availability still depends on the host. In GitHub Copilot you may see Word-specific tools; in other clients they may be missing. If direct Word MCP access is unavailable, use the included local script workflow.

Activation Conditions

Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.

  • Creating or editing .docx reports, memos, or structured deliverables
  • Applying headings, tables, images, or styles
  • Reviewing or extracting document structure
  • Preparing Word output before a later PDF conversion

Practical Workflow

  1. Confirm whether the client exposes Word MCP capabilities.
  2. Start with structure: title, headings, sections, tables.
  3. Apply styling consistently only after the structure is right.
  4. Validate comments, footnotes, and references before export.
  5. Use the local generator script when MCP access is unavailable.

MCP Fallback – Native Automation

When MCP is unavailable, use native automation: python-docx for .docx, direct OOXML inspection for unsupported structures, and PDF export checks when layout matters. Preserve styles, tables, headers, footers, comments, tracked-change expectations, and metadata, then reopen or parse the document before claiming success.

<!-- MCP:START --> <!-- PORTABILITY:START -->

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/word-document and restart Codex after major changes.
<!-- PORTABILITY:END -->

MCP Availability And Fallback

Preferred MCP Server: Word Document MCP

  • Fallback prompt: "Use the Word Document Workflows skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence."
  • Use python-docx, Word desktop, or document export scripts when the MCP surface is unavailable.
  • Re-open or render the document locally so formatting, comments, and pagination are verified before delivery.
  • Do not claim an MCP operation was used when the active host does not expose it.
<!-- MCP:END -->

Anti-Patterns

  • Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.
  • Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.
  • Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.

Verification Protocol

Before claiming "skill applied successfully":

  1. Pass/fail: The Word Document artifact type, target format, and required output fidelity are stated before editing.
  2. Pass/fail: MCP availability is checked and the native automation fallback path is named when MCP is absent.
  3. Pass/fail: The produced file or formula is opened, parsed, rendered, or otherwise validated locally.
  4. Pressure-test scenario: Apply the workflow to a file with formatting, metadata, or conversion edge cases and verify nothing important is lost.
  5. Success metric: Zero unverified document claims; the artifact itself is the evidence.

Document Checklist

  • Heading hierarchy is clear
  • Tables are readable and consistently styled
  • Comments or review notes are intentional
  • Placeholder text is removed
  • The final document was re-opened or otherwise verified after generation

References & Resources

Documentation

  • DOCX Formatting Reference - Practical formatting notes and document structure guidance

Scripts

  • DOC Template Generator - Local fallback for generating Word-ready document structures

Examples

  • Report Generation Example - Example report workflow for .docx output

Related Skills

  • documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
  • documentation-patterns: Use it when the workflow also needs reusable documentation structures and templates.
  • documentation-quality: Use it when the workflow also needs documentation review standards and quality gates.
  • documentation-verification: Use it when the workflow also needs final documentation validation before publishing.

FAQ

What does the word-document skill do?

Word (.docx) manipulation via MCP server. Use for reading, creating, editing, formatting Word documents including tables, footnotes, comments, images, headers, styles, and PDF conversion.

How do I install word-document?

Run npx skills add https://github.com/practicalswan/agent-skills --skill word-document in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/word-document/ (personal) or .claude/skills/word-document/ (project).

Which AI agents can use word-document?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is word-document safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains word-document?

It is published by practicalswan in practicalswan/agent-skills. It has 790 recorded installs.

More from practicalswan/agent-skills

View all →

powerpoint-ppt

practicalswan/agent-skills

PowerPoint (.pptx) manipulation via MCP server. Use for creating slides, formatting presentations, managing placeholders, adding images, applying templates, or extracting text from .pptx files.

Docs & Writing1.6K installs

frontend-design

practicalswan/agent-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design225 installs

php-development

practicalswan/agent-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs61 installs

serena-usage

practicalswan/agent-skills

Open the skill to read its SKILL.md instructions.

AI & Agents61 installs

mongodb-mongoose

practicalswan/agent-skills

Open the skill to read its SKILL.md instructions.

Data & Databases47 installs

excel-sheet

practicalswan/agent-skills

Open the skill to read its SKILL.md instructions.

Data & Databases39 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs