doc-handler

读取和编辑 Word、PDF、Excel 文档。使用 python-docx、pdfplumber、openpyxl

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "doc-handler" with this command: npx skills add xaiohuangningde/doc-handler

doc-handler - 文档处理工具

功能

功能命令
读取 Wordpython3 -m doc_handler read docx 文件
读取 PDFpython3 -m doc_handler read pdf 文件
读取 Excelpython3 -m doc_handler read xlsx 文件
写入 Wordpython3 -m doc_handler write docx 文件 "内容"

使用示例

# 读取 Word 文档
python3 -c "from docx import Document; d = Document('file.docx'); print('\\n'.join([p.text for p in d.paragraphs]))"

# 读取 PDF
python3 -c "import pdfplumber; with pdfplumber.open('file.pdf') as pdf: print(pdf.pages[0].extract_text())"

# 读取 Excel
python3 -c "import pandas; df = pandas.read_excel('file.xlsx'); print(df)"

依赖

  • python-docx
  • pdfplumber
  • openpyxl
  • pandas

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

MiniMax Office Pack

MiniMax Office办公技能包 - Word/Excel/PDF/PPT四大专业文档生成。基于.NET OpenXML SDK、底层XML直操作、Playwright+ReportLab双引擎。一键生成可直接交付的专业办公文档。

Registry SourceRecently Updated
1530Profile unavailable
Coding

Word Converter

Universal Word document converter powered by MinerU API. Convert .docx and .doc files to Markdown, HTML, LaTeX, DOCX, or JSON using mineru-open-api CLI. Supp...

Registry SourceRecently Updated
1200Profile unavailable
Coding

Word Parser

Parse and extract structured content from Word documents (.docx, .doc) using the MinerU API. This skill uses mineru-open-api CLI to parse Word files into str...

Registry SourceRecently Updated
1260Profile unavailable
Coding

Word to MD

Convert Word documents (.docx, .doc) to clean Markdown using the MinerU API. This skill uses mineru-open-api CLI to transform Word files into well-formatted...

Registry SourceRecently Updated
1190Profile unavailable