Agent skill

DOCX

by mateaix in mateaix/mateclaw

A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

ProprietaryAuto-check passedDocuments & Office

Install DOCX

skills CLI
$ npx skills add mateaix/mateclaw --skill docx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mateaix/mateclaw docx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mateaix/mateclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/mateclaw-server/src/main/resources/skills/docx .claude/skills/docx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docx
GitHub stars
1.1k
Token cost
~4.1k tokens
SKILL.md length
860 words
Files
67 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
Proprietary

At a glance

A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

  • Works in 3 steps: Unpack → Edit XML → Pack
  • The user wants to create
  • SKILL.md covers Quick Start — Pick the Right…, Prerequisites, Overview and Quick Reference, plus 3 more sections
  • Runs Python scripts from its folder; calls python, pip and npm

What it does

DOCX is an agent skill from mateaix/mateclaw. Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). For CREATING new documents (report, memo, letter, résumé, contract from scratch), call the built-in tool renderDocx instead — it renders Markdown to .docx in milliseconds without forking Node.js. This skill remains authoritative for EDITING existing .docx (unpack/edit XML/pack), tracked changes, comments, image manipulation, find-and-replace, and conversions. Triggers include: "Word doc", "word document"…

Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 71 other files, including scripts (for example `scripts/__init__.py`, `scripts/accept_changes.py` and `scripts/comment.py`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word, Node.js and python-docx. The repository describes itself as: 🤖 MateClaw — Your second brain with Multi-Agent Orchestration, MCP Protocol, Skills & Memory, Dream, and Multi-Channel Support. Built on Spring AI Alibaba.

When your agent uses it

  • The user wants to create
  • Manipulate Word documents (.docx files)
  • Include: Word doc
  • Requests to edit/extract/restructure existing Word files

Example prompts

  • “Word doc”
  • “word document”
  • “/docx”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Unpack
  2. Edit XML
  3. Pack

What it can do on your machine

Read from SKILL.md and the folder at commit 3b5f7de. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 14 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip
    • npm
    • pandoc
    • pdftoppm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DOCX loads about 4.1k tokens when it runs. Until then it costs about 171 tokens; SKILL.md has 860 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~171
When it runs · the whole SKILL.md, loaded when a task matches
~4.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Proprietary) doesn't allow us to republish the file, so here is its outline and opening line. It has 860 words (~4,096 tokens).

“Call the in-process Java tool — no Node.js install, no fork, no disk round-trip:”

— opening of SKILL.md by mateaix, Proprietary
name
docx
version
1.1.0
dependencies.commands
python3, node
dependencies.tools
skillScriptTool, skillFileTool
platforms
macos, linux, windows

Read the full SKILL.md on GitHub

Files

SKILL.md and 66 other files (scripts) in mateclaw-server/src/main/resources/skills/docx of mateaix/mateclaw.

  • SKILL.md
  • LICENSE.txt
  • scripts/__init__.py
  • scripts/accept_changes.py
  • scripts/comment.py
  • scripts/office/helpers/__init__.py
  • scripts/office/helpers/merge_runs.py
  • scripts/office/helpers/simplify_redlines.py
  • scripts/office/pack.py
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd
  • … and 51 more

Open the folder on GitHubat commit 3b5f7de

Compare with similar skills

DOCX next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DOCX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DOCX this skillmateaix/mateclaw1.1k—~4.1kAutomated safety check: PassProprietary
Word Read Writeaipoch/medical-research-skills2k—~3.1kAutomated safety check: PassMIT
DOCX ToolkitXiaomiMiMo/MiMo-Code14k—~2.4kAutomated safety check: PassApache-2.0
Brand DOCXferdinandobons/brand-docs272—~3.8kAutomated safety check: PassMIT
Brand PPTXferdinandobons/brand-docs272—~3.5kAutomated safety check: PassMIT
Kimi DOCXthvroyal/kimi-skills238—~8kAutomated safety check: PassNone

Similar skills

  • Word Read Write

    aipoch/medical-research-skills

    Create and read Microsoft Word (.docx) documents. An agent skill from aipoch/medical-research-skills.

    2k GitHub stars~3.1k tokensUpdated 20 days ago
    Documents & OfficeAuto-check passed
  • DOCX Toolkit

    XiaomiMiMo/MiMo-Code

    Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.

    14k GitHub stars~2.4k tokensUpdated 4 days ago
    Documents & OfficeAuto-check passed
  • Brand DOCX

    ferdinandobons/brand-docs

    Brand-aware Word engine. An agent skill from ferdinandobons/brand-docs.

    272 GitHub stars~3.8k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Brand PPTX

    ferdinandobons/brand-docs

    Brand-aware PowerPoint engine. An agent skill from ferdinandobons/brand-docs.

    272 GitHub stars~3.5k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Kimi DOCX

    thvroyal/kimi-skills

    Generate and edit Word documents (.docx). An agent skill from thvroyal/kimi-skills.

    238 GitHub stars~8k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed
  • DOCX

    LeastBit/Claude_skills_zh-CN

    全面的文档创建、编辑和分析功能,支持修订追踪、批注、格式保留和文本提取。当 Claude 需要处理专业文档(.docx 文件)时使用:(1) 创建新文档,(2) 修改或编辑内容,(3) 处理修订追踪,(4) 添加批注,或其他任何文档任务

    588 GitHub stars~1.3k tokensUpdated 8 mo ago
    Documents & OfficeAuto-check: notes

More from mateaix/mateclaw

All 17 skills in this repo
  • Pixel Art

    mateaix/mateclaw

    Pixel art w/ era palettes (NES, Game Boy, PICO-8). An agent skill from mateaix/mateclaw.

    1.1k GitHub starsUsed in 5 repos~1.8k tokens
    Auto-check passed
  • XLSX

    mateaix/mateclaw

    Use this skill any time a spreadsheet file is the primary input or output.

    1.1k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Execute plans via delegatetask subagents (2-stage review). An agent skill from mateaix/mateclaw.

    1.1k GitHub starsUsed in 3 repos~2.6k tokens
    Auto-check passed
  • Ideation

    mateaix/mateclaw

    Generate project ideas via creative constraints. An agent skill from mateaix/mateclaw.

    1.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Architecture Diagram

    mateaix/mateclaw

    Dark-themed SVG architecture/cloud/infra diagrams as HTML. An agent skill from mateaix/mateclaw.

    1.1k GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Officecli

    mateaix/mateclaw

    Use the optional iOfficeAI/OfficeCLI engine for advanced inspection, validation, copy-on-write editing, template merge, or visual rendering of existing .docx, .xlsx, and .pptx files.

    1.1k GitHub stars~844 tokensUpdated 2 days ago
    Auto-check passed

Questions about DOCX

What does DOCX do?

A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). DOCX is an agent skill from mateaix/mateclaw.docx files).

When should I use DOCX?

DOCX fits situations like: the user wants to create; manipulate Word documents (.docx files); include: Word doc; requests to edit/extract/restructure existing Word files.

How do I install DOCX in Claude Code?

Run `npx skills add mateaix/mateclaw --skill docx -a claude-code`. Or copy the skill folder (mateclaw-server/src/main/resources/skills/docx in mateaix/mateclaw) into .claude/skills/docx in your project. Claude Code loads it when a task matches its description.

How do I install DOCX in Codex?

Run `npx skills add mateaix/mateclaw --skill docx -a codex`. Or copy the skill folder (mateclaw-server/src/main/resources/skills/docx in mateaix/mateclaw) into .agents/skills/docx in your project. Codex loads it when a task matches its description.

Can I use DOCX in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mateaix/mateclaw --skill docx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docx, .gemini/skills/docx, .github/skills/docx and .opencode/skills/docx in your project.

What does DOCX need to run?

Going by SKILL.md and its folder, DOCX needs Python for the scripts in its folder and the command-line tools its instructions call (python, pip, npm, pandoc and pdftoppm). Our summary lists: Python 3; Node.js.

Does DOCX access the network?

SKILL.md contains no URLs. Its commands use pip and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is DOCX safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does DOCX use?

DOCX carries a proprietary licence (from the LICENSE file in the skill folder). It is published on GitHub, but it is not open source: read the licence file before using or sharing it.

How many tokens does DOCX use?

About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to DOCX?

Skills that share tags, products or a category with DOCX: Word Read Write (aipoch/medical-research-skills, 2k stars), DOCX Toolkit (XiaomiMiMo/MiMo-Code, 14k stars), Brand DOCX (ferdinandobons/brand-docs, 272 stars) and Brand PPTX (ferdinandobons/brand-docs, 272 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DOCX?

mateaix (a GitHub user) maintains it in mateaix/mateclaw, which has 1,147 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 5, 2026.

Source: mateaix/mateclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.