processing-docx

processing-docx is a skill for Claude Code from telagod/code-abyss. It costs 69 tokens per session (689 once invoked), scanned A, original, MIT.

A tool for working with Microsoft Word files in the .docx format. It can create, edit, annotate, analyze document structure, preserve formatting, and track revisions in contracts, policies, academic papers, and business documents.

In plain words
What is it for?
Use it to read or create Word files, edit existing documents, preserve formatting, inspect comments and media, analyze their internal XML structure, and produce tracked changes.
Why use it?
It provides a structured way to change or inspect Word documents without treating them as plain text. Tracked revisions make edits visible when working on legal, academic, business, or government documents.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the code-abyss plugin — 39 skills shipped together

Good fit Use it to read or create Word files, edit existing documents, preserve formatting, inspect comments and media, analyze their internal XML structure, and produce tracked changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/telagod/code-abyss/processing-docx
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 telagod/code-abyss --skill processing-docx
Clone the repo
git clone --depth 1 https://github.com/telagod/code-abyss

Made for: Claude Code.

Or install code-abyss, the plugin that ships this one along with the rest of its 39 skills.

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 processing-docx

README.md
[![agentmods](https://agentmods.dev/badge/skills/telagod/code-abyss/processing-docx/github.svg)](https://agentmods.dev/skills/telagod/code-abyss/processing-docx)
Your own site
<a href="https://agentmods.dev/skills/telagod/code-abyss/processing-docx"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/processing-docx/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 processing-docx

Your own site · 80×15
<a href="https://agentmods.dev/skills/telagod/code-abyss/processing-docx"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/processing-docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 689 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.00689
Opus 5.5 $0.00028 $0.00276
Sonnet 5.5 $0.00014 $0.00138
Haiku 4.5 $0.00007 $0.00069

Measured 2mo ago against content hash 53a0de030ab7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

processing-docx 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 2mo ago.

The scan reads SKILL.md. This mod also ships 11 executable files (ooxml/scripts/pack.py, ooxml/scripts/unpack.py, ooxml/scripts/validate.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/processing-docx/SKILL.md · 62 lines

How it starts

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

DOCX Processing

.docx is a ZIP archive of XML and resources. Different tasks have different tools and workflows.

Workflow Decision

Intent Workflow Reference
Read/analyze text only pandoc → markdown raw-xml-access.md
Read structure, comments, media, formatting unpack → raw XML raw-xml-access.md
Create new document docx-js (JS/TS) docx-js.md
Edit own document, simple changes Document library (Python) ooxml.md
Edit someone else's document Redlining (tracked changes) redlining.md
Legal / academic / business / gov docs Redlining — REQUIRED redlining.md
Visual analysis soffice → PDF → pdftoppm raw-xml-access.md

Text Extraction (Quick)

pandoc --track-changes=all path-to-file.docx -o output.md
# --track-changes=accept/reject/all

Create New Document

  1. MANDATORY — READ ENTIRE FILE: docx-js.md (~500 lines). NEVER set range limits.
  2. Create JS/TS file using Document, Paragraph, TextRun components.
  3. Export with Packer.toBuffer().

Edit Existing Document (Own, Simple)

  1. MANDATORY — READ ENTIRE FILE: ooxml.md (~600 lines). NEVER set range limits.
  2. python ooxml/scripts/unpack.py <office_file> <output_dir>
  3. Run Python script using Document library.
  4. python ooxml/scripts/pack.py <input_dir> <office_file>

Edit Someone Else's Document → Redlining

See redlining.md for full 6-step workflow with batching strategy and RSID preservation.

Code Style

  • Write concise code, no verbose variable names, no unnecessary print statements.

Dependencies

Package Install Purpose
pandoc apt install pandoc Text extraction
docx npm i -g docx Create new docs
LibreOffice apt install libreoffice PDF conversion
Poppler apt install poppler-utils pdftoppm for images
defusedxml pip install defusedxml Secure XML parsing

Read the full file on GitHub · 62 lines

Files

What ships with it

59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 62 lines · 69 tokens per session scan A 53a0de030ab7

Subscribe to this mod's changes

processing-docx is a skill published in the GitHub repository telagod/code-abyss (244 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 689 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

Other skills, from other repositories

rag-assistant

A local knowledge-base assistant for answering questions from indexed private documents. It searches the stored documents, checks whether the results are relevant, and cites the source files in its answers.

MerkyorLynn/Lynn · 41 tokens

codexkit-document-summarizer

Summarize document-heavy inputs such as memos, policies, PDFs, research notes, proposals, and multi-document packets. Use when users need key points, obligations, questions, and action implications from documents.

hoavdc/CodexKit · 50 tokens

codexkit-meeting-summary-generator

Summarize meeting notes or transcripts into decisions, action items, owners, risks, and follow-up messages. Use after meetings when raw notes need a clean recap.

hoavdc/CodexKit · 41 tokens

managing-artifacts

Artifact storage paths and project-encoded conventions for generated documents, reports, plans, and audits. Loaded by the core rule module. Triggers: 'where should I put this', 'save report', 'output directory'.

axiomantic/spellbook · 49 tokens

codexkit-fpa-scenario-modeling

Build structured 3-scenario financial models (Base / Bull / Bear) for business planning or investment decisions. Sensitize revenue and cost drivers across scenarios, produce P&L summaries, cash flow bridges, and executive narratives. Aligns with FP&A 2.0 and CIMA Management Accounting standards. Use when leadership…

hoavdc/CodexKit · 98 tokens

xberg

Extract text, tables, metadata, and images from 97+ document formats (PDF, Office, images, HTML, email, archives, academic) using Xberg CLI.

CherryHQ/stella · 38 tokens