Skip to content
Back to skills

Pdf

ASecurity

Process PDF files — extract text, merge or split documents, rotate pages, and create new PDFs with Python (pypdf, reportlab). Use this skill whenever the user mentions a .pdf file, invoices, combining documents, extracting text from a PDF, or asking to produce a PDF.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
ai-agentspythonbash

Works with

  • cursor

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add vigneshm1995personal/skillgate --skill pdf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vigneshm1995personal-pdf/badge)](https://www.skillsdirectory.com/skills/vigneshm1995personal-pdf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf
description: Process PDF files — extract text, merge or split documents, rotate pages, and create new PDFs with Python (pypdf, reportlab). Use this skill whenever the user mentions a .pdf file, invoices, combining documents, extracting text from a PDF, or asking to produce a PDF.
license: Apache-2.0
metadata:
  author: skillgate-ai
  version: "0.1"
---

# PDF skill

Clean-room Apache-2.0 adaptation of the public Agent Skills *shape* (a `SKILL.md` folder) for PDF work. Instructions below are original; they are not a copy of proprietary document-skill text.

## When to use

Use this skill for: extract text, merge PDFs, create a PDF, rotate pages. If the user names a `.pdf` file, start here.

## How to work

Prefer bundled scripts over ad-hoc code. Run them from the workspace root. Create `output/` if the user asks for a path there.

### Extract text

```bash
python3 .skillgate/skills/pdf/scripts/extract_text.py INPUT.pdf output/extracted.txt
```

### Merge

```bash
python3 .skillgate/skills/pdf/scripts/merge_pdfs.py output/merged.pdf INPUT1.pdf INPUT2.pdf
```

### Create

```bash
python3 .skillgate/skills/pdf/scripts/create_pdf.py output/status.pdf --title "Title" --body "Sentence."
```

### Rotate

```bash
python3 .skillgate/skills/pdf/scripts/rotate_pdf.py INPUT.pdf output/rotated.pdf --degrees 90
```

If a task names a different output path, pass that path instead.

There is also `scripts/agent_entry.py`: it reads `SKILLGATE_TASK` and routes to the scripts above. Live Cursor Agent should follow this file the same way.

Files in this skill

  • SKILL.md1.5 KB
  • evals/.skillgate-example4 B
  • evals/cases.yaml2.9 KB
  • evals/fixtures/alpha.pdf1.5 KB
  • evals/fixtures/beta.pdf1.5 KB
  • evals/fixtures/hello.pdf1.5 KB
  • evals/fixtures/invoice.pdf1.5 KB
  • evals/fixtures/notes.pdf1.5 KB
  • evals/goldens/create-status.pdf1.5 KB
  • evals/goldens/extract-hello.txt17 B
  • evals/goldens/extract-invoice.txt33 B
  • evals/goldens/merge-alpha-beta.pdf1.5 KB
  • evals/goldens/rotate-hello.pdf1.5 KB
  • evals/goldens/trigger-combine-decks.pdf1.5 KB
  • evals/goldens/trigger-notes-pdf.txt41 B
  • evals/history/README.md219 B
  • requirements.txt16 B
  • scripts/agent_entry.py2.8 KB
  • scripts/create_pdf.py864 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.