chunpu/agent-skills69 installs
doc-to-txt
Convert DOC, DOCX, and PDF files to TXT format. Invoke when user wants to extract text from these document types.
How do I install this agent skill?
npx skills add https://github.com/chunpu/agent-skills --skill doc-to-txtIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill converts documents (DOC, DOCX, PDF) to text. It processes untrusted file content which could contain hidden instructions (indirect prompt injection) if the resulting text is later consumed by an AI agent.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Doc to TXT 文档转换
将 DOC、DOCX、PDF 文件转换为 TXT 纯文本格式。
使用方法
uv run {baseDir}/scripts/convert.py <输入文件路径> [--output <输出文件路径>]
参数说明
| 参数 | 说明 |
|---|---|
<输入文件路径> | 要转换的文档文件(支持 .doc, .docx, .pdf) |
--output | 可选,输出 txt 文件路径(默认同目录同名 .txt) |
示例
转换 PDF 到 TXT:
uv run skills/doc-to-txt/scripts/convert.py document.pdf
指定输出文件:
uv run skills/doc-to-txt/scripts/convert.py report.docx --output output.txt
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/chunpu/agent-skills/doc-to-txt">View doc-to-txt on skillZs</a>