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.

Research

Data Report Generator — CSV/Excel to Word/PDF with Charts

Automatically analyze CSV or Excel files and generate professional data analysis reports with charts, summaries, and insights — output as Word (.docx) or PDF...

Registry SourceRecently Updated
1142
Profile unavailable
Automation

ai-news-pipeline-new

Run a self-contained Chinese and international AI news workflow inside the current workspace. Use when the user wants to collect RSS news, filter domestic an...

Registry SourceRecently Updated
035
Profile unavailable
General

AI领域重点企业资讯抓取与简报生成

Collect, filter, classify AI industry news, generate Chinese titles and summaries, and export Excel and Word briefs based on company lists and sources.

Registry SourceRecently Updated
0157
Profile unavailable