officecli-docx

Create, edit, and analyze .docx files using the OfficeCLI engine.

1|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/BaranziniLab/BiorOffice --skill officecli-docx-baranzinilab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli-docx
Source: https://github.com/BaranziniLab/BiorOffice/tree/main/officecli/skills/officecli-docx
Command: npx skills add https://github.com/BaranziniLab/BiorOffice --skill officecli-docx-baranzinilab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of .docx files, offering a comprehensive suite of tools for managing documents without the need for Microsoft Office.

Core Features & Use Cases

  • Document Creation and Editing: Build and modify Word documents with a variety of formatting options and structural elements.
  • Text Extraction and Analysis: Extract text and analyze document content for quality assurance and information retrieval.
  • Template Management: Utilize templates for consistent document formatting and branding.
  • Use Case: Automate the creation of complex reports, memos, and proposals with custom branding and formatting standards.

Quick Start

Set up your document and run the following command to add a new section with a heading and content:

officecli add "$FILE" /body --type section --prop title="New Section"
officecli add "$FILE" /body/section[1] --type paragraph --prop text="This is the content of the new section."

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 file creation and editing without Microsoft Office?

This Skill automates .docx file creation and editing using the OfficeCLI engine, allowing you to script document operations, apply formatting, and build structural elements without Microsoft Office. It supports text manipulation and template management for Word documents.

Can I extract and analyze text from Word documents in a scriptable manner?

Yes, you can extract and analyze text from Word documents in a scriptable manner using this Skill. It provides text extraction and content analysis capabilities for information retrieval and quality assurance, enabling automated processing of .docx files.

Do I need Microsoft Office installed to manipulate .docx files with OfficeCLI?

No, you do not need Microsoft Office installed to manipulate .docx files with OfficeCLI. The Skill operates independently using the OfficeCLI engine to manage document formatting, styling, and content manipulation directly through scripts.

What is the best way to manage document formatting and templates for Word files?

The best way to manage document formatting and templates for Word files is by using scriptable commands to apply consistent branding. This Skill supports template management and custom formatting standards to automate complex reports, memos, and proposals.

How do I add a new section and paragraph to a .docx file using a script?

To add a new section and paragraph to a .docx file using a script, run the officecli add command with the file path and target body location, specifying the section type and paragraph properties like title and text content for precise document manipulation.