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 alex-alecu/garden-desk --skill word-documentsgit clone --depth 1 https://github.com/alex-alecu/garden-deskWrote 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/alex-alecu/garden-desk/word-documents)<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.
<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>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.00035 | $0.00416 |
| Opus 5 | $0.00017 | $0.00208 |
| Sonnet 5 | $0.00007 | $0.00083 |
| Haiku 4.5 | $0.00003 | $0.00042 |
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 7d 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.
What it actually says
Library
Use the installed python-docx through python for .docx. Do not install packages, and do not use bash or a shell to read one.
For legacy .doc, antiword is installed; run LC_ALL=C antiword -m UTF-8.txt -w 0 "/source/path/to/file.doc" with bash to get the text. For an attachment, use its listed /run/attachments/... path instead.
Find The Files
Search /source recursively for files ending in .docx or .doc, case-insensitive.
Recipe
from docx import Document
document = Document(path)
for paragraph in document.paragraphs:
print(paragraph.text)
for table in document.tables:
for row in table.rows:
print([cell.text for cell in row.cells])
To create or edit a .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 indocument.paragraphs. - Tables become plain text;
.doclayout and embedded content are lost when read throughantiword. antiwordoutput is source text only; you cannot edit a.docfile with it.- On an encrypted, corrupt, or mislabeled file, stop and report it; there is no fallback reader.
- Cite results by path and section, or by paragraph number for a
.docextract.
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.
- 7d ago Changed 9743bb042c45
- 11d ago First seen · 42 lines · 35 tokens per session scan A 8bbbb9818e21
word-documents is a skill published in the GitHub repository alex-alecu/garden-desk (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 35 tokens to every session and 416 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
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…
PDF files: create, read, merge, fill, OCR, edit text.
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…
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.…
nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
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.