pdfcraft

pdfcraft is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 92 tokens per session (3,892 once invoked), scanned A, original, MIT.

A headless tool for editing existing PDF documents, the fixed-layout files commonly used for sharing and printing. It can change pages, extract text, render pages as images, and handle forms, OCR, and redactions.

In plain words
What is it for?
Use it to merge or split PDFs, extract selected pages, rotate or delete pages, read text, render pages, and check redactions.
Why use it?
It removes the need for manual PDF editing when pages must be rearranged or inspected in an automated workflow. It is for changing existing PDFs, not laying out a new document.

Skill for Claude CodeCodex

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

Good fit Use it to merge or split PDFs, extract selected pages, rotate or delete pages, read text, render pages, and check redactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/pdfcraft
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 BlackBeltTechnology/pi-agent-dashboard --skill pdfcraft
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

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 pdfcraft

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft/github.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft/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 pdfcraft

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pdfcraft.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 3,892 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.00092 $0.03892
Opus 5.5 $0.00037 $0.01557
Sonnet 5.5 $0.00018 $0.00778
Haiku 4.5 $0.00009 $0.00389

Measured yesterday against content hash 1fddac9429f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdfcraft 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 yesterday.

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.

packages/craft-apps/.pi/skills/pdfcraft/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PdfCraft — headless PDF editing

PdfCraft is ArtCraft's PDF app. pi-craft provisions the headless pdfcraft-cli on first use (no desktop app). Choosing between apps, the discover → execute → save → verify loop, hand-off formats and the MCP policy live in craft-studio. Note: pi-craft verify --pages/--text-contains itself uses pdfcraft-cli, so any PDF you make is checked by the same engine that wrote it.

What it is for / formats

PDF in, PDF / png (.png .jpg .tif .pam) / text out. Page-level operations (combine, split, extract, rotate, delete, move, blank pages), metadata, text extraction, page rendering, forms, bookmarks, stamps, redaction, OCR/optimise batches. There is no project file: a PDF is the document. For laying out a new multi-page document use DesignCraft or WordCraft (then convert … pdf); PdfCraft edits PDFs that already exist.

CLI dialect

pi-craft pdfcraft exec <args…> passes the arguments to pdfcraft-cli. PdfCraft has no commands / describe / --cmd: it has direct subcommands plus a JSON tool registry.

pdfcraft-cli tools                                    # JSON list of the 163 automation tools + input schemas
pdfcraft-cli info <f.pdf>                             # JSON summary (pages, page_labels, bookmarks, encrypted, …)
pdfcraft-cli text <f.pdf> [--page N]                  # extracted text, pages separated by form feeds
pdfcraft-cli render <f.pdf> --page N [--dpi 96] --out x.png
pdfcraft-cli edit <in.pdf> --out <out.pdf> [--rotate 1,3:90] [--delete 2,4] [--move 5:1] [--insert-blank 1] [--title T] [--author A]
pdfcraft-cli combine a.pdf b.pdf … --out c.pdf
pdfcraft-cli extract <in.pdf> --pages 1,3,5 --out o.pdf
pdfcraft-cli split <in.pdf> (--every N | --before 3,7) [--out-dir DIR]
pdfcraft-cli audit <f.pdf>                            # faux-redaction finder (JSON; fails when found)
pdfcraft-cli check <files|dirs…> [--json out.json]    # does each PDF open and render
pdfcraft-cli run <tool> [key=value …] [--root DIR] [--out image.png]   # one tool
pdfcraft-cli run --script steps.json [--root DIR]     # several tools in one process

Read the full file on GitHub · 207 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. yesterday First seen · 207 lines · 92 tokens per session scan A 1fddac9429f5

Subscribe to this mod's changes

pdfcraft is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (319 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 3,892 once invoked, about $0.0004 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-10-15.

Related

Other skills, from other repositories