docx-processing

docx-processing is a skill for Claude Code, Codex from Pixel-Process-UG/superkit-agents. It costs 79 tokens per session (2,863 once invoked), scanned A, original, MIT.

A code-assisted tool for creating, filling, formatting, and transforming Microsoft Word documents in DOCX format. It can work from templates or build documents from scratch using data such as JSON, CSV files, databases, or APIs.

In plain words
What is it for?
Use it to generate reports, fill Word templates, create mail merges, add formatted content, and prepare DOCX files for conversion to PDF.
Why use it?
It removes the need to edit repeated Word documents by hand and helps keep layouts, styles, headers, tables, and images consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate reports, fill Word templates, create mail merges, add formatted content, and prepare DOCX files for conversion to PDF.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-process-ug/superkit-agents/docx-processing
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 Pixel-Process-UG/superkit-agents --skill docx-processing
Clone the repo
git clone --depth 1 https://github.com/Pixel-Process-UG/superkit-agents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixel-process-ug/superkit-agents/docx-processing"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/docx-processing.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 2,863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.02863
Opus 5 $0.00039 $0.01432
Sonnet 5 $0.00016 $0.00573
Haiku 4.5 $0.00008 $0.00286

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

Security

Grade A, and why

docx-processing scanned grade A with 1 finding 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 8d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run([
templates/skills/docx-processing/SKILL.md · 373 lines

How it starts

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

DOCX Processing

Overview

Generate, manipulate, and template Word documents programmatically. This skill covers python-docx for direct document creation, docxtpl for Jinja2-based template filling, formatting control (headings, tables, images, headers/footers), mail merge operations, style management, and conversion strategies.

Apply this skill whenever Word documents need to be created, populated, or transformed through code rather than manual editing.

Multi-Phase Process

Phase 1: Requirements

  1. Determine if creating from scratch or filling a template
  2. Identify document structure (sections, headers, tables, images)
  3. Define data sources (JSON, CSV, database, API)
  4. Plan styling requirements (fonts, colors, margins)
  5. Determine output format (DOCX, PDF conversion needed)

STOP — Do NOT begin implementation until the approach (scratch vs template) is decided and data sources are confirmed.

Phase 2: Implementation

  1. Set up document template or create from scratch
  2. Implement data binding and content generation
  3. Apply formatting and styles
  4. Add headers, footers, and page numbers
  5. Handle images and embedded objects

STOP — Do NOT skip to validation until all document sections are implemented.

Phase 3: Validation

  1. Verify document renders correctly in Word/LibreOffice
  2. Check formatting consistency across pages
  3. Validate data accuracy in generated documents
  4. Test with edge cases (long text, missing data, special characters)
  5. Verify PDF conversion if required

Approach Decision Table

Scenario Approach Library Why
One-off report generation From scratch python-docx Full programmatic control
Recurring reports with fixed layout Template docxtpl Design layout in Word, fill with data
Bulk letter generation (mail merge) Template docxtpl One template, many outputs
Complex formatting, custom styles From scratch python-docx Direct access to document model
Non-technical users design template Template docxtpl Users edit in Word, developers bind data
PDF output required Either + conversion libreoffice / docx2pdf Post-processing step

Read the full file on GitHub · 373 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. 8d ago First seen · 373 lines · 79 tokens per session scan A f3566b9b39e8

Subscribe to this mod's changes

docx-processing is a skill published in the GitHub repository Pixel-Process-UG/superkit-agents (1 stars, last pushed 6mo ago), licensed MIT. It adds 79 tokens to every session and 2,863 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

asr

A local speech-to-text tool that turns audio files into written text. It uses offline speech-recognition models and supports Chinese, English, Japanese, Korean, and Cantonese, with an English-only option as well.

marswaveai/skills · 52 tokens

awesome-document-style

An editor for Markdown documents, a plain-text format commonly used for technical and project documentation. It improves clarity, specificity, consistency, and factual honesty while preserving code, tables, links, citations, and document structure.

khasky/awesome-agent-skills · 77 tokens

tracker-builder

This skill should be used when the user asks to "build me a metrics tracker," "wire up a daily log to the summary sheet," "create a performance tracker spreadsheet," or needs an actual spreadsheet built that replicates a Daily Log / summary-sheet pattern with formulas wired between tabs.

daddia/claude-for-strategy · 60 tokens

doc-reviewer

This skill should be used when the user asks to "review this deck for structure," "critique this memo," "is this narrative tight," or provides an existing document or deck and wants a structural critique against pyramid and so-what discipline rather than a line edit or rewrite.

daddia/claude-for-strategy · 60 tokens

nextra-writer

Expert in creating clear, comprehensive technical documentation with Nextra (Next.js-based docs framework), MDX, and modern documentation patterns. Use for documentation sites that need Next.js integration.

shipshitdev/skills · 41 tokens

docs

Creates clear, concise technical documentation for software projects, runbooks, and developer guides. Use when writing or updating a README, guide, runbook, API reference, setup instructions, or troubleshooting notes.

shipshitdev/skills · 42 tokens