Agent skill

DOCX Processing Openai

by lawve-ai in lawve-ai/awesome-legal-skills

Toolkit for comprehensive document reading, editing, and creation with visual quality control.

Apache-2.0Auto-check: notesDocuments & Office

Install DOCX Processing Openai

skills CLI
$ npx skills add lawve-ai/awesome-legal-skills --skill docx-processing-openai -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lawve-ai/awesome-legal-skills docx-processing-openai --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/word-editor-openai .claude/skills/docx-processing-openai && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docx-processing-openai
GitHub stars
836
Token cost
~810 tokens
SKILL.md length
305 words
Files
4 (incl. scripts)
Skills in repo
154
Repo updated
First seen
Licence
Apache-2.0

At a glance

Toolkit for comprehensive document reading, editing, and creation with visual quality control.

  • Works in 5 steps: Prefer visual review (layout, tables,… → Use python-docx for edits and structured… → After each meaningful change, re-render… → …
  • Work with Word documents (.docx files) for:
  • SKILL.md covers When to use, Workflow, Temp and output conventions and Dependencies (install if…, plus 4 more sections
  • Runs Python scripts from its folder; calls python3, uv and brew

What it does

DOCX Processing Openai is an agent skill from lawve-ai/awesome-legal-skills. Toolkit for comprehensive document reading, editing, and creation with visual quality control. Use to work with Word documents (.docx files) for: (1) Reading or extracting content from existing DOCX files, (2) Creating new Word documents with professional formatting, (3) Editing documents requiring precise typography and layout, or any other DOCX reading or generation tasks.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `README.md` and `scripts/render_docx.py`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word and OpenAI. The repository describes itself as: A curated list of awesome Agent Skills for automating legal work. The licence is Apache-2.0.

When your agent uses it

  • Work with Word documents (.docx files) for:
  • Extracting content from existing DOCX files
  • Creating new Word documents with professional formatting
  • Editing documents requiring precise typography and layout

Example prompts

  • “/docx-processing-openai”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Prefer visual review (layout, tables, diagrams).
  2. Use python-docx for edits and structured creation (headings, styles, tables, lists).
  3. After each meaningful change, re-render and inspect the pages.
  4. If visual review is not possible, extract text with python-docx as a fallback and call out layout risk.
  5. Keep intermediate outputs organized and clean up after final approval.

What it can do on your machine

Read from SKILL.md and the folder at commit 045f738. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • uv
    • brew
    • apt-get
    • soffice
    • pdftoppm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DOCX Processing Openai loads about 810 tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 305 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~810

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:49
    sudo apt-get install -y libreoffice poppler-utils

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lawve-ai/awesome-legal-skills at commit 045f738, republished under its Apache-2.0 licence (© lawve-ai). 305 words, ~810 tokens.

Download SKILL.mdSave it as .claude/skills/docx-processing-openai/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
docx-processing-openai
description
Toolkit for comprehensive document reading, editing, and creation with visual quality control. Use to work with Word documents (.docx files) for: (1) Reading or extracting content from existing DOCX files, (2) Creating new Word documents with professional formatting, (3) Editing documents requiring precise typography and layout, or any other DOCX reading or generation tasks.
metadata.author
OpenAI
metadata.license
Apache-2.0
metadata.version
2026.01.30

DOCX Skill

When to use

  • Read or review DOCX content where layout matters (tables, diagrams, pagination).
  • Create or edit DOCX files with professional formatting.
  • Validate visual layout before delivery.

Workflow

  1. Prefer visual review (layout, tables, diagrams).
    • If soffice and pdftoppm are available, convert DOCX -> PDF -> PNGs.
    • Or use scripts/render_docx.py (requires pdf2image and Poppler).
    • If these tools are missing, install them or ask the user to review rendered pages locally.
  2. Use python-docx for edits and structured creation (headings, styles, tables, lists).
  3. After each meaningful change, re-render and inspect the pages.
  4. If visual review is not possible, extract text with python-docx as a fallback and call out layout risk.
  5. Keep intermediate outputs organized and clean up after final approval.

Temp and output conventions

  • Use tmp/docs/ for intermediate files; delete when done.
  • Write final artifacts under output/doc/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install python-docx pdf2image

If uv is unavailable:

python3 -m pip install python-docx pdf2image

System tools (for rendering):

# macOS (Homebrew)
brew install libreoffice poppler

# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering commands

DOCX -> PDF:

soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX

PDF -> PNGs:

pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME

Bundled helper:

python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages

Quality expectations

  • Deliver a client-ready document: consistent typography, spacing, margins, and clear hierarchy.
  • Avoid formatting defects: clipped/overlapping text, broken tables, unreadable characters, or default-template styling.
  • Charts, tables, and visuals must be legible in rendered pages with correct alignment.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Final checks

  • Re-render and inspect every page at 100% zoom before final delivery.
  • Fix any spacing, alignment, or pagination issues and repeat the render loop.
  • Confirm there are no leftovers (temp files, duplicate renders) unless the user asks to keep them.

© lawve-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/word-editor-openai of lawve-ai/awesome-legal-skills.

  • SKILL.md
  • LICENSE.txt
  • README.md
  • scripts/render_docx.py

Open the folder on GitHubat commit 045f738

Compare with similar skills

DOCX Processing Openai next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DOCX Processing Openai compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DOCX Processing Openai this skilllawve-ai/awesome-legal-skills836—~810Automated safety check: NotesApache-2.0
DOCXMemTensor/memmy-agent2.1k—~1.9kAutomated safety check: PassMIT
Docnexu-io/open-design100k—~266Automated safety check: PassApache-2.0
Md2docxYorick-Ryu/deep-share144—~1.9kAutomated safety check: PassCustom licence
Openai Doctrailofbits/skills-curated5125 repos~786Automated safety check: NotesCC-BY-SA-4.0
Structured Extractionericrisco/rsc-harness167—~3.6kAutomated safety check: PassMIT

Similar skills

  • DOCX

    MemTensor/memmy-agent

    Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

    2.1k GitHub stars~1.9k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Doc

    nexu-io/open-design

    Read, create, and edit .docx documents with formatting and layout fidelity via OpenAI's document skill.

    100k GitHub stars~266 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Md2docx

    Yorick-Ryu/deep-share

    Convert Markdown to Word (DOCX) documents. An agent skill from Yorick-Ryu/deep-share.

    144 GitHub stars~1.9k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Openai Doc

    trailofbits/skills-curated

    Official

    A skill your agent uses when the task involves reading, creating, or editing .docx documents, especially when formatting or layout fidelity matters; prefer python-docx plus the bundled…

    512 GitHub starsUsed in 5 repos~786 tokens
    Documents & OfficeAuto-check: notes
  • Structured Extraction

    ericrisco/rsc-harness

    A skill your agent uses when text must become a typed, schema-conformant object you can trust — pulling fields into a fixed JSON shape, extracting line items as typed records, classifying into…

    167 GitHub stars~3.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Academic Integrity Rewrite

    lin1111-1/academic-integrity-rewrite

    Revise Chinese or English academic writing for lower unnecessary textual overlap while preserving meaning, evidence, numbers, equations, terminology, and citations.

    102 GitHub stars~1.1k tokensUpdated 27 days ago
    Research & ScienceAuto-check passed

More from lawve-ai/awesome-legal-skills

All 154 skills in this repo
  • Customs Trade Law Onur Kafkas

    lawve-ai/awesome-legal-skills

    U.S. An agent skill from lawve-ai/awesome-legal-skills.

    836 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed
  • Eu Data Act Oliver Schmidt Prietz

    lawve-ai/awesome-legal-skills

    Practitioner skill for advising on EU Regulation 2023/2854 (Data Act).

    836 GitHub stars~3.9k tokensUpdated 5 days ago
    Auto-check passed
  • Litigation Deadline Calendar

    lawve-ai/awesome-legal-skills

    Calendar litigation and arbitration deadlines from a scheduling order.

    836 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Outlook Emails Lawvable

    lawve-ai/awesome-legal-skills

    Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.

    836 GitHub stars~672 tokensUpdated 5 days ago
    Auto-check passed
  • Ambiguity Report

    lawve-ai/awesome-legal-skills

    Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.

    836 GitHub stars~4.6k tokensUpdated 5 days ago
    Auto-check passed
  • Az Eu Website Privacy Audit

    lawve-ai/awesome-legal-skills

    Audits a website for compliance with Azerbaijan's Law on Personal Data No.

    836 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed

Questions about DOCX Processing Openai

What does DOCX Processing Openai do?

Toolkit for comprehensive document reading, editing, and creation with visual quality control. DOCX Processing Openai is an agent skill from lawve-ai/awesome-legal-skills. Toolkit for comprehensive document reading, editing, and creation with visual quality control.

When should I use DOCX Processing Openai?

DOCX Processing Openai fits situations like: work with Word documents (.docx files) for:; extracting content from existing DOCX files; creating new Word documents with professional formatting; editing documents requiring precise typography and layout.

How do I install DOCX Processing Openai in Claude Code?

Run `npx skills add lawve-ai/awesome-legal-skills --skill docx-processing-openai -a claude-code`. Or copy the skill folder (skills/word-editor-openai in lawve-ai/awesome-legal-skills) into .claude/skills/docx-processing-openai in your project. Claude Code loads it when a task matches its description.

How do I install DOCX Processing Openai in Codex?

Run `npx skills add lawve-ai/awesome-legal-skills --skill docx-processing-openai -a codex`. Or copy the skill folder (skills/word-editor-openai in lawve-ai/awesome-legal-skills) into .agents/skills/docx-processing-openai in your project. Codex loads it when a task matches its description.

Can I use DOCX Processing Openai in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lawve-ai/awesome-legal-skills --skill docx-processing-openai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docx-processing-openai, .gemini/skills/docx-processing-openai, .github/skills/docx-processing-openai and .opencode/skills/docx-processing-openai in your project.

What does DOCX Processing Openai need to run?

Going by SKILL.md and its folder, DOCX Processing Openai needs Python for the scripts in its folder and the command-line tools its instructions call (python3, uv, brew, apt-get, soffice and pdftoppm). Our summary lists: Python 3.

Does DOCX Processing Openai access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is DOCX Processing Openai safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does DOCX Processing Openai use?

DOCX Processing Openai is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does DOCX Processing Openai use?

About 810 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to DOCX Processing Openai?

Skills that share tags, products or a category with DOCX Processing Openai: DOCX (MemTensor/memmy-agent, 2.1k stars), Doc (nexu-io/open-design, 100k stars), Md2docx (Yorick-Ryu/deep-share, 144 stars) and Openai Doc (trailofbits/skills-curated, 512 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DOCX Processing Openai?

lawve-ai (a GitHub organization) maintains it in lawve-ai/awesome-legal-skills, which has 836 GitHub stars. The repository holds 154 skills in this directory. The repository was last updated on October 2, 2026.

Source: lawve-ai/awesome-legal-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.