Use this skill whenever the user wants to do anything with PDF files.
Skill by SeifBenayed
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/seifbenayed-pdf
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pdf
Tools it pre-approves 1
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Pdf,Read,Write,Glob,Grep
What's inside
- Skill name
pdf- Description
- Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
- License
- MIT
- Allowed tools
- Pdf,Read,Write,Glob,Grep
- Instructions
- 353 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# PDF Processing Guide
## Tool-First Workflow
Use the `Pdf` tool for ALL standard operations. Do NOT use Python/pypdf unless you need features the tool doesn't have.
### Available Pdf tool actions
| Task | Tool call |
|------|-----------|
| Inspect PDF metadata | `Pdf { action: "inspect", file_path: "doc.pdf" }` |
| Extract all text | `Pdf { action: "extract_text", file_path: "doc.pdf" }` |
| Extract text per page | `Pdf { action: "extract_pages_text", file_path: "doc.pdf" }` |
| Split pages | `Pdf { action: "split", file_path: "doc.pdf", pages: "1-3", output_path: "out.pdf" }` |
| Merge PDFs | `Pdf { action: "merge", file_paths: ["a.pdf", "b.pdf"], output_path: "merged.pdf" }` |
| Get form fields | `Pdf { action: "get_form_fields", file_path: "form.pdf" }` |
| Fill fillable form | `Pdf { action: "fill_form", file_path: "form.pdf", field_values: {"name": "John"}, output_path: "filled.pdf" }` |
| **Create blank PDF** | `Pdf { action: "create", output_path: "blank.pdf", pages: 2 }` |
| Add text to non-fillable PDF | `Pdf { action: "add_text", file_path: "doc.pdf", texts: [{"page": 1, "x": 100, "y": 500, "text": "Hello", "size": 12}], output_path: "out.pdf" }` |
### When to fall back to Python/Bash
- Converting PDF to images (requires pypdfium2)
- Extracting form structure from non-fillable PDFs (requires pdfplumber)
- OCR on scanned PDFs
- Advanced encryption/decryption (requires qpdf CLI)
For these cases, see REFERENCE.md and FORMS.md.
## Form Filling Workflow
### Fillable PDFs (have form fields)
```
Pdf { action: "get_form_fields", file_path: "form.pdf" }
# → returns field names and types
Pdf { action: "fill_form", file_path: "form.pdf", field_values: {"LastName": "Smith", "FirstName": "John"}, output_path: "filled.pdf" }
```
### Non-fillable PDFs (no form fields — use text annotations)
```
Pdf { action: "extract_text", file_path: "form.pdf" }
# → read the text to understand the layout
Pdf { action: "add_text", file_path: "form.pdf", texts: [
{"page": 1, "x": 200, "y": 700, "text": "John Smith", "size": 10},
{"page": 1, "x": 200, "y": 650, "text": "123 Main St", "size": 10}
], output_path: "filled.pdf" }
```
Coordinates are in PDF points (72 points per inch, y=0 is bottom of page).
## Quick Start (LEGACY — prefer Pdf tool above)
```python
from pypdf import PdfReader, PdfWriter
# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")
# Extract text
text = ""
for page in reader.pages:
text += page.extract_text()
```
## Python Libraries
### pypdf - Basic Operations
#### Merge PDFs
```python
from pypdf import PdfWriter, PdfReader
writer = PdfWriter()
for pdf_file in ["doc1.pdf", "doc2.pdf", "doc3.pdf"]:
reader = PdfReader(pdf_file)
for page in reader.pages:
writer.add_page(page)
with open("merged.pdf", "wb") as output:
writer.write(output)
```
#### Split PDF
```python
reader = PdfReader("input.pdf")
for i, page in enumerate(reader.pages):
writer = PdfWriter()
writer.add_page(page)
with open(f"page_{i+1}.pdf", "wb") as output:
writer.write(output)
```
#### Extract Metadata
```python
reader = PdfReader("document.pdf")
meta = reader.metadata
print(f"Title: {meta.title}")
print(f"Author: {meta.author}")
print(f"Subject: {meta.subject}")
print(f"Creator: {meta.creator}")
```
#### Rotate Pages
```python
reader = PdfReader("input.pdf")
writer = PdfWriter()
page = reader.pages[0]
page.rotate(90) # Rotate 90 degrees clockwise
writer.add_page(page)
with open("rotated.pdf", "wb") as output:
writer.write(output)
```
### pdfplumber - Text and Table Extraction
#### Extract Text with Layout
```pythonFrom SeifBenayed/cloclo, MIT.
More from SeifBenayed/cloclo
- 0.600score
browse
SeifBenayed
Visual feedback browser automation with multi-session, multi-tab, iframe support, and enterprise primitives.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
chatgpt-search
SeifBenayed
Search ChatGPT and extract the full response + hydration JSON that powers the UI.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
commit
SeifBenayed
Create a git commit with a good message.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
debug
SeifBenayed
Troubleshoot and debug issues.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
product-self-knowledge
SeifBenayed
Stop and consult this skill whenever your response would include specific facts about Anthropic's products.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
simplify
SeifBenayed
Review code for unnecessary complexity and simplify it.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
review-pr
SeifBenayed
Review a pull request for bugs, security issues, and improvements.
SkillDFreshness: D★ 116Claude Code +9 - 0.517score
pdf-reading
SeifBenayed
Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it…
SkillDFreshness: D★ 116Claude Code +9 - 0.513score
file-reading
SeifBenayed
Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files…
SkillDFreshness: D★ 116Claude Code +9 - 0.497score
frontend-design
SeifBenayed
Create distinctive, production-grade frontend interfaces with high design quality.
SkillDFreshness: D★ 116Claude Code +9 - 0.493score
skill-creator
SeifBenayed
Create new skills, modify and improve existing skills, and measure skill performance.
SkillDFreshness: D★ 116Claude Code +9 - 0.484score
docx
SeifBenayed
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).
SkillDFreshness: D★ 116Claude Code +9
Signals
- Stars
- 116
- Forks
- 32
- Open issues
- 1
- Last commit (this folder)
- Mar 29, 2026 (7 months ago)
- Last release
- Apr 4, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/SeifBenayed/cloclo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SeifBenayed
- 0.600score
browse
SeifBenayed
Visual feedback browser automation with multi-session, multi-tab, iframe support, and enterprise primitives.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
chatgpt-search
SeifBenayed
Search ChatGPT and extract the full response + hydration JSON that powers the UI.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
commit
SeifBenayed
Create a git commit with a good message.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
debug
SeifBenayed
Troubleshoot and debug issues.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
product-self-knowledge
SeifBenayed
Stop and consult this skill whenever your response would include specific facts about Anthropic's products.
SkillDFreshness: D★ 116Claude Code +9 - 0.600score
simplify
SeifBenayed
Review code for unnecessary complexity and simplify it.
SkillDFreshness: D★ 116Claude Code +9
Cite this page
pdf skill. Agent Mart. https://agentmart.dev/skills/seifbenayed-pdf (last updated 2026-10-24)