Agent skill

pdf

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Stars 1
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/oferhalevi/codex-skills-integration/tree/main/skills/pdf

SKILL.md

PDF Skill

This skill provides comprehensive PDF manipulation capabilities. Use it when you need to work with PDF documents programmatically.

Capabilities

  • Extract Content: Extract text, tables, and metadata from PDF documents
  • Create PDFs: Generate new PDF documents from scratch using Python libraries like reportlab or fpdf2
  • Merge/Split: Combine multiple PDFs or split a PDF into separate pages
  • Form Handling: Fill in PDF forms programmatically
  • Text Analysis: Analyze and process extracted text from PDFs
  • Document Processing: Handle large-scale PDF processing tasks

Tools and Libraries

Common Python libraries for PDF work:

  • reportlab: Create PDFs from scratch with precise control
  • fpdf2: Simple PDF generation
  • PyPDF2: Merge, split, and manipulate existing PDFs
  • pdfplumber: Extract text and tables from PDFs
  • python-pdf: General PDF utilities

When to Use This Skill

Use this skill when:

  • User asks to create a PDF document
  • User needs to extract information from a PDF
  • User wants to merge or split PDF files
  • User needs to fill PDF forms programmatically
  • User wants to analyze PDF content at scale

Best Practices

  1. Always validate that the PDF file exists before processing
  2. Handle errors gracefully when PDFs are corrupted or in unexpected formats
  3. For large PDFs, consider processing in chunks
  4. Use appropriate libraries based on the task (creation vs. manipulation vs. extraction)
  5. Preserve document structure and formatting when possible

Expand your agent's capabilities with these related and highly-rated skills.

oferhalevi/codex-skills-integration

web-artifacts-builder

Build interactive web applications and artifacts with HTML, CSS, and JavaScript. Use this skill when creating standalone web applications, interactive tools, dashboards, or web-based utilities that can run in a browser.

1 0
Explore
oferhalevi/codex-skills-integration

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

1 0
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

scaffold-exercises

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

111,310 9,758
Explore
mattpocock/skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

111,310 9,758
Explore
mattpocock/skills

edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results