📄
AutomationPython

Pdf To Docx

by CoderWanFeng

Pdf To Docx is an Automation skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars301 forkson CoderWanFeng/python-officeAdded 2026/08/12Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Pdf To Docx
Copy Pdf To Docx into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/pdf/pdf2docx ~/.claude/skills/pdf2docx

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/pdf/pdf2docx/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/pdf2docx
Collection
One of 50 skills cataloged from this repository
Category
Automation1523 skills

What Pdf To Docx does

Pdf To Docx converts PDF files into Word .docx documents. Use it for single-file or batch PDF-to-Word conversions.

Pdf To Docx is cataloged under Automation on DirSkills. Pdf To Docx comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

pdf2docx Skill

将 PDF 转换为 Word 文档

功能描述

将一个或多个 PDF 文件转换为 Word(.docx)格式。

所属分类

office/skills/pdf/pdf2docx/

调用方式

from skills.pdf import pdf2docx

# 单个文件
pdf2docx(input_file='./test.pdf', output_file='./test.docx')

# 批量转换(指定输入输出文件夹)
pdf2docx(input_path='./pdfs/', output_path='./docs/')

参数说明

参数 类型 必填 默认值 说明
input_file str 否* - PDF 文件路径
output_file str - 输出 Word 文件路径
input_path str 否* - 输入文件夹路径(批量转换时使用)
output_path str - 输出文件夹路径(批量转换时使用)
file_path str - [已弃用] 请使用 input_file

至少需要提供 input_file+output_fileinput_path+output_path 之一

返回值

None

使用示例

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Pdf To Docx

  • What else does CoderWanFeng publish alongside Pdf To Docx?

    Pdf To Docx is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Pdf To Docx does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Pdf To Docx compare to other Automation skills?

    Pdf To Docx ranks #655 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Pdf To Docx against them. Open each page to compare what they document and how they install.