# Pdf To Editable Word

> Convert PDF to Word or PDF to DOCX while preserving the original page layout and keeping text editable, searchable, and selectable. Use for PDF-to-Word conversion, editable DOCX creation, fixed-layout documents, table-heavy PDFs, vertical text, resumable long-document conversion, or output validation. Works as a portable Agent Skill for Codex, Claude Code, and other agents that can run the CLI. D…

- **Type:** Skill
- **Install:** `agentstack add skill-longligooo-pdf-to-editable-word-skill-pdf-to-editable-word`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [longligooo](https://agentstack.voostack.com/s/longligooo)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [longligooo](https://github.com/longligooo)
- **Source:** https://github.com/longligooo/pdf-to-editable-word-skill/tree/main/skills/pdf-to-editable-word
- **Website:** https://github.com/longligooo/pdf-to-editable-word-skill

## Install

```sh
agentstack add skill-longligooo-pdf-to-editable-word-skill-pdf-to-editable-word
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# PDF to Editable Word Skill

Create a visually faithful DOCX by combining cleaned page backgrounds with editable, absolutely positioned text boxes. Run the deterministic CLI for every conversion; do not recreate the OOXML manually.

## Workflow

1. Resolve this skill directory and use `scripts/pdf2word.py` as the command wrapper.
2. Inspect the source before converting:

```bash
python scripts/pdf2word.py inspect INPUT.pdf --json
```

3. Stop and report the limitation when `conversion_ready` is false. Read [compatibility.md](references/compatibility.md) for the relevant failure mode.
4. Convert into a dedicated work directory:

```bash
python scripts/pdf2word.py convert INPUT.pdf OUTPUT.docx --work-dir WORK_DIR --dpi 144
```

5. If conversion is interrupted, rerun the same command with `--resume`. Never reuse a work directory for a different PDF or page range.
6. Validate the output against the source:

```bash
python scripts/pdf2word.py validate OUTPUT.docx --pdf INPUT.pdf --json
```

7. Treat validation failure as conversion failure. Do not deliver the DOCX merely because the file exists.
8. For high-stakes output, open the result in Microsoft Word and inspect the first, middle, and last pages plus pages with unusual layouts.

## Delivery

Report the output path, page count, editable text-box count, background-image count, validation result, and any compatibility warnings. State clearly that text is editable while non-text graphics remain in the page background.

Do not claim that tables, diagrams, or images are semantically editable. Do not claim support for OCR, mixed page sizes, or LibreOffice fidelity in v0.1.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [longligooo](https://github.com/longligooo)
- **Source:** [longligooo/pdf-to-editable-word-skill](https://github.com/longligooo/pdf-to-editable-word-skill)
- **License:** MIT
- **Homepage:** https://github.com/longligooo/pdf-to-editable-word-skill

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-longligooo-pdf-to-editable-word-skill-pdf-to-editable-word
- Seller: https://agentstack.voostack.com/s/longligooo
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
