Skip to main content
plugin

openai-doc — Claude Code plugin: read and edit .docx

openai-doc gives Claude a working procedure for .docx files: text and layout go through python-docx, then a bundled render script shows what the page actually looks like.

Apache-2.0 ★ 540 updated 2026-07-14

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-doc@skills-curated
Open on GitHub

What openai-doc does

This plugin hands Claude a step-by-step routine for .docx work where formatting has to survive. The skill file covers when it should take over, the order of operations, where scratch files and finished output belong, which packages to add when they are absent, the render commands, and the last check before the file goes back to you.

Edits run through python-docx. A bundled scripts/render_docx.py then produces a view of the page, which is the only way the agent gets to see spacing and page breaks rather than guess at them. Layout bugs that survive code review usually show up on the rendered page first.

Missing dependencies are installed as part of the flow, and the environment notes sit in the same skill file. It started as a skill in OpenAI's curated catalog and was repackaged for the Trail of Bits marketplace under Apache-2.0.

What it helps with

  • pull text and formatting out of a .docx written by someone else
  • build a document from a template without shifting the margins
  • repair styles and page breaks in an existing file
  • render a draft and catch broken layout before it ships

Example prompts for the agent

  • Open report.docx and rewrite the budget table with the new numbers
  • Build offer.docx from our template and make sure no heading jumps to the next page
  • Render contract.docx with scripts/render_docx.py and show me where the layout breaks

How to install openai-doc

Plugin marketplace

/plugin marketplace add trailofbits/skills-curated
/plugin install openai-doc@skills-curated

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about openai-doc

How do I install Anthropic-doc in Claude Code?

Add the marketplace first: /plugin marketplace add trailofbits/skills-curated. Then install the plugin itself: /plugin install openai-doc@skills-curated.

What does openai-doc do?

It walks the agent through reading, creating and editing .docx files with python-docx, and through checking the result with a render step.

What does the plugin need to work?

python-docx and the bundled scripts/render_docx.py. Anything missing from the environment gets installed before the document work starts.

Source text

openai-doc · Apache-2.0
# Doc

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

## Installation

```
/plugin install trailofbits/skills-curated/plugins/openai-doc
```


## What It Covers

- When to use
- Workflow
- Temp and output conventions
- Dependencies (install if missing)
- Environment
- Rendering commands
- Quality expectations
- Final checks

## Credits

Originally from [OpenAI's curated skills catalog](https://github.com/openai/skills/tree/main/skills/.curated/doc).
Converted to Claude Code plugin format for the Trail of Bits
curated skills marketplace.

© OpenAI · Apache-2.0 · trailofbits/skills-curated

Similar plugins

All plugins for Office documents →

From the same set51

The whole set →
openai-netlify-deploy The openai-netlify-deploy plugin for Claude Code deploys web projects to Netlify through Netlify CLI, including preview and production deployments. It can also connect a repository to Netlify. ★ 540repo stars openai-jupyter-notebook openai-jupyter-notebook handles .ipynb work for experiments, exploration and tutorials: it settles the notebook's structure and starts you from a template rather than a blank file. ★ 540repo stars openai-gh-fix-ci openai-gh-fix-ci inspects failing GitHub Actions checks on pull requests via the gh CLI, extracts error context, and drafts a fix plan. ★ 540repo stars openai-gh-address-comments openai-gh-address-comments is a Claude Code plugin that reviews comments on the current branch’s open GitHub PR. It helps sort through review notes and issue comments before addressing selected items. ★ 540repo stars openai-develop-web-game openai-develop-web-game sets up an iterative web game dev loop in Claude Code: make small HTML/JS edits, run Playwright test scripts, and inspect screenshots and console logs. ★ 540repo stars openai-cloudflare-deploy openai-cloudflare-deploy is a Claude Code plugin for preparing and deploying apps or infrastructure on Cloudflare, including Workers and Pages. ★ 540repo stars wooyun-legacy wooyun-legacy — a Claude plugin that loads a web vulnerability testing methodology built from 88,636 WooYun cases (2010-2016). Shows up during pentests and security code review. ★ 540repo stars ffuf-web-fuzzing ffuf-web-fuzzing — a Claude Code plugin that automates directory, subdomain, and parameter discovery during authorized penetration testing. Handles authenticated fuzzing, auto-calibration, and anomaly detection in ffuf output. ★ 540repo stars

Project sponsors

Companies that keep this analytics open