Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add birkin/agent_skills_pdev_day_code --skill "pdf-processing"
Install specific skill from multi-skill repository
# Description
Extracts text from PDF files using PyPDF2.
# SKILL.md
name: pdf-processing
description: Extracts text from PDF files using PyPDF2.
PDF Processing Skill
When to use this skill
Use this skill when a user needs to extract text from a PDF file.
How to Use this Skill
This skill provides the extract_text() function from the parse_pdf.py script. Import it into your agent script:
python
from skills.pdf_parsing.parse_pdf import extract_text
result = extract_text(
file_path="/path/to/document.pdf",
pages="all" # or "1-3" or "1,2,3"
)
Parameters
file_path(str): Path to the PDF filepages(str): Pages to extract - "all", "1-3" (range), or "1,2,3" (specific pages)
Returns
JSON object with:
- success (bool): Whether extraction succeeded
- file_path (str): Path to the processed file
- total_pages (int): Total pages in PDF
- extracted_pages (int): Number of pages extracted
- pages (list): Array of {page: number, text: string} objects
Alternatively, you can call the script directly from the command line:
command
uv run ./skills/pdf-parsing/parse_pdf.py extract_text --file_path /path/to/file.pdf --pages all
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.