Skip to content
Back to skills

Arc Docx

ASecurity

Create, edit, and inspect Word DOCX reports, letters, and proposals while preserving existing document structure and checking the delivered file.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentspythonexpress

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add yaohuangguan/remote-arc --skill arc-docx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arc Docx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Arc Docx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yaohuangguan-arc-docx/badge)](https://www.skillsdirectory.com/skills/yaohuangguan-arc-docx)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: arc-docx
description: Create, edit, and inspect Word DOCX reports, letters, and proposals while preserving existing document structure and checking the delivered file.
---

# Word documents

Use the user's existing document and template when supplied. Inspect the actual headings, tables, headers, and sections before editing. Prefer a focused edit over reconstructing a document that contains fields, comments, revisions, or custom styles. `python-docx` does not provide a reliable tracked-changes editor: inspect the OOXML and choose a suitable editor when those features matter.

## Create or edit

Use an authorized connected computer with Python and `python-docx`. Check the import before installing; if required, create a task-local virtual environment and install `python-docx` there. Use `read_skill_resource` or `prepare_skill` to obtain [scripts/inspect_docx.py](scripts/inspect_docx.py). These instructions and the helper do not constitute an installed runtime.

For a new document, use `docx.Document()`, real heading styles, paragraphs, and tables. Set page size and margins explicitly. Use repeating table headers for multipage tables and keep headings with the following paragraph. Choose installed fonts with coverage for the user's language; do not assume Latin-only fonts render Chinese. Preserve source attribution and distinguish supplied facts from estimates. Save a new `.docx` under the requested output directory unless overwriting is expressly intended.

For an edit, load `Document(existing_path)` and address the actual paragraph or cell. Assigning an entire paragraph's `.text` removes run formatting and hyperlinks: edit runs when those should survive. Preserve section breaks, numbering, headers, footers, and existing styles. Do not claim unimplemented redlining.

## Verify delivery

Run `python scripts/inspect_docx.py OUTPUT.docx`. Check the reported headings, tables, section dimensions, and expected text against the request. The helper is read-only and does not paginate or certify visual layout. If an available local Word/LibreOffice renderer can export PDF, render the result and inspect every page for clipped tables, orphan headings, blank pages, and font substitution. Do not silently use a remote conversion service for private files. When rendering is unavailable, report structural verification and the missing visual check accurately.

Return the exact saved path and the checks performed. A Markdown response or a successful library import is not a delivered Word file.

Reference: https://python-docx.readthedocs.io/en/latest/

Files in this skill

  • LICENSE.txt2.8 KB
  • SKILL.md2.5 KB
  • scripts/inspect_docx.py1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.