cloclo: Skill for Claude Code

.claude/skills/pdf/SKILL.md

pdf is a skill for Claude Code from SeifBenayed/cloclo. It costs 92 tokens per session (2,700 once invoked), scanned A, a copy of pdf, MIT.

A set of operations for working with PDF files, such as extracting text, merging documents, splitting pages, and filling forms.

In plain words
What is it for?
Use it to inspect, read, create, combine, split, rotate, watermark, encrypt, decrypt, extract images from, or fill PDF files.
Why use it?
It provides a consistent way to handle common PDF tasks without writing custom code for each one.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is SeifBenayed/cloclo's own configuration. It tells Claude Code how to work on cloclo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cloclo configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/SeifBenayed/cloclo/main/.claude/skills/pdf/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SeifBenayed/cloclo

Made for: Claude Code.

Wrote 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.

agentmods badge for pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/seifbenayed/cloclo/pdf/github.svg)](https://agentmods.dev/skills/seifbenayed/cloclo/pdf)
Your own site
<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.

agentmods 80×15 button for pdf

Your own site · 80×15
<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>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 83% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash d87b5734a258, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

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.

.claude/skills/pdf/SKILL.md · 358 lines

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" }

Read the full file on GitHub · 358 lines

Changes

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.

  1. 2mo ago First seen · 358 lines · 92 tokens per session scan A d87b5734a258

Subscribe to this mod's changes

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.

Related

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.

sickn33/agentic-awesome-skills · 48 tokens

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.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

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.

opensquilla/opensquilla · 45 tokens

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.

huangkiki/dailypaper-skills · 135 tokens

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…

vellum-ai/vellum-assistant · 90 tokens