pdf

pdf is a skill for Claude Code, Codex from EldanRing/qubicl. It costs 45 tokens per session (887 once invoked), scanned A, original, Apache-2.0.

A skill for working with PDF files using Qubicl's local document tools. PDF is a fixed-layout document format commonly used for forms, reports, and printable files.

In plain words
What is it for?
Use it to create, inspect, edit, merge, split, fill, watermark, secure, render, or validate PDF files.
Why use it?
It provides procedures and commands for handling common PDF tasks while keeping inspection and output steps consistent. It also supports checking layout by rendering pages as images.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, inspect, edit, merge, split, fill, watermark, secure, render, or validate PDF files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eldanring/qubicl/pdf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EldanRing/qubicl --skill pdf
Clone the repo
git clone --depth 1 https://github.com/EldanRing/qubicl

Made for: Claude Code, Codex.

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/eldanring/qubicl/pdf/github.svg)](https://agentmods.dev/skills/eldanring/qubicl/pdf)
Your own site
<a href="https://agentmods.dev/skills/eldanring/qubicl/pdf"><img src="https://agentmods.dev/badge/skills/eldanring/qubicl/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/eldanring/qubicl/pdf"><img src="https://agentmods.dev/badge/skills/eldanring/qubicl/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 887 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 original No closer match found 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.00045 $0.00887
Opus 5.5 $0.00018 $0.00355
Sonnet 5.5 $0.00009 $0.00177
Haiku 4.5 $0.00005 $0.00089

Measured 1mo ago against content hash 154ada7adfe3, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 15 executable files (scripts/_raster.py, scripts/pdf_assembly.py, scripts/pdf_create.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/core/pdf/SKILL.md · 61 lines

What it actually says

PDF workflows

Use Qubicl file tools to inspect inputs and save outputs under /home/qubicl. Use exec_command for the deterministic helpers bundled with this skill. Obtain this package's resourceRoot from skill_view; do not assume a client-specific skill directory.

The curated browser, computer, and workstation images provide the declared Python libraries plus Poppler. Run helpers through /opt/qubicl/skills-venv/bin/python. If a dependency is absent, report that the current preset does not support the operation; do not install packages automatically.

Common helpers beneath <resourceRoot>/scripts/:

  • pdf_read.py FILE --text|--tables|--meta|--fields
  • pdf_create.py SPEC.json -o OUTPUT.pdf
  • pdf_merge.py INPUT... -o OUTPUT.pdf
  • pdf_split.py FILE --pages 1-3,5 -o OUTPUT.pdf
  • pdf_page_image.py FILE --out-dir DIR
  • pdf_make_form.py SPEC.json -o OUTPUT.pdf
  • pdf_fill_form.py FILE --fields-json VALUES.json -o OUTPUT.pdf
  • pdf_stamp.py, pdf_watermark.py, pdf_meta.py, and pdf_secure.py

Read references/forms.md only for AcroForm work.

pdf_meta.py --extract-attachments DIR extracts every payload, including several attachments with the same stored name. Safe basenames receive deterministic __2, __3 collision suffixes; existing files or symlinks cause failure without overwriting them. The receipt maps each sourceName and zero-based payloadIndex to its destination, byte count and SHA-256. Use a new directory for another copy.

Metadata/attachment edits clone the full document, retaining other DocInfo fields, forms, outlines, existing attachments and the original encryption/password/permission policy (--password is required for encrypted input). They stage, reopen and verify preservation before atomically replacing the destination. Signed/certified PDFs and content or encryption that cannot be preserved fail before replacement; these helpers do not re-sign documents. --clear-meta removes only DocInfo; XMP is retained and may disagree with changed DocInfo. Check the preservation receipt.

Merge and split retain interactive AcroForm field trees, selected-page widgets, values and appearance resources. Later inputs with colliding field names receive a deterministic source_N. namespace; the JSON receipt lists each rename. Use pdf_merge.py --duplicate-fields error to require unchanged unique names. Repeated extracted pages receive independent field copies under that same policy. Outputs are staged and reopened to verify field/widget preservation before an existing destination is replaced. Inspect or fill using the resulting full names.

For inspection, extract text first and render representative pages when layout matters. Use take_screenshot only for the live desktop; use generated page images for document QA. Verify important outputs by reopening them with a read helper and, when visual fidelity matters, by rendering pages. Never overwrite the only input copy unless the user explicitly requests in-place editing.

Use the common rendering receipt for PDF, DOCX, XLSX and PPTX: /opt/qubicl/skills-venv/bin/python /opt/qubicl/artifact-render.py FILE --outdir DIR. Each invocation captures its source, uses an isolated Office profile, and writes a unique run directory with PDF, exact numbered PNGs and manifest.json. Read sourceSha256, pages, warnings and validation, then inspect the generated pages. Old previews are never returned as this run's outputs. visuallyInspected: false is intentional: the tool renders; the agent performs visual review. Office rendering needs workstation.

pdf_fill_form.py --flatten merges all supported text/choice/button appearances, including untouched fields, and removes form widgets. Unsupported widgets fail before replacing the destination. Reopen the PDF to verify fields are absent and inspect rendered text and checkbox/radio appearances; read-only fields are not flattening.

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. 1mo ago Changed · +22 lines 154ada7adfe3
  2. 1mo ago Changed · +13 lines b4608c14ba07
  3. 3mo ago First seen · 26 lines · 45 tokens per session scan A 320e0cb13f88

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository EldanRing/qubicl (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 887 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pdf compared with skills from other repositories

pdf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdfEldanRing/qubiclSkill131mo agoApache-2.0A45Claude Code, Codex
nano-pdfperasyudha/NyxoraSkill523d agoMITA21Claude Code, Codex
ocr-and-documentsperasyudha/NyxoraSkill523d agoMITA21Claude Code, Codex
pdf-generationaipoch/open-scienceSkill5.0ktodayApache-2.0A98Claude Code, Codex
pandocAtomicBot-ai/atomic-agentSkill3.6ktodayMITA26Claude Code, Codex
pdfAtomicBot-ai/atomic-agentSkill3.6ktodayMITB27Claude Code, Codex
pkf-writingPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA78Claude Code, Codex