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.
npx skills add vasilyu1983/AI-Agents-public --skill document-docxgit clone --depth 1 https://github.com/vasilyu1983/AI-Agents-publicWrote 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.
[](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/document-docx)<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/document-docx"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/document-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.
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/document-docx"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/document-docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk warn
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.02336 |
| Opus 5.5 | $0.00018 | $0.00934 |
| Sonnet 5.5 | $0.00009 | $0.00467 |
| Haiku 4.5 | $0.00004 | $0.00234 |
Grade A, and why
document-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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document DOCX Skill - Quick Reference
This skill covers the specialist .docx lanes: docxtpl template pipelines, python-docx structural edits and extraction, LLM/RAG ingestion, and accessibility/EAA compliance.
Boundary: when the official Anthropic docx skill is available, prefer it for plain create/edit (docx-js), tracked-change (redline) authoring via <w:ins>/<w:del> with validate.py, and comment authoring. When the user asks for "a document" without naming a format and a document connector or artifact type is available, prefer that over generating a .docx.
Core Decision Rules
- Non-developers own the layout in Word, and code supplies data:
docxtpl. Code decides the structure:python-docx(Python) ordocx(Node). - Render templates fail-closed. docxtpl's defaults render a missing variable as blank and insert
&/<unescaped, so the file opens fine and passes a tag scan. Usescripts/docx_render_template.py(StrictUndefined + autoescape); see references/template-workflows.md. - Tracked changes: never promise high-level library support, and never fake redlines with colour or strikethrough. Route authoring to the official
docxskill's OOXML workflow. See references/tracked-changes.md. - Semantic HTML from a trusted file:
mammoth, then sanitise (it does no sanitisation). Markdown/JSON for RAG: a Markdown converter orscripts/docx_extract.py; see references/llm-extraction-workflows.md. - DOCX feeding a KB or index: tables inside content controls are silently missing from
Document.tables, tables pasted as images have no text, tracked changes need an explicit accept/original policy, and filenames can lie. Run the table-count detection check in references/docx-extraction-failure-modes.md before indexing any file (load it whenever DOCX is ingestion input). - PDF output: Word automation for the highest fidelity; LibreOffice headless for CI and batch.
.doc: convert to.docxfirst..docm/.dotm: treat the macros as untrusted and never execute them..docxis the editable source; PDF is the release artifact.
What ships with it
22 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.
- agents/openai.yaml 363 B
- assets/docx-template-authoring-checklist.md 1.9 KB
- data/sources.json 8.5 KB
- learnings.consolidated.md 589 B
- learnings.md 789 B
- references/accessibility-compliance.md 4.7 KB
- references/cross-platform-compatibility.md 2.9 KB
- references/document-automation-pipelines.md 2.7 KB
- references/docx-extraction-failure-modes.md 3.7 KB
- references/docx-patterns.md 7.2 KB
- references/llm-extraction-workflows.md 4.3 KB
- references/review-comments-workflows.md 2.4 KB
- references/template-workflows.md 3.9 KB
- references/tracked-changes.md 1.9 KB
- scripts/docx_extract.py 7.3 KB runs code
- scripts/docx_inspect_ooxml.py 4.4 KB runs code
- scripts/docx_quality_gate.py 7.1 KB runs code
- scripts/docx_render_template.py 3.0 KB runs code
- scripts/docx_to_html.mjs 4.8 KB runs code
- scripts/test_docx_inspect_ooxml.py 1.7 KB runs code
- scripts/test_docx_quality_gate.py 1.6 KB runs code
- scripts/test_docx_to_html.mjs 520 B runs code
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.
- 20d ago Changed · -147 lines · +6 tokens per session 6e25e2100e1e
- 1mo ago Changed · +4 lines e345a436ea33
- 1mo ago First seen · 256 lines · 38 tokens per session scan A 929c7c665254
document-docx is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (101 stars, last pushed 10d ago), licensed MIT. It adds 44 tokens to every session and 2,336 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-08-30.
Other skills, from other repositories
upload-artifact
Upload a file as a ClosedLoop document (PRD, implementation plan, feature, or template). Reads file content and uploads via MCP without consuming conversation context. Also supports creating new versions of existing documents. Triggers on: "upload artifact", "upload PRD", "upload implementation plan", "upload…
extract-plan-md
Sync plan.md with plan.json content. MUST be used after ANY edit to plan.json to keep plan.md in sync. Triggers: After editing plan.json with Edit tool (REQUIRED - always sync after edits) User asks to "sync plan.md", "update plan.md", "extract the md from a plan" Converting plan.json to markdown or viewing plan as…
atlas-report
Render agent findings as a styled HTML report in the browser. Use when asked for "full report", "detailed report", "show in browser", or when CLI output exceeds the 40-line budget.
xlsx
Create, read and edit Microsoft Excel .xlsx spreadsheets — data tables, formulas, multiple sheets, number formats, conditional formatting, charts, frozen panes and named ranges. Also covers reading an existing workbook to extract values or formulas, recalculating formulas so cached values are correct, converting to…
docx
Create, read and edit Microsoft Word .docx documents — reports, letters, contracts, formatted multi-section documents with headings, tables, images, headers/footers and styles. Also covers reading an existing .docx to extract or modify its content, filling a .docx template, converting to PDF, and the raw OOXML route…
Read, create and manipulate PDF files — extract text and tables, merge, split, rotate, reorder and delete pages, read and fill AcroForm fields, add or strip metadata, encrypt and decrypt, and generate new PDFs from HTML or from scratch. Also covers rasterising pages to images so a PDF can actually be looked at, and…