Agent skill

Kimi DOCX

by thvroyal in thvroyal/kimi-skills

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

No licenceAuto-check passedDocuments & Office

Install Kimi DOCX

skills CLI
$ npx skills add thvroyal/kimi-skills --skill kimi-docx -a claude-code

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

GitHub CLI
$ gh skill install thvroyal/kimi-skills kimi-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/thvroyal/kimi-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kimi-docx .claude/skills/kimi-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
kimi-docx
GitHub stars
238
Token cost
~8k tokens
SKILL.md length
2,593 words
Files
31 (incl. scripts, references, assets)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 2 steps: Preserve formatting — When editing… → Correct feature implementation —…
  • Tasks that involve Word documents
  • SKILL.md covers ⚠️ When to Unzip vs Read, Core Principles, Source Principle and File Structure, plus 9 more sections
  • Runs Python and C# scripts from its folder; calls dotnet, pandoc and libreoffice

What it does

Kimi DOCX is an agent skill from thvroyal/kimi-skills. Generate and edit Word documents (.docx). Supports professional documents including covers, charts, track-changes editing, and more. Suitable for any .docx creation or modification task.

Its SKILL.md is about 8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 36 other files, including scripts, reference files and assets (for example `references/EditingGuide.md`, `scripts/__init__.py` and `scripts/docx_lib/__init__.py`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word, Kimi and python-docx. The repository describes itself as: AI agent skills for professional document generation (DOCX, PDF, XLSX) extracted from Kimi. Designer-quality outputs with native charts, validation pipelines, and full OpenXML….

When your agent uses it

  • Tasks that involve Word documents

Example prompts

  • “/kimi-docx”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Preserve formatting — When editing existing documents, retain original formatting. Clone and modify, never recreate.
  2. Correct feature implementation — Comments need multi-file sync. Track Changes need revision marks. Use the right structure.

What it can do on your machine

Read from SKILL.md and the folder at commit 0ca48f7. 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 9 files in scripts/ (Python and C#, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • dotnet
    • pandoc
    • libreoffice

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

  • Network

    No URLs in SKILL.md.

    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

Kimi DOCX loads about 8k tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 2,593 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.6k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,593 words (~8,037 tokens).

“To preserve ANY formatting from the source document, MUST unzip and parse XML.”

— opening of SKILL.md by thvroyal
name
kimi-docx

Read the full SKILL.md on GitHub

Files

SKILL.md and 30 other files (scripts, references, assets) in skills/kimi-docx of thvroyal/kimi-skills.

  • SKILL.md
  • assets/templates/CJKExample.cs
  • assets/templates/Example.cs
  • assets/templates/KimiDocx.csproj
  • assets/templates/Program.cs
  • references/EditingGuide.md
  • scripts/__init__.py
  • scripts/docx
  • scripts/docx_lib/__init__.py
  • scripts/docx_lib/business_rules.py
  • scripts/docx_lib/constants.py
  • scripts/docx_lib/editing/__init__.py
  • scripts/docx_lib/editing/comments.py
  • scripts/docx_lib/editing/context.py
  • scripts/docx_lib/editing/helpers.py
  • … and 16 more

Open the folder on GitHubat commit 0ca48f7

Compare with similar skills

Kimi 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.

Kimi DOCX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kimi DOCX this skillthvroyal/kimi-skills238—~8kAutomated safety check: PassNone
DOCX ToolkitXiaomiMiMo/MiMo-Code14k—~2.4kAutomated safety check: PassApache-2.0
DOCXmateaix/mateclaw1.1k—~4.1kAutomated safety check: PassProprietary
Brand DOCXferdinandobons/brand-docs273—~3.8kAutomated safety check: PassMIT
Brand PPTXferdinandobons/brand-docs273—~3.5kAutomated safety check: PassMIT
DOCXasgeirtj/system_prompts_leaks69k—~1.9kAutomated safety check: PassProprietary

Similar skills

  • 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 yesterday
    Documents & OfficeAuto-check passed
  • DOCX

    mateaix/mateclaw

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

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

    ferdinandobons/brand-docs

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

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

    ferdinandobons/brand-docs

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

    273 GitHub stars~3.5k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • DOCX

    asgeirtj/system_prompts_leaks

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

    69k GitHub stars~1.9k tokensUpdated yesterday
    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 thvroyal/kimi-skills

  • Kimi PDF

    thvroyal/kimi-skills

    Professional PDF solution. An agent skill from thvroyal/kimi-skills.

    238 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Kimi XLSX

    thvroyal/kimi-skills

    Specialized utility for advanced manipulation, analysis, and creation of spreadsheet files, including (but not limited to) XLSX, XLSM, CSV formats.

    238 GitHub stars~9.5k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Kimi DOCX

What does Kimi DOCX do?

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

When should I use Kimi DOCX?

Kimi DOCX fits situations like: tasks that involve Word documents.

How do I install Kimi DOCX in Claude Code?

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

How do I install Kimi DOCX in Codex?

Run `npx skills add thvroyal/kimi-skills --skill kimi-docx -a codex`. Or copy the skill folder (skills/kimi-docx in thvroyal/kimi-skills) into .agents/skills/kimi-docx in your project. Codex loads it when a task matches its description.

Can I use Kimi 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 thvroyal/kimi-skills --skill kimi-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/kimi-docx, .gemini/skills/kimi-docx, .github/skills/kimi-docx and .opencode/skills/kimi-docx in your project.

What does Kimi DOCX need to run?

Going by SKILL.md and its folder, Kimi DOCX needs Python and C# for the scripts in its folder and the command-line tools its instructions call (dotnet, pandoc and libreoffice). Our summary lists: Python 3.

Does Kimi DOCX access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kimi 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 Kimi DOCX use?

No licence was found for Kimi DOCX or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Kimi DOCX use?

About 8k tokens (SKILL.md is roughly 32k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Kimi DOCX?

Skills that share tags, products or a category with Kimi DOCX: DOCX Toolkit (XiaomiMiMo/MiMo-Code, 14k stars), DOCX (mateaix/mateclaw, 1.1k stars), Brand DOCX (ferdinandobons/brand-docs, 273 stars) and Brand PPTX (ferdinandobons/brand-docs, 273 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kimi DOCX?

thvroyal (a GitHub user) maintains it in thvroyal/kimi-skills, which has 238 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on March 28, 2026.

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