docx

Originally fromanthropics/skills
Installation
SKILL.md

Important: All scripts/ paths are relative to this skill directory. Run with: cd {this_skill_dir} && python scripts/... Or use the cwd parameter of execute_shell_command.

DOCX creation, editing, and analysis

Prerequisites

  • docx (npm install -g docx): new document creation
  • LibreOffice (soffice): .doc -> .docx conversion, tracked-changes acceptance, and PDF export
  • pandoc: text extraction
  • pdftoppm (poppler-utils): document-to-image workflows
  • If pdftoppm is unavailable, a Python fallback path may use pdf2image.
  • On Windows, dependencies must be installed and available in PATH; if missing, report the dependency issue and stop (do not keep retrying).

Overview

A .docx file is a ZIP archive containing XML files.

Related skills

More from agentscope-ai/copaw

Installs
32
GitHub Stars
16.6K
First Seen
Mar 4, 2026