Install
Install with PiG
pig install npm:@kom0reb1/word-generator-skillInstall with Pi
pi install npm:@kom0reb1/word-generator-skillPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.js"
]
}README
Written by the package's publisher, shown as published in version 1.0.1 (README.md). PiG does not review it.
@kom0reb1/word-generator-skill
Generate Microsoft Word .docx documents from Pi with a title, body text, and optional images.
Install
pi install npm:@kom0reb1/word-generator-skill
Restart Pi or run /reload after installation. Pi will make the generate_word_document tool available to the agent.
Usage
Ask Pi to create a Word document and provide the content you want included. The agent can call the document-generation tool with:
title(required, string) — document title.content(required, string) — document body. Line breaks become separate paragraphs.images(optional, array) — images appended to the document. Each image accepts:path— local image path, resolved relative to Pi's current working directory; orurl— HTTP(S) URL;alt(optional) — alternative text/caption.
Supported image formats: PNG, JPEG, and GIF. Images are inserted at 600 × 400 pixels. The generated .docx is saved in the system temporary directory, and Pi returns its absolute path so you can open or move the file.
Example request:
Create a Word document titled “Project Brief” with an overview, goals, and next steps. Add
./images/logo.pngat the end.
Requirements
- Pi coding agent with package installation support.
- Node.js 18 or newer.
License
MIT