docx-press

docx-press is a skill for Claude Code from kdcube/kdcube. It costs 73 tokens per session (5,043 once invoked), scanned A, original, MIT.

A writing guide for creating Markdown that becomes a properly structured Word document (DOCX), including headings, tables, lists, code, citations, images, and diagrams.

In plain words
What is it for?
Use it for reports, proposals, technical documents, and other Word files with structured content.
Why use it?
It helps avoid broken formatting and inconsistent document structure when turning Markdown into Word files.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: positional $N argument.

Good fit Use it for reports, proposals, technical documents, and other Word files with…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kdcube/kdcube/docx-press
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 kdcube/kdcube --skill docx-press
Clone the repo
git clone --depth 1 https://github.com/kdcube/kdcube

Made for: Claude Code.

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 docx-press

README.md
[![agentmods](https://agentmods.dev/badge/skills/kdcube/kdcube/docx-press.svg)](https://agentmods.dev/skills/kdcube/kdcube/docx-press)
Your own site
<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>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,043 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.00073 $0.05043
Opus 5 $0.00036 $0.02521
Sonnet 5 $0.00015 $0.01009
Haiku 4.5 $0.00007 $0.00504

Measured 7d ago against content hash 27dac3a1b380, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

app/ai-app/src/kdcube-ai-app/kdcube_ai_app/apps/chat/sdk/skills/skills/public/docx-press/SKILL.md · 687 lines

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

  1. Use headings (# through ######) to structure sections with proper hierarchy
  2. Prefer short paragraphs and concise lists
  3. Use pipe tables with a header row; keep column counts modest (3–5)
  4. Images use ![alt text](path/to/image.png) — local files only
  5. Use > text for blockquotes (rendered as shaded boxes with left accent)
  6. Use triple backticks for code blocks (rendered in styled boxes)
  7. URLs are auto-linked: just write https://example.com
  8. Markdown links for custom text: [click here](https://example.com)
  9. 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:

  1. First # Heading → becomes the document title (large, bold, with horizontal rule beneath)
  2. Each ## Heading → creates a major document section (H1 styled). The renderer splits the document by ## boundaries.
  3. ### through ###### → rendered as progressively smaller, indented headings within their parent section
  4. Everything else (paragraphs, lists, tables, etc.) → rendered as body content within the current section

Read the full file on GitHub · 687 lines

Files

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.

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. 7d ago First seen · 687 lines · 73 tokens per session scan A 27dac3a1b380

Subscribe to this mod's changes

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.

Related

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.

znlgis/opengis-skills · 61 tokens

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.

LegalQuants/lq-skills · 40 tokens

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.

wentorai/Research-Claw · 50 tokens

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.

NathanAB/corpus-skill · 37 tokens

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…

ofershap/mcp-server-anydoc · 129 tokens

doc-converter

Universal document format converter - DOCX, PDF, Markdown, HTML, TXT.

chainlesschain/chainlesschain · 19 tokens