AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Pdf2word

skill-phanghonghao-thu-awesome-skills-pdf2word · by phanghonghao

Convert PDF files to Word (.docx) while preserving layout, tables, images, and formatting. Use when user mentions "pdf2word", "PDF转Word", "PDF to Word", "PDF转docx", or needs to convert a PDF to an editable Word document.

No reviews yet
0 installs
50 views
0.0% view→install

Install

$ agentstack add skill-phanghonghao-thu-awesome-skills-pdf2word

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-phanghonghao-thu-awesome-skills-pdf2word)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Pdf2word? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Install pdf2docx if not present
  2. Run pdf2word.py with the PDF path
  3. Output .docx is saved alongside the original PDF (or at specified path)
  4. Use assignment-word skill's info command 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/--end to convert page ranges

Rules

  1. Always use PYTHONIOENCODING=utf-8 on Windows
  2. Always use python -m pip install for dependencies
  3. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.