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 kdcube/kdcube --skill docx-pressgit clone --depth 1 https://github.com/kdcube/kdcubeWrote 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/kdcube/kdcube/docx-press)<a href="https://agentmods.dev/skills/kdcube/kdcube/docx-press"><img src="https://agentmods.dev/badge/skills/kdcube/kdcube/docx-press.svg" alt="Measured on agentmods" 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.00073 | $0.05043 |
| Opus 5 | $0.00036 | $0.02521 |
| Sonnet 5 | $0.00015 | $0.01009 |
| Haiku 4.5 | $0.00007 | $0.00504 |
Grade A, and why
docx-press 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.
How it starts
The opening of the file, as written. The whole thing — 687 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DOCX Press — Professional Document Authoring
Overview
This skill teaches how to produce Markdown that renders cleanly into DOCX via
write_docx. The renderer is python-docx based — it parses your Markdown into
native Word elements (paragraphs, headings, tables, code blocks, blockquotes,
images, hyperlinks, and citations). You write standard Markdown — the renderer
handles all styling with a fixed professional palette.
Renderer Contract
This skill is authoring guidance for the DOCX renderer. The canonical callable
contract lives on the rendering_tools.write_docx tool definition; do not treat
this skill as a parameter reference.
Important: DOCX rendering is Markdown-only. Unlike PDF rendering, which can use HTML or Mermaid when appropriate, the DOCX renderer expects standard Markdown primitives: headings, lists, tables, code fences, blockquotes, images, links, and citation tokens.
Core Rules
- Use headings (
#through######) to structure sections with proper hierarchy - Prefer short paragraphs and concise lists
- Use pipe tables with a header row; keep column counts modest (3–5)
- Images use
— local files only - Use
> textfor blockquotes (rendered as shaded boxes with left accent) - Use triple backticks for code blocks (rendered in styled boxes)
- URLs are auto-linked: just write
https://example.com - Markdown links for custom text:
[click here](https://example.com) - Avoid HTML tags — keep to Markdown primitives; HTML is not processed
How the Renderer Structures Your Document
Understanding the renderer's logic prevents common mistakes:
- First
# Heading→ becomes the document title (large, bold, with horizontal rule beneath) - Each
## Heading→ creates a major document section (H1 styled). The renderer splits the document by##boundaries. ###through######→ rendered as progressively smaller, indented headings within their parent section- Everything else (paragraphs, lists, tables, etc.) → rendered as body content within the current section
What ships with it
2 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.
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 First seen · 687 lines · 73 tokens per session scan A 27dac3a1b380
docx-press is a skill published in the GitHub repository kdcube/kdcube (25 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 5,043 once invoked, about $0.0004 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-30.
Other skills, from other repositories
design-drawing-svg-md
Use when converting vector PDF engineering drawings (steel-structure shop drawings, A0 drawings, linework-only PDFs without a text layer) into LLM-consumable dual-carrier records — semantic Markdown reading thread plus layered SVG geometry archive linked by shared IDs and crosswalk.
superdoc-redlines
Use when you need to apply tracked changes and comments to DOCX files programmatically, merge multi-agent edits with conflict resolution, or produce native Word revisions from AI agent output.
document-converter
Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown. Provides the agent with conversion strategies for academic and research workflows.
corpus
Use when creating a repository corpus, adding or converting source files into corpus evidence, answering or verifying a topic from an existing corpus, or linting or auditing corpus navigation.
local-doc-to-markdown
Convert local PDF, Word (.doc/.docx), PowerPoint (.ppt/.pptx), Excel (.xls/.xlsx), OpenDocument, RTF, EPUB, and CSV to GitHub-Flavored Markdown via the anydoc MCP server. Triggers include convert pdf to markdown, read docx, powerpoint to md, excel to markdown, office files in repo, and local document convert without…
doc-converter
Universal document format converter - DOCX, PDF, Markdown, HTML, TXT.