← Back to Skills Marketplace
DOCX Editor
by
dnaxxx-hub
· GitHub ↗
· v1.0.0
· MIT-0
45
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install docx-editor
Description
Read and generate Word documents with correct structure, styles, and cross-platform compatibility.
README (SKILL.md)
Structure
- DOCX is a ZIP containing XML files—
word/document.xmlhas main content,word/styles.xmlhas styles - Text splits into runs (
\x3Cw:r>)—each run has uniform formatting; one word may span multiple runs - Paragraphs (
\x3Cw:p>) contain runs—never assume one paragraph = one text block - Sections control page layout—headers/footers, margins, orientation are per-section
Styles vs Direct Formatting
- Styles (Heading 1, Normal) are named and reusable—direct formatting is inline and overrides style
- Removing direct formatting reveals underlying style—useful for cleanup
- Character styles apply to runs, paragraph styles to paragraphs—they layer together
- Linked styles can be both—applying to paragraph or selected text behaves differently
Lists & Numbering
- Numbering is complex:
abstractNumdefines pattern,numreferences it, paragraphs referencenumId - Restart numbering not automatic—need explicit
\x3Cw:numPr>with restart flag - Bullets and numbers share the numbering system—both use
numId - Indentation controlled separately from numbering—list can exist without visual indent
Headers, Footers, Sections
- Each section can have different headers/footers—first page, odd, even pages
- Section breaks: next page, continuous, even/odd page—affects pagination
- Headers/footers stored in separate XML files—referenced by section properties
- Page numbers are fields, not static text—update on open or print
Track Changes & Comments
- Track changes stores original and revised in same document—accept/reject to finalize
- Deleted text still present with
\x3Cw:del>wrapper—don't assume visible = all content - Comments reference ranges via bookmark IDs—
\x3Cw:commentRangeStart>to\x3Cw:commentRangeEnd> - Revision IDs track who changed what—metadata persists even after accepting
Fields & Dynamic Content
- Fields have code and cached result—
{ DATE \@ "yyyy-MM-dd" }vs displayed date - TOC, page numbers, cross-references are fields—update fields to refresh
- Hyperlinks can be fields or direct
\x3Cw:hyperlink>—both valid - MERGEFIELD for mail merge—placeholder until merge executes
Compatibility
- Compatibility mode limits features to earlier Word version—check
w:compatsettings - LibreOffice/Google Docs: complex formatting may shift—test roundtrip
- Embedded fonts may not transfer—fallback fonts substitute
- DOCM contains macros (security risk); DOC is legacy binary format
Common Pitfalls
- Empty paragraphs for spacing—prefer space before/after in paragraph style
- Manual page breaks inside paragraphs—use section breaks for layout control
- Images in headers: relationship IDs are per-part—same image needs separate relationship in header
- Copy-paste brings source styles—can pollute style gallery with duplicates
Usage Guidance
This skill appears safe to install as a DOCX reference skill. When using it to create or edit Word documents, still review final files for ordinary DOCX concerns such as hidden tracked changes, comments, cached field values, and document metadata before sharing.
Capability Assessment
Purpose & Capability
The artifact consistently focuses on reading and generating Word DOCX documents, explaining structure, styles, lists, sections, fields, comments, and compatibility issues.
Instruction Scope
Instructions are scoped to document-format knowledge and include relevant cautions about deleted text, metadata, fields, and DOCM macros; there are no prompt overrides or unsafe agent directives.
Install Mechanism
The package contains only SKILL.md and a small _meta.json file, with no scripts, dependencies, binaries, or post-install behavior.
Credentials
The declared Linux, macOS, and Windows compatibility is proportionate for general DOCX editing guidance and does not request special local or network access.
Persistence & Privilege
The skill itself creates no persistence or privilege mechanism; its notes about persistent DOCX metadata are disclosed document-format guidance rather than hidden skill behavior.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install docx-editor - After installation, invoke the skill by name or use
/docx-editor - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Read and generate Word documents with correct structure, styles, and cross-platform compatibility
Metadata
Frequently Asked Questions
What is DOCX Editor?
Read and generate Word documents with correct structure, styles, and cross-platform compatibility. It is an AI Agent Skill for Claude Code / OpenClaw, with 45 downloads so far.
How do I install DOCX Editor?
Run "/install docx-editor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is DOCX Editor free?
Yes, DOCX Editor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does DOCX Editor support?
DOCX Editor is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).
Who created DOCX Editor?
It is built and maintained by dnaxxx-hub (@dnaxxx-hub); the current version is v1.0.0.
More Skills