docx

docx is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 44 tokens per session (2,372 once invoked), scanned A, original, MIT.

A tool for creating, editing, and analysing Microsoft Word documents in .docx format. It can work with document text, tracked changes, and conversions to or from other formats.

In plain words
What is it for?
Use it to create reports, memos, and letters; extract document text; edit existing files; review tracked changes; and convert documents to PDF or Markdown.
Why use it?
It helps automate Word-document work that would otherwise require repetitive manual editing or copying.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is zip -r ../modified.docx . -x ".*".

Good fit Use it to create reports, memos, and letters; extract document text; edit existing files; review tracked changes; and convert documents to PDF or Markdown.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claude
agentmods
npx agentmods add skills/andregusman-raiz/a-gusman-claude/docx

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/docx"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,372 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00044 $0.02372
Opus 5.5 $0.00018 $0.00949
Sonnet 5.5 $0.00009 $0.00474
Haiku 4.5 $0.00004 $0.00237

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

Security

Grade A, and why

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 1mo 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.

skills/docx/SKILL.md · 307 lines

How it starts

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

DOCX Skill

Criar, editar e analisar documentos Word. docx-js para criacao, OOXML para edicao, pandoc para extracao.

Workflow Decision Tree

Quer o que?
├── Ler/extrair texto     → pandoc ou python-docx
├── Criar do zero         → docx-js (Node) ou python-docx
├── Editar existente      → OOXML unpack/edit/pack
├── Tracked changes       → OOXML XML direto (w:ins, w:del)
├── Converter para PDF    → LibreOffice headless
└── Converter para imagem → LibreOffice + ImageMagick

Reading Content

pandoc (text extraction)

# To plain text
pandoc input.docx -t plain -o output.txt

# To markdown
pandoc input.docx -t markdown -o output.md

# To HTML
pandoc input.docx -t html -o output.html

python-docx (structured reading)

from docx import Document
doc = Document("input.docx")

# Paragraphs
for para in doc.paragraphs:
    print(f"[{para.style.name}] {para.text}")

# Tables
for table in doc.tables:
    for row in table.rows:
        print([cell.text for cell in row.cells])

Raw XML inspection

unzip -p input.docx word/document.xml | xmllint --format -

Creating with docx-js (Node)

npm install docx
import { Document, Packer, Paragraph, TextRun, HeadingLevel,
         Table, TableRow, TableCell, WidthType, BorderStyle,
         AlignmentType, PageBreak, Header, Footer,
         ImageRun, NumberFormat } from "docx";
import * as fs from "fs";

const doc = new Document({
  sections: [{
    properties: {
      page: {
        size: { width: 11906, height: 16838 }, // A4 in twips
        margin: { top: 1440, right: 1440, bottom: 1440, left: 1440 }, // 1 inch
      },
    },
    headers: {
      default: new Header({
        children: [new Paragraph({ text: "Header Text", alignment: AlignmentType.RIGHT })],
      }),
    },
    footers: {
      default: new Footer({
        children: [new Paragraph({
          children: [new TextRun("Page "), new TextRun({ children: [PageNumber.CURRENT] })],
          alignment: AlignmentType.CENTER,
        })],
      }),
    },
    children: [
      // Title
      new Paragraph({
        text: "Document Title",
        heading: HeadingLevel.TITLE,
        alignment: AlignmentType.CENTER,
        spacing: { after: 400 },
      }),

      // Heading
      new Paragraph({
        text: "Section 1",
        heading: HeadingLevel.HEADING_1,
        spacing: { before: 240, after: 120 },
      }),

      // Body text with formatting
      new Paragraph({
        children: [
          new TextRun("Normal text, "),
          new TextRun({ text: "bold text", bold: true }),
          new TextRun(", "),
          new TextRun({ text: "italic text", italics: true }),
          new TextRun(", "),
          new TextRun({ text: "colored text", color: "FF0000" }),
        ],
        spacing: { after: 200 },
      }),

      // Bulleted list
      new Paragraph({ text: "First item", bullet: { level: 0 } }),
      new Paragraph({ text: "Second item", bullet: { level: 0 } }),
      new Paragraph({ text: "Sub-item", bullet: { level: 1 } }),

      // Numbered list
      new Paragraph({
        text: "Step one",
        numbering: { reference: "numbered-list", level: 0 },
      }),

      // Table
      new Table({
        rows: [
          new TableRow({
            children: [
              new TableCell({
                children: [new Paragraph({ text: "Header 1", bold: true })],
                width: { size: 3000, type: WidthType.DXA },
                shading: { fill: "1a1a2e" },
              }),
              new TableCell({
                children: [new Paragraph({ text: "Header 2", bold: true })],
                width: { size: 3000, type: WidthType.DXA },
                shading: { fill: "1a1a2e" },
              }),
            ],
          }),
          new TableRow({
            children: [
              new TableCell({ children: [new Paragraph("Value 1")] }),
              new TableCell({ children: [new Paragraph("Value 2")] }),
            ],
          }),
        ],
        width: { size: 100, type: WidthType.PERCENTAGE },
      }),

      // Page break
      new Paragraph({ children: [new PageBreak()] }),

      // Image
      new Paragraph({
        children: [
          new ImageRun({
            data: fs.readFileSync("image.png"),
            transformation: { width: 400, height: 300 },
            type: "png",
          }),
        ],
      }),
    ],
  }],
  // Numbering definitions
  numbering: {
    config: [{
      reference: "numbered-list",
      levels: [{
        level: 0,
        format: NumberFormat.DECIMAL,
        text: "%1.",
        alignment: AlignmentType.START,
      }],
    }],
  },
});

// Generate file
const buffer = await Packer.toBuffer(doc);
fs.writeFileSync("output.docx", buffer);

Read the full file on GitHub · 307 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. 1mo ago First seen · 307 lines · 44 tokens per session scan A 2498d2fb7d90

Subscribe to this mod's changes

docx is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (18 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 2,372 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens