zhewenzhang/clawdbot-docs/document-parser
Claude Code and agent skill by zhewenzhang/clawdbot-docs
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install zhewenzhang/clawdbot-docs/document-parserSKILL.md
The same SKILL.md was published earlier as zhewenzhang/clawdbot-docs/document-parser.
文档解析技能
读取并解析 Word (docx)、PDF 等文档
技能说明
本技能用于解析用户发送的文档文件,自动提取文字内容并保存。
使用场景
- 用户发送 docx 文件时自动解析
- 用户发送 PDF 文件时自动提取内容
- 批量处理多个文档
依赖安装
核心能力
1. 读取 docx 文档
2. 读取 PDF 文档
3. 自动识别文件类型
自动化处理流程
当收到 docx 文件时
- 接收文件路径
`` /Users/dave/.openclaw/media/inbound/{uuid}.docx ``
- 解析内容
```
- 解压 docx (zip 格式)
- 读取 word/document.xml
- 清理 XML 标签
- 提取纯文字
```
- 保存到公司档案
`` /Users/dave/clawd/companies/{公司名}.md ``
- 更新长期记忆
```
- 添加到 MEMORY.md
- 更新 INDEX.md
```
文件命名规范
| 文件类型 | 命名模板 | |
|---|---|---|
| 公司档案 | /Users/dave/clawd/companies/{公司名}.md | |
| 产品介绍 | /Users/dave/clawd/companies/{公司名}_产品介绍.md | |
| 会议记录 | /Users/dave/clawd/companies/{公司名}_会议_{日期}.md |
注意事项
- docx 是压缩文件 - 本质是 zip 格式,包含 XML 文件
- 编码问题 - 优先使用 UTF-8
- 图片提取 - 需要额外处理 image 标签
- 表格处理 - 需要解析 table 相关 XML
当前实现状态
| 能力 | 状态 | 说明 | |
|---|---|---|---|
| 读取 docx | ✅ 已实现 | Python zipfile 解析 | |
| 读取 PDF | ⚠️ 需安装 | 需要 pdfplumber 库 | |
| 自动保存 | ✅ 已实现 | 保存到 companies/ 目录 | |
| 更新记忆 | ✅ 已实现 | 更新 MEMORY.md |
示例:解析礼鼎半导体介绍
创建时间: 2026-02-02 版本: V1.0 维护者: Clawdbot
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/document_parser/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zhewenzhang/clawdbot-docs/document-parser)