Install
$ agentstack add skill-phanghonghao-thu-awesome-skills-pdf2word ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
PDF to Word Converter (pdf2docx)
Convert PDF files to Word (.docx) using the pdf2docx library (based on PyMuPDF + python-docx). Preserves paragraphs, tables, images, and font styles.
When to Use
- User mentions: "pdf2word", "PDF转Word", "PDF to Word", "PDF转docx"
- Need to convert a PDF into an editable Word document
- Need to fill in a PDF form but need Word format first
Dependencies
python -m pip install pdf2docx 2>&1 | tail -3
Usage
python "C:/Users/20174/.claude/skills/pdf2word/pdf2word.py" [output.docx] [--start PAGE] [--end PAGE] [--pages 0,1,2]
Arguments
| Argument | Required | Description | |----------|----------|-------------| | input.pdf | Yes | Input PDF file path | | output.docx | No | Output Word file path (default: same name as PDF with .docx extension) | | --start | No | Start page (0-indexed, default: 0) | | --end | No | End page (exclusive, default: all pages) | | --pages | No | Specific pages to convert (comma-separated, 0-indexed) |
Examples
# Convert entire PDF
python "C:/Users/20174/.claude/skills/pdf2word/pdf2word.py" "report.pdf"
# Convert with custom output name
python "C:/Users/20174/.claude/skills/pdf2word/pdf2word.py" "report.pdf" "output.docx"
# Convert pages 1-3 (0-indexed: 0,1,2)
python "C:/Users/20174/.claude/skills/pdf2word/pdf2word.py" "report.pdf" --start 0 --end 3
# Convert specific pages
python "C:/Users/20174/.claude/skills/pdf2word/pdf2word.py" "report.pdf" --pages 0,2,4
Workflow
- Install
pdf2docxif not present - Run
pdf2word.pywith the PDF path - Output
.docxis saved alongside the original PDF (or at specified path) - Use
assignment-wordskill'sinfocommand to inspect the resulting docx structure
Limitations
- Complex layouts (multi-column, floating elements) may not convert perfectly
- Scanned/image-based PDFs will not have editable text
- Very large PDFs may be slow — use
--start/--endto convert page ranges
Rules
- Always use
PYTHONIOENCODING=utf-8on Windows - Always use
python -m pip installfor dependencies - Report any conversion warnings to the user
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: phanghonghao
- Source: phanghonghao/THU-Awesome-Skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.