doc-handler
БесплатноЗапускает вложенные скриптыНе проверен读取和编辑 Word、PDF、Excel 文档。使用 python-docx、pdfplumber、openpyxl
от bighardperson★ 71 звезда на GitHubОб этом скилле
doc-handler - 文档处理工具
功能
| 功能 | 命令 |
|---|---|
| 读取 Word | python3 -m doc_handler read docx 文件 |
| 读取 PDF | python3 -m doc_handler read pdf 文件 |
| 读取 Excel | python3 -m doc_handler read xlsx 文件 |
| 写入 Word | python3 -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
Установить doc-handler в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doc-handler?
读取和编辑 Word、PDF、Excel 文档。使用 python-docx、pdfplumber、openpyxl
Как установить скилл doc-handler?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-handler запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic