Borrowing it
Nothing to install: this file belongs to SeifBenayed/cloclo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SeifBenayed/cloclo/main/.claude/skills/pdf/SKILL.mdgit clone --depth 1 https://github.com/SeifBenayed/clocloWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/seifbenayed/cloclo/pdf)<a href="https://agentmods.dev/skills/seifbenayed/cloclo/pdf"><img src="https://agentmods.dev/badge/skills/seifbenayed/cloclo/pdf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/seifbenayed/cloclo/pdf"><img src="https://agentmods.dev/badge/skills/seifbenayed/cloclo/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.02700 |
| Opus 5.5 | $0.00037 | $0.01080 |
| Sonnet 5.5 | $0.00018 | $0.00540 |
| Haiku 4.5 | $0.00009 | $0.00270 |
Grade A, and why
pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
83% identical to pdf — 51 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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" }
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 358 lines · 92 tokens per session scan A d87b5734a258
pdf is a skill published in the GitHub repository SeifBenayed/cloclo (116 stars, last pushed 6mo ago), licensed MIT. It adds 92 tokens to every session and 2,700 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 83% identical to pdf, differing in 51 lines, and is treated as a copy.
Other skills, from other repositories
apify-youtube-transcript-scraper
Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
meta-web-to-pdf-briefing
Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.
paper-reader
A reading assistant for computer-vision and deep-learning research papers. It can work with PDF files, arXiv papers, and papers stored in Zotero, a reference-management app.
chat-complex-documents
Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…