officecli-docx

Create, edit, and manage .docx files with officecli commands.

137|21|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/nomifun/nomifun-tauri --skill officecli-docx-nomifun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli-docx
Source: https://github.com/nomifun/nomifun-tauri/tree/main/crates/backend/nomifun-app/assets/builtin-skills/officecli-docx
Command: npx skills add https://github.com/nomifun/nomifun-tauri --skill officecli-docx-nomifun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires officecli, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and management of .docx files, providing a comprehensive set of tools for document automation and manipulation.

Core Features & Use Cases

  • Document Creation: Build new Word documents from scratch or based on templates.
  • Document Editing: Modify existing documents with precision, including text, formatting, and structure.
  • Automation: Execute complex document operations programmatically.
  • Use Case: Automate the creation of detailed reports, manage document templates, and maintain consistent formatting across multiple documents.

Quick Start

Use the officecli-docx skill to create a new document and add a title with the following command: officecli add "$FILE" /body --type paragraph --prop text="Your Title Here" --prop style=Heading1

Frequently Asked Questions about officecli-docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate .docx document creation and formatting?

Automating .docx document creation involves programmatically generating files and applying formatting. This Skill uses the officecli tool to execute document operations, allowing precise control over text, styling, tables, and field insertion for accurate document management.

What's the best way to modify existing Word documents programmatically?

To modify existing Word documents programmatically, you can use officecli to edit document text and structure with precision. This approach ensures consistent formatting across multiple documents and allows complex operations to be executed automatically without manual intervention.

Can I use officecli to insert tables and fields into a Word document?

Yes, officecli supports inserting tables and fields into a Word document. The Skill handles a wide range of document operations including table manipulation and field insertion, providing control over document structure and content for accurate document automation.

Do I need the officecli tool to manage .docx files with this Skill?

Yes, you need the officecli tool installed as it is the required dependency for this Skill. It serves as the engine that automates the creation, editing, and management of .docx files, executing the underlying document operations.

How to add a heading to a .docx file using the command line?

To add a heading to a .docx file via the command line, use the officecli tool to append a paragraph and set its style. For example: `officecli add "$FILE" /body --type paragraph --prop text="Your Title" --prop style=Heading1`.

What are the limitations of using officecli for Word processing?

The limitations of using officecli for Word processing depend on the scope of supported document operations. While it handles formatting, styling, and table manipulation, highly complex or non-standard document structures may require manual verification to ensure accurate rendering.