@firstpick/pi-extension-docx

Fail-closed DOCX inspection, rendering, transactional editing, diffing, validation, and commit tools for Pi agents.

Packages

Package details

extensionskill

Install @firstpick/pi-extension-docx from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@firstpick/pi-extension-docx
Package
@firstpick/pi-extension-docx
Version
0.1.4
Published
Aug 7, 2026
Downloads
612/mo · 56/wk
Author
firstpick
License
MIT
Types
extension, skill
Size
220 KB
Dependencies
4 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ],
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

DOCX for Pi

Lets Pi inspect and carefully edit Word documents while keeping validation and rollback in the workflow.

What you can do

  • Inspects Word documents without changing them.
  • Renders pages so layout can be checked visually.
  • Edits selected content through a guarded workflow.
  • Compares and validates the result before it is accepted.

Install

Install it through Pi:

pi install npm:@firstpick/pi-extension-docx

Restart Pi if the package does not appear in your current session.

How to use it

Give Pi the Word document and describe the outcome you want. Start with inspection or rendering, review the proposed edits, then ask Pi to validate the changed document.

Before you start

Document editing requires Node.js 24+, .NET 8, and a local document renderer such as ONLYOFFICE Desktop Editors or LibreOffice. See the technical reference for the one-time engine build.

Technical details

See TECHNICAL.md for complete commands, configuration, compatibility, security, and troubleshooting information.