@kom0reb1/word-generator-skill1.0.1
A Pi extension that generates Word documents from agent-provided content.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@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