Read DOCX

读取 Microsoft Word (.docx) 文档的内容,并将其转换为纯文本或 Markdown 格式返回。 当用户需要分析、搜索或总结 Word 文档时使用。

5 stars 2 forksDocuments & Office Files

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-docx
Manual install
git clone --depth 1 https://github.com/GAGAA-HUE/ASHUO-claude-skills.git /tmp/ASHUO-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/ASHUO-claude-skills/read-docx ~/.claude/skills/read-docx

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# read-docx Skill

## 触发条件

用户输入 `/read-docx <路径>` 时,本 skill 生效。

## 执行流程

1. **检查依赖**:使用 Bash 检查 `python` 或 `python3` 是否可用,以及 `python-docx` 库是否已安装。
   - 若未安装,自动运行:
     ```bash
     pip install python-docx
     ```

2. **验证文件**:确认路径存在且以 `.docx` 结尾。

3. **提取内容**:运行以下 Python 脚本:
   ```python
   from docx import Document
   doc = Document("<路径>")
   for para in doc.paragraphs:
       print(para.text)
   ```

4. **处理表格(如有)**:
   - 遍历文档中的所有表格,将表格内容以 Markdown 表格格式输出。

5. **返回内容**:
   - 若文档较长,先返回前 3000 字,并询问是否需要继续。
   - 若包含图片,告知用户文档中有图片但无法直接提取(可提供替代方案如转为 PDF 后提取)。

## 输出要求

- 始终使用中文回复用户。
- 保留文档的层级结构(标题、正文、列表等)。
- 对于表格,尽量用 Markdown 表格呈现。
- 若提取失败,给出具体错误原因和修复建议。
Read the full skill on GitHub

Details

Skill name
read-docx
Path
read-docx/SKILL.md
Repo updated
3 November 2026

FAQ

What does the Read DOCX skill do?

读取 Microsoft Word (.docx) 文档的内容,并将其转换为纯文本或 Markdown 格式返回。 当用户需要分析、搜索或总结 Word 文档时使用。

How do I install the Read DOCX skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-docx. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Read DOCX popular?

It lives in GAGAA-HUE/ASHUO-claude-skills, which has 5 GitHub stars and 2 forks.

Related skills

Domain Modeling

5

GAGAA-HUE/ASHUO-claude-skills

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

AI, LLMs & AgentsIn 2 lists

Git Guardrails Claude Code

5

GAGAA-HUE/ASHUO-claude-skills

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Git & Code ReviewIn 2 lists

Setup Pre Commit

5

GAGAA-HUE/ASHUO-claude-skills

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Testing & QAIn 2 lists

Read PPTX

5

GAGAA-HUE/ASHUO-claude-skills

读取 Microsoft PowerPoint (.pptx) 演示文稿的文本内容,并按幻灯片结构返回。 当用户需要总结、分析或提取 PPT 中的文字信息时使用。

Documents & Office Files

DOCX

5

npow/claude-skills

Use when creating, reading, editing, or producing Word documents (.docx) — including reports, memos, letters, templates with TOCs, headings, page numbers, or letterheads; extracting or reorganizing .docx content; find-and-replace; inserting/replacing images; accepting, rejecting, or authoring tracked changes and redlines; adding comments; validating docx structure; fixing 'invalid docx' or content-type / schema errors; converting .doc→.docx. Do NOT use for PDFs, spreadsheets, Google Docs, or coding tasks unrelated to Word documents.

Documents & Office Files

Read XLSX

5

GAGAA-HUE/ASHUO-claude-skills

读取 Microsoft Excel (.xlsx / .xls) 电子表格的内容,并以结构化方式(Markdown 表格/CSV/摘要)返回。 当用户需要查看表格数据、分析特定 Sheet 或提取单元格内容时使用。

Documents & Office Files

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.