docx-ru

docx-ru is a skill for Claude Code, Codex from KondrashovDenis/claude-md-docx-skill. It costs 79 tokens per session (1,297 once invoked), scanned A, original, MIT.

Tools for reading and creating Word .docx files on Windows, including documents containing Cyrillic text. They work without Pandoc or LibreOffice.

In plain words
What is it for?
Use them to extract document text, render tables, or create documents with paragraphs, lists, and tables. They do not cover tracked changes, comments, or replacements in existing files.
Why use it?
They avoid common text-encoding problems and provide a lightweight way to handle Word documents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use them to extract document text, render tables, or create documents with paragraphs, lists, and tables. They do not cover tracked changes, comments, or replacements in existing files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add KondrashovDenis/claude-md-docx-skill --skill claude-md-docx-skill
Clone the repo
git clone --depth 1 https://github.com/KondrashovDenis/claude-md-docx-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docx-ru

README.md
[![agentmods](https://agentmods.dev/badge/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill/github.svg)](https://agentmods.dev/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill)
Your own site
<a href="https://agentmods.dev/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill"><img src="https://agentmods.dev/badge/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docx-ru

Your own site · 80×15
<a href="https://agentmods.dev/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill"><img src="https://agentmods.dev/badge/skills/kondrashovdenis/claude-md-docx-skill/claude-md-docx-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.01297
Opus 5 $0.00039 $0.00648
Sonnet 5 $0.00016 $0.00259
Haiku 4.5 $0.00008 $0.00130

Measured 12d ago against content hash e5f6f0f5bcff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

docx-ru scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DOCX (Windows + Cyrillic)

Two CLI scripts on top of Python (read) and docx-js (write). Works on Windows, doesn't crash on cp1251, doesn't require pandoc / soffice.

When to use

  • The user attached a .docx file and wants its content extracted
  • Need to generate a letter / commercial offer / spec / report as .docx
  • Need to save your work as a real Word document, not markdown

For tracked changes, comments, or find-and-replace inside existing documents - use the official anthropic-skills:docx instead.

Reading

python "<SKILL_DIR>/scripts/read_docx.py" "/absolute/path/to/file.docx"

Where <SKILL_DIR> is typically:

  • Linux / macOS: ~/.claude/skills/docx-ru
  • Windows: %USERPROFILE%\.claude\skills\docx-ru

Output is plain text split by paragraphs (UTF-8 stdout). Add --tables to render tables as pipe-separated rows: cell | cell | cell.

Creating

  1. Write a JSON config with blocks (see schema below) using the Write tool. A typical scratch path is ./_tmp_docx.json.
  2. Run the builder:
node "<SKILL_DIR>/scripts/build_docx.js" --config "./_tmp_docx.json" --out "./result.docx"

The script automatically replaces em-dashes and en-dashes with regular hyphens so generated text doesn't look AI-written. Pass --keep-dashes to disable.

JSON config schema

{
  "font": "Arial",
  "fontSize": 22,
  "pageSize": "A4",
  "margins": 1134,
  "blocks": [
    { "type": "h1", "text": "Heading 1" },
    { "type": "h2", "text": "Heading 2" },
    { "type": "p",  "text": "Regular paragraph", "bold": false, "italic": false, "center": false },
    { "type": "pRich", "runs": [
        { "text": "Bold fragment: ", "bold": true },
        { "text": "and the rest in plain text." }
      ]
    },
    { "type": "bullet", "text": "Bulleted list item" },
    { "type": "number", "text": "Numbered list item" },
    { "type": "divider" },
    { "type": "image", "path": "./logo.png", "width": 300, "center": true },
    { "type": "table",
      "widths": [3600, 2700, 2700],
      "header": ["Column 1", "Column 2", "Column 3"],
      "rows": [
        ["cell", "cell", "cell"]
      ],
      "firstColBold": true,
      "shadeHeader": "E8E8E8"
    }
  ]
}

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 104 lines · 79 tokens per session scan A e5f6f0f5bcff

Subscribe to this mod's changes

docx-ru is a skill published in the GitHub repository KondrashovDenis/claude-md-docx-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 79 tokens to every session and 1,297 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

docx-template-translator

Adaptive conversion of LaTeX, PDF, or Markdown sources into a complete Word .docx that follows a user-supplied .docx template. Use when pandoc --reference-doc alone is not enough — for thesis, dissertation, report, or institutional Word formatting that needs cover pages, declarations, TOC, heading numbering, captions…

zouchenzhen/docx-template-translator-skill · 87 tokens

lecture-builder

A document-building workflow that turns a teacher's knowledge and problem files into printable student and teacher Word documents.

dhcnsa-netizen/lecture-builder · 280 tokens

report

A procedure for turning a confirmed security vulnerability into a submission-ready DOCX report. DOCX is the Microsoft Word document format.

v-yun/vuln-report-skill · 183 tokens

cnipa-patent-writer

A Chinese patent-application writing skill that creates a formatted DOCX document, including the abstract, claims, description, and technical drawings. CNIPA is China’s government agency for patent applications.

fnjialun/cnipa-patent-writer · 297 tokens

document-generation

Generate Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) documents and fill existing PDF forms, from real NetClaw data, with per-element provenance and no fabrication. Use when someone needs a deliverable rather than an answer — a change record to attach to a CR, an audit workbook for a compliance reviewer, a…

automateyournetwork/netclaw · 91 tokens

weak-agent-test

Run the weak-agent adversarial test harness against docx-cli. Spawns weak exercise agents (Haiku by default, Sonnet to probe, or a local agent harness's pre-produced runs) to perform real document tasks over six scenarios — five editing (MNDA form-fill + font fidelity, invoice table-edit/restructure + logo replace…

kklimuk/docx-cli · 218 tokens