从DOCX文件中提取文本内容
Scanned 9/11/2026
Install to Claude Code
npx -y skills add cas-bigdatalab/piflow --skill docx_text_extract --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Docx Text Extract?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cas-bigdatalab-docx-text-extract)More formats (shields.io, HTML) on the badges page.
---
name: docx_text_extract
description: 从DOCX文件中提取文本内容
version: 1.0.0
category: document_processing
name_zh: 从DOCX文件中提取文本内容算子
input_params:
- name: input_path
type: docx_file
description: 输入DOCX文件路径
- name: output_path
type: docx_file
description: 输出DOCX文件路径
output_params:
- name: output_path
type: text_file
description: 提取的文本文件(.txt)
tag: 数据解析
publisher: COMMUNITY
---
# docx_text_extract 技能
## 功能说明
该技能从DOCX文件中提取纯文本内容,保存为txt文件,适用于需要提取文档文本进行分析或处理的场景。
## 核心功能
- 提取DOCX中的文本内容
- 保持段落结构
- 支持UTF-8编码
- 自动创建输出目录
## 使用方法
```bash
python scripts/run_docx_text_extract.py --input_path <输入DOCX> --output_path <输出TXT>
```
## 参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
| :--- | :--- | :--- | :--- | :--- |
| input_path | string | 是 | - | 输入DOCX文件路径 |
| output_path | string | 是 | - | 输出TXT文件路径 |
## 示例
```bash
python scripts/run_docx_text_extract.py --input_path document.docx --output_path text.txt
```
## 注意事项
- 输出目录不存在时会自动创建
- 提取的文本会保持段落分隔
- 不支持提取图片中的文字(如需请使用OCR工具)
- 如果DOCX文件损坏或不是标准格式,可能提取失败Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.