Skip to content
Content
Skill

/local-pdf-editor

Edit PDF files locally without Canva API. Use this skill when user provides a PDF file and wants to modify content, extract text, merge/split pages, or update specific sections. Maintains original formatting, spacing, fonts, and layout. Does NOT require Canva. Output goes to the

From plugin
10x-content-expert
2230 skills3 agents4 commands

Claude Code

$ npx -y skills add OpenAnalystInc/10x-Content-Expert --skill local-pdf-editor --agent claude-code

SKILL.md

local-pdf-editor.SKILL.md
name: local-pdf-editor
description: |
  Edit PDF files locally without Canva API. Use this skill when user provides a PDF file
  and wants to modify content, extract text, merge/split pages, or update specific sections.
  Maintains original formatting, spacing, fonts, and layout. Does NOT require Canva.
  Output goes to the output/ folder. Use for: "edit this PDF", "change page 15", "update text in PDF".

Local PDF Editor Skill

> **QUICK REFERENCE** > - **Scripts**: `scripts/local/pdf_utils.py`, `scripts/local/safe_copy.py` > - **Sample script**: `scripts/samples/sample_pdf_edit.py` > - **Output**: `output/pdf/` > - **Working dir**: `output/working/` > - **Python**: `.venv\Scripts\python.exe` (Windows) or `.venv/bin/python` (Mac/Linux) > - **Step 1**: `.venv\Scripts\python.exe scripts/local/safe_copy.py --source "input/file.pdf"` > - **Step 2**: `.venv\Scripts\python.exe scripts/local/pdf_utils.py "output/working/file_copy.pdf"` > - **Step 3**: Edit the copy, save to `output/pdf/`

Edit and manipulate PDF files locally without requiring Canva API.

CRITICAL: Never Modify Original Files

1. **ALWAYS** copy the original to `output/working/` first 2. **ALL** edits happen on the copy 3. **SAVE** results to `output/pdf/` 4. **ORIGINAL** file remains untouched

When to Use This Skill

Use this skill when:

  • User provides a PDF file and wants modifications
  • Need to extract text from PDF
  • Need to merge or split PDF pages
  • Need to update specific content while maintaining layout
  • **User has NOT explicitly asked to use Canva**

Capabilities

Read Operations

  • Extract text from PDF (all pages or specific)
  • Extract images from PDF
  • Get PDF metadata (pages, size, fonts)
  • Analyze PDF structure

Write Operations

  • Modify text content (maintaining layout)
  • Add/remove pages
  • Merge multiple PDFs
  • Split PDF into separate files
  • Add watermarks or headers/footers

Conversion

  • PDF to DOCX (for easier editing)
  • PDF to images (PNG/JPG)
  • PDF to text
  • DOCX back to PDF

Running Python Scripts (Virtual Environment)

**IMPORTANT**: Always use the virtual environment Python:

# Windows
.venv\Scripts\python.exe scripts/local/script_name.py

# macOS/Linux
.venv/bin/python scripts/local/script_name.py

Workflow for Content Modification

Step 1: Create Safe Copy

.venv\Scripts\python.exe scripts/local/safe_copy.py --source "input/document.pdf"

Step 2: Analyze the PDF

.venv\Scripts\python.exe scripts/local/pdf_utils.py "output/working/document_copy.pdf"

Step 3: For Text Modifications

# Convert to DOCX for easier editing
.venv\Scripts\python.exe scripts/local/pdf_to_docx.py --file "output/working/document_copy.pdf"

# Make modifications to the DOCX

# Convert back to PDF
.venv\Scripts\python.exe scripts/local/docx_to_pdf.py --file "output/working/document_copy.docx" --output "output/pdf/document_modified.pdf"

3-Mode Workflow

MODE 1: PLAN

  • Analyze the PDF structure
  • Document current state (pages, content)
  • List proposed changes
  • Identify what will NOT change

MODE 2: CLARIFY

  • Confirm which content to modify
  • Ask about formatting preferences
  • Verify output requirements

MODE 3: IMPLEMENT

  • Create working copy
  • Make modifications
  • Save to output folder
  • Report results

Research Capabilities

This skill can:

  • Search the web for PDF manipulation techniques
  • Look up PDF format specifications
  • Research best practices for maintaining formatting
  • Find solutions to specific PDF challenges

Available Scripts

  • `pdf_utils.py` - Core PDF analysis and manipulation
  • `safe_copy.py` - Create working copies safely

Todo List Tracking (REQUIRED)

**ALWAYS use TodoWrite** to track progress:

[
  {"content": "Create safe working copy", "status": "in_progress", "activeForm": "Creating safe copy"},
  {"content": "Analyze PDF structure", "status": "pending", "activeForm": "Analyzing PDF"},
  {"content": "Apply modifications", "status": "pending", "activeForm": "Applying changes"},
  {"content": "Save to output/pdf/", "status": "pending", "activeForm": "Saving result"}
]

Output Location

All modified files saved to:

  • `output/pdf/` - Modified PDFs
  • `output/working/` - Intermediate files
Read more
@openanalystinc
Ships with10x-content-expert

A comprehensive Claude Code skills plugin for AI-powered content creation. Creates emails, social media content, presentations, blogs, and more - all aligned with your brand voice and informed by your reference materials.

2230 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
22
Star history of OpenAnalystInc/10x-Content-Expert on GitHub, a chart by star-history.com

Other skills on 10x-content-expert.

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

officecli12d33k
@iofficeai@iofficeaiInstall Skill

Questions about local-pdf-editor.

Which coding agents can use local-pdf-editor?
local-pdf-editor installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.