firstp1ck/pi-coding-agent-forge/docx-editor
Claude Code and agent skill by firstp1ck/pi-coding-agent-forge
- community
Checking that the SKILL.md file is still in the repository.
Safely inspect, search, render, edit, diff, validate, and commit Microsoft Word DOCX files with the dedicated docx_* tools. Use for DOCX/DOTX/DOCM/DOTM document work; enforces dry-run-first edits, active-content refusal, preservation checks, and save-as by default.
Install
npx vskill@latest install firstp1ck/pi-coding-agent-forge/docx-editorSKILL.md
DOCX editor
Required workflow
- Call
docx_inspectbefore editing an unfamiliar document. KeepsourceSha256, feature/security inventory, and capability report. - Call
docx_readfor only the relevant stories/blocks. Use returned paragraph IDs, paths, hashes, bookmarks, controls, or strict text anchors. - Call
docx_renderwhen pagination, layout, tables, images, headers/footers, or formatting matter. Keep page selections small. - Call
docx_editwithdryRun: true; use exact preconditions and expected counts. Resolve ambiguity rather than broadening an edit. - Call
docx_editwithdryRun: falseandexpectedSourceSha256to create a staged revision. This tool must not receive a destination. - Call
docx_validateanddocx_diffagainst source and staged paths. Render focused before/after pages for visually sensitive operations. - Call
docx_committo a new.docxpath by default. - Overwrite the source only when the user explicitly asked, hashes still agree, every gate passes, and interactive confirmation is available. Require a recovery path in the result.
Safety rules
- Never use built-in text
editorwriteon DOCX/DOCM/DOTX/DOTM. - Never execute macros, OLE, fields, links, DDE, or attached templates. Never claim they were executed or refreshed.
- Treat
.docm/.dotm, active content, and signatures as read/render only. Do not bypassSIGNED_DOCUMENTorACTIVE_CONTENT_BLOCKED. - Do not mutate raw XML, XPath, arbitrary ZIP parts, or page-number selectors.
- Do not silently convert formats. Legacy/template conversion must create a new
.docxand report losses. - Stop on
LOSSY_OPERATION, protected-part changes, unavailable mandatory engines, validation failures, source/destination conflicts, or ambiguous selectors. - Keep hidden/deleted metadata out of model-visible output unless the user explicitly asks to inspect it.
Verification
A successful tool return is not enough. Confirm source and staged/output hashes, declared changed parts, protected-part stability, Open XML validation, independent reopen, semantic diff, and required render checks. Report renderer/font warnings and any host gate that was not run.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpi-extension-docx/skills/docx-editor/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/firstp1ck/pi-coding-agent-forge/docx-editor)