Skip to content
Skill

DOCX conversion

Lets an agent read and write Word .docx files by converting them to and from Markdown

DOCX conversion is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About DOCX conversion

This skill gives an agent a pandoc-based route for working with Word documents. It converts an incoming .docx into Markdown so the agent can read or revise the text as ordinary Markdown, and converts edited Markdown back into a .docx when the user wants Word output. A reference .docx can be supplied so the generated file picks up consistent styling.

The workflow is short: convert first, process the content as Markdown, then convert back if a Word file is needed. The guidance asks the agent to check that pandoc is installed before converting and to point the user to a package manager install command if it is missing. It also tells the agent to leave the original .docx untouched unless the user confirms, to keep headings, lists and tables intact, and to warn when images or charts may not survive the round trip.

The skill expects pandoc available on the command line and works with local .docx files named by the user.

When your agent uses it

Converts Word (.docx) files to and from Markdown with pandoc. Use when the user hands you a .docx file to read or edit, or asks for the result as a .docx file.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (1 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor

Or copy only this skill to ~/.claude/skills/docx-conversion:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docx-conversion &&
cp -R "$tmp/skills/docx-conversion" ~/.claude/skills/docx-conversion &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/docx-conversion inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/docx-conversion to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docx-conversion &&
cp -R "$tmp/skills/docx-conversion" ~/.agents/skills/docx-conversion &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/docx-conversion inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/docx-conversion to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docx-conversion &&
cp -R "$tmp/skills/docx-conversion" ~/.cursor/skills/docx-conversion &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/docx-conversion inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/aws-solutions/konductor.git --path skills/docx-conversion

Or copy the folder to ~/.gemini/skills/docx-conversion yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docx-conversion:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docx-conversion &&
cp -R "$tmp/skills/docx-conversion" ~/.copilot/skills/docx-conversion &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/docx-conversion inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/aws-solutions/konductor.git

Then copy konductor/skills/docx-conversion into your agent's skills folder as docx-conversion. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Docx to Markdown
Converts a Word file into Markdown so the agent can read and edit its contents.
Markdown to Docx
Builds a Word document from Markdown produced or edited by the agent.
Reference template styling
Applies a supplied reference .docx so output matches an existing document style.
Structure preservation
Guidance to keep headings, lists and tables intact through conversion.
Original file safety
Instructs the agent not to overwrite the source .docx without user confirmation.
Pandoc availability check
Verifies pandoc is installed and suggests install commands when it is not.

Good for

  • Summarize a Word report that I attached
  • Edit a contract draft delivered as a .docx and return the revised version
  • Turn my Markdown notes into a Word document
  • Apply the formatting of my template file to a new Word document
  • Pull the text out of a .docx so you can review it

DOCX conversion FAQ

What does the skill need to run?

It relies on pandoc being installed. If pandoc is missing, the agent is told to inform the user and suggest installing it with brew on macOS or yum on AL2.

Will DOCX conversion change my original Word file?

The skill instructs the agent never to modify the original .docx without user confirmation.

Does conversion keep images and charts?

The guidance tells the agent to warn the user when complex formatting such as images or charts may be lost during conversion.

Can I control how the output Word file looks?

Yes, the skill shows how to pass a reference .docx template to pandoc so the output uses its styling.

How do I install DOCX conversion in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/docx-conversion to use it in all your projects, or to .claude/skills/docx-conversion in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

Does DOCX conversion run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use DOCX conversion?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to DOCX conversion?

The closest alternatives to DOCX conversion are Convert word to md, DOCX, Md to DOCX, DOCX and Convert excel to md.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from aws-solutions/konductor

  1. Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Onboards you to Konductor: install the CLI, set up agent content, and start a session

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Adversarial second-pass code review that hunts for disclosure, data integrity

    • Open source
    • 12 GitHub stars
    • Security