docx

Create and edit Word documents with formatting from natural language prompts.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/daxiangnaoyang/lobster-bot --skill docx-daxiangnaoyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/daxiangnaoyang/lobster-bot/tree/main/skills/skills/docx
Command: npx skills add https://github.com/daxiangnaoyang/lobster-bot --skill docx-daxiangnaoyang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

Word documents (.docx) are central to professional communication, but crafting well-formatted files from scratch or updating existing ones can be time-consuming and error-prone.

Core Features & Use Cases

  • Create new .docx documents with professional formatting (headings, tables, images) from natural language prompts.
  • Read, extract, or modify content within existing Word files, including text, images, and tracked changes.
  • Convert content into polished Word documents suitable for reports, letters, templates, or proposals; supports find-and-replace, image insertion, and content reflow.

Quick Start

Create a 2-page Word document with a title and sections and insert a company logo.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document from natural language prompts?

To create a Word document from natural language prompts, this automation applies professional formatting like headings, tables, and images directly to your generated .docx files. It transforms text inputs into structured reports, letters, or resumes automatically.

Can I extract and modify content within existing Word files?

Yes, you can extract and modify content within existing Word files. The process reads text and images from .docx documents, supporting find-and-replace operations and tracked changes to update your files accurately.

Does docx generation work with lxml for document formatting?

Yes, docx generation works with lxml for document formatting. It relies on lxml and defusedxml dependencies to parse and structure XML data securely, ensuring robust formatting and image insertion in your Word files.

What is the best way to automate report generation into a .docx template?

The best way to automate report generation into a .docx template is using frontmatter-driven activation. This mechanism directs script and asset resources to produce polished proposals and reports from your natural language inputs.

Are there limitations when inserting images into Word documents via scripts?

Limitations when inserting images into Word documents via scripts relate to XML parsing constraints handled by lxml. While content reflow and image placement are supported, complex layout reflows may require precise script configuration.