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 darellchua2/opencode-config-template --skill docx-creation-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/docx-creation-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/docx-creation-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/docx-creation-skill/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/darellchua2/opencode-config-template/docx-creation-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/docx-creation-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- 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.00051 | $0.01057 |
| Opus 5.5 | $0.00020 | $0.00423 |
| Sonnet 5.5 | $0.00010 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00106 |
Grade A, and why
docx-creation-skill 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 2mo 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
- Create new .docx via docx-js; read via pandoc or raw XML; edit by unpack → modify XML → repack
- Tracked changes (insertions/deletions), comments, images, tables, TOCs, letterheads
- Convert .doc→.docx, .docx→PDF, .docx→images
Use for: "Word doc" / .docx mentions; reports, memos, letters, templates; tracked-changes review. NOT for: PDFs, spreadsheets, Google Docs, unrelated coding.
Prerequisites
pandoc (extraction) · npm install -g docx (creation) · LibreOffice via scripts/soffice.py (PDF) · Poppler pdftoppm (images)
House scripts
python scripts/soffice.py --headless --convert-to docx document.doc # legacy .doc → .docx
pandoc --track-changes=all document.docx -o output.md # read incl. tracked changes
python scripts/unpack.py document.docx unpacked/ # raw XML access
python scripts/accept_changes.py input.docx output.docx # accept all tracked changes
python scripts/soffice.py --headless --convert-to pdf document.docx && pdftoppm -jpeg -r 150 document.pdf page
Creating new documents (docx-js) — critical rules
Full code patterns: reference.md (setup, styles, numbering, tables, images, hyperlinks, TOC, headers/footers).
- Set page size explicitly — docx-js defaults to A4; US Letter = 12240 × 15840 DXA (1440 DXA = 1″)
- Never
\n— separateParagraphelements - Never unicode bullets —
numbering.configwithLevelFormat.BULLET; same reference continues numbering, different reference restarts PageBreakmust sit inside aParagraph— standalone is invalid XMLImageRunrequirestype(png/jpg/…) andaltTextwith title+description+name- Tables: dual widths —
columnWidthsarray AND per-cellwidth, both DXA, summing to table width;WidthType.DXAonly (percentages break in Google Docs) ShadingType.CLEAR, never SOLID (black backgrounds)- TOC requires
HeadingLevelonly — override built-in styles by exact ID ("Heading1") and includeoutlineLevel(0 for H1), else TOC won't generate
What ships with it
14 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.
- reference.md 7.4 KB
- scripts/accept_changes.py 4.0 KB runs code
- scripts/comment.py 10 KB runs code
- scripts/helpers/merge_runs.py 5.4 KB runs code
- scripts/helpers/simplify_redlines.py 5.6 KB runs code
- scripts/pack.py 4.9 KB runs code
- scripts/soffice.py 5.0 KB runs code
- scripts/unpack.py 3.9 KB runs code
- scripts/validate.py 3.7 KB runs code
- scripts/validators/__init__.py 338 B runs code
- scripts/validators/base.py 20 KB runs code
- scripts/validators/docx.py 909 B runs code
- scripts/validators/pptx.py 1018 B runs code
- scripts/validators/redlining.py 1.6 KB 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.
- 2mo ago Changed · -494 lines 6439db08e745
- 3mo ago First seen · 563 lines · 51 tokens per session scan A 65fc2b6abab7
docx-creation-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 1,057 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.
docx-creation-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docx-creation-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 51 | Claude Code, Codex |
| csv-workbenchopenai/openai-agents-python | Skill | 31k | today | MIT | A | 17 | Claude Code, Codex |
| pdf-processingMervinPraison/PraisonAI | Skill | 9.9k | yesterday | MIT | A | 30 | Claude Code, Codex |
| google_workspaceericwang915/PythonClaw | Skill | 48 | 6d ago | MIT | A | 67 | Claude Code, Codex |
| notionericwang915/PythonClaw | Skill | 48 | 6d ago | MIT | A | 78 | Claude Code, Codex |
| obsidianericwang915/PythonClaw | Skill | 48 | 6d ago | MIT | A | 63 | Claude Code, Codex |
| csv_analyzerericwang915/PythonClaw | Skill | 48 | 6d ago | MIT | A | 64 | Claude Code, Codex |