Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

docx

Skill by MODSetter

Guides an AI assistant to create polished, editable Microsoft Word documents such as reports, letters, proposals, and handbooks. Suited to generating Word files with python-docx.

  • Score 85
  • 17k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install docx

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MODSetter/SurfSense /tmp/SurfSense && mkdir -p ~/.claude/skills && cp -r /tmp/SurfSense/surfsense_local/backend/worker/studio/office/docx ~/.claude/skills/docx

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install docx in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The docx skill guides an AI assistant to create editable Microsoft Word documents such as reports, letters, proposals, and handbooks. It tells the assistant to author the file with python-docx and save it to a BytesIO buffer.

The skill sets authoring rules for layout and structure. It covers page size and orientation, margins of at least 18 mm, built-in heading levels, visible table grids, Word list styles, right tab stops, and separate page break paragraphs. It also asks the assistant to open with a title, use clear headed sections, and skip a table of contents unless one is requested. The rules are written for generating the document as one whole document rather than one file per page.

Written from the project's SKILL.md and checked against it.

What it can do

  • Authoring rulesSets rules for page size, orientation, margins, and built-in heading levels.
  • Table formattingSets table and cell widths deliberately and uses a visible table grid.
  • List formattingUses Word numbering and list styles instead of literal bullet characters.
  • Page breaks and tabsPlaces page breaks in their own paragraphs and uses right tab stops for right-aligned text.
  • Document structureOpens with a title and organises facts into clear, headed sections.
  • In-memory outputSaves the finished Word file to a BytesIO buffer.

What you need

  • Python with the python-docx library

Try asking

  • Write a project proposal as an editable Word document with headed sections.
  • Create a handbook in Word with a title and proper numbered lists.
  • Make a letter in docx format with a right-aligned date on the same line.

Good to know

  • Does not add a table of contents unless one is requested.
  • Margins must be at least 18 mm.
  • Prefers portrait layout and narrows wide content instead of switching to landscape.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: surfsense_local/backend/worker/studio/office/docx/SKILL.md, surfsense_local/backend/worker/studio/office/docx/__init__.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md1 KB
  • __init__.py301 B

Alternatives to docx

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

docx: common questions

Does it add a table of contents automatically?

No. The source says not to add a table of contents unless it is asked for.

How does it save the Word file?

It authors the document with python-docx and saves it to a BytesIO buffer.

Should a long document be built one page at a time?

No. The source says to generate the document as one whole document, since Word controls pagination through reflow.

How do I install docx?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is docx free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is docx safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to docx?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.