officecli-docx

Automate .docx document creation, editing, analysis, and QA with OfficeCLI.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/vuhuudo/GeminiCLI-skill --skill officecli-docx-vuhuudo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli-docx
Source: https://github.com/vuhuudo/GeminiCLI-skill/tree/main/officecli-docx
Command: npx skills add https://github.com/vuhuudo/GeminiCLI-skill --skill officecli-docx-vuhuudo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The officecli-docx skill helps you create, manage, and analyze .docx files by automating various document-related tasks and providing tools for detailed inspection.

Core Features & Use Cases

  • Document Creation and Editing: Build documents from scratch or modify existing ones.
  • Reading and Analyzing Content: Extract text, analyze document structure, and validate content.
  • Formatting and Design: Apply professional formatting, typography, and layout.
  • QA and Validation: Identify and fix issues to ensure high-quality documents.
  • Use Case: Imagine you need to create a detailed report. Use this skill to define the structure, add sections, tables, and charts, and ensure everything is correctly formatted and validated.

Quick Start

Open a .docx file using the officecli-docx skill and use the following commands: officecli add /body --type paragraph --prop text="Your text here", officecli set /body/p[1] --prop style=Heading1, officecli validate doc.docx to ensure the document is correctly formatted.

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?

You can automate .docx document creation by using OfficeCLI commands to define document structure, add paragraphs, set styles like Heading1, and apply professional typography. This allows you to build complete documents from scratch or modify existing ones programmatically.

Can I extract text and analyze document structure from a .docx file?

Yes, you can extract text and analyze document structure from .docx files. The skill provides tools for detailed inspection, allowing you to read content, analyze the layout, and validate the internal structure of your documents.

What is the best way to validate and fix formatting issues in a .docx file?

The best way to validate formatting in a .docx file is using the `validate` command. This QA process identifies structural and formatting issues, ensuring your document meets professional standards and high-quality output requirements.

Do I need OfficeCLI installed to edit .docx files?

Yes, you need OfficeCLI installed and configured properly. It acts as the underlying engine that executes the document editing, text extraction, and formatting commands required to manage .docx files.

How do I add tables and charts to a report in a .docx file?

To add tables and charts to a report in a .docx file, use OfficeCLI commands to append elements to the document body. You can define the structure, insert content, and apply styles to generate detailed reports.