word-documents

word-documents is a skill for Claude Code, Codex from alex-alecu/garden-desk. It costs 27 tokens per session (239 once invoked), scanned A, original, Apache-2.0.

A guide for reading and creating Microsoft Word documents, including DOCX files. It also explains how to extract text from older DOC files.

In plain words
What is it for?
Use it for DOCX deliverables, Word document edits, and extracting text from legacy DOC files.
Why use it?
It prevents binary Word files from being handled as plain text and helps preserve document content during edits. It includes a check that confirms the saved document contains the intended paragraphs or table rows.

Skill for Claude CodeCodex

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

Good fit Use it for DOCX deliverables, Word document edits, and extracting text from legacy DOC files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alex-alecu/garden-desk/word-documents
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 alex-alecu/garden-desk --skill word-documents
Clone the repo
git clone --depth 1 https://github.com/alex-alecu/garden-desk

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 word-documents

README.md
[![agentmods](https://agentmods.dev/badge/skills/alex-alecu/garden-desk/word-documents/github.svg)](https://agentmods.dev/skills/alex-alecu/garden-desk/word-documents)
Your own site
<a href="https://agentmods.dev/skills/alex-alecu/garden-desk/word-documents"><img src="https://agentmods.dev/badge/skills/alex-alecu/garden-desk/word-documents/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 word-documents

Your own site · 80×15
<a href="https://agentmods.dev/skills/alex-alecu/garden-desk/word-documents"><img src="https://agentmods.dev/badge/skills/alex-alecu/garden-desk/word-documents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 239 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.00027 $0.00239
Opus 5.5 $0.00011 $0.00096
Sonnet 5.5 $0.00005 $0.00048
Haiku 4.5 $0.00003 $0.00024

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

Security

Grade A, and why

word-documents 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.

prompts/skills/word-documents/SKILL.md · 33 lines

What it actually says

Library

Use the installed python-docx through python. Do not install packages.

Recipe

from docx import Document

document = Document()
document.add_heading("Title", level=1)
document.add_paragraph("Body text.")
table = document.add_table(rows=1, cols=2)
table.rows[0].cells[0].text = "column_a"
document.save(path)

To edit an existing .docx, load it with Document(path), add or change paragraphs, table rows, or styles, then document.save(path). Never create or edit a .doc; produce a .docx deliverable instead.

Verify

Reopen every .docx you write with Document(path) and assert its paragraph or table row count matches what you intended.

Gotchas

  • A table's text lives in table.rows, not in document.paragraphs.
  • Save under /workspace; /source is read-only.
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 Changed · -9 lines · -10 tokens per session 29ac7b2c3c76
  2. 1mo ago Changed · +2 tokens per session 439a46c5a7d6
  3. 1mo ago Changed 9743bb042c45
  4. 1mo ago First seen · 42 lines · 35 tokens per session scan A 8bbbb9818e21

Subscribe to this mod's changes

word-documents is a skill published in the GitHub repository alex-alecu/garden-desk (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 239 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

MRWillisT/PullNexus · 92 tokens

pdf

PDF files: create, read, merge, fill, OCR, edit text.

NousResearch/hermes-agent · 18 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens

extracting-lab-tables

Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…

maziyarpanahi/openmed · 210 tokens

figures

Makes publication-quality plots from data with matplotlib, learning curves, scaling laws, benchmark and ablation comparisons, Pareto trade-offs, heatmaps and confusion matrices, sized for the page, vector, with uncertainty shown. Use whenever results are plotted, charted or visualized for a paper, report or answer, or…

synthetic-sciences/openscience · 99 tokens

liteparse

Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.

synthetic-sciences/openscience · 49 tokens