docx
Skill by KunAgent
Inspects, edits, validates and previews existing Word documents while keeping their structure and unrelated content intact. It is written for users who need changes made to a DOCX file they already have.
Install docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/KunAgent/Kun /tmp/Kun && mkdir -p ~/.claude/skills && cp -r /tmp/Kun/resources/bundled-skills/docx ~/.claude/skills/docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/KunAgent/Kun /tmp/Kun && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Kun/resources/bundled-skills/docx ~/.gemini/antigravity-cli/skills/docxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The docx skill inspects, edits, validates and previews existing Word (.docx) files while preserving headings, lists, tables, relationships and unrelated formatting. It uses office_inspect to read structure, text and issues and to capture the source SHA-256. Requested changes are translated into a small structured batch and applied with office_edit using expectedSha256, which the source describes as atomic and hash-protected. The edited file is then checked with office_preview before delivery.
The skill is intended for users who need to change an existing Word document within the Kun environment. It can send the resulting file through IM with send_im_attachment when explicitly requested. It does not generate new DOCX files from scratch, and it does not rename plain text to .docx or install document libraries implicitly.
Written from the project's SKILL.md and checked against it.
What it can do
- office_inspectInspects DOCX structure, text and issues, and returns the source hash.
- office_editApplies atomic, hash-protected edits to an existing DOCX.
- office_previewPreviews the edited document before delivery.
- send_im_attachmentSends the resulting file through IM when explicitly requested.
What you need
- Kun environment with office_inspect, office_edit and office_preview tools
- An existing DOCX file
Try asking
- Update the heading text in this Word file and keep the table layout.
- Inspect this DOCX and list its headings, tables and any issues.
- Preview my edited Word document and send it to me over IM.
Good to know
- No native create-from-scratch DOCX generator in this Kun environment.
- Does not rename plain text files to .docx.
- Does not install document libraries implicitly.
- Sends files through IM only when explicitly requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/bundled-skills/docx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt1 KB -
SKILL.md1 KB -
skill.json492 B
Alternatives to docx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
docx: common questions
Can this skill create a new Word document from scratch?
No. The source says this Kun environment does not include a native create-from-scratch DOCX generator, so it works on existing DOCX files.
How does it avoid editing the wrong version of a file?
The source describes office_edit as applying atomic, hash-protected edits using expectedSha256, which is the SHA-256 captured during inspection.
Will it install document libraries on my machine?
The source says it should not install document libraries implicitly.
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 NOASSERTION licence. The service it connects to may have its own pricing.
Is docx safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, 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: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
