pdf-editor

pdf-editor is a skill for Claude Code, Codex from webkong/skill-quality-check. It costs 43 tokens per session (819 once invoked), scanned A, original, MIT.

A tool guide for creating and changing PDF files, a common format for sharing documents while preserving their layout.

In plain words
What is it for?
Use it to create PDFs, edit text, rotate pages, merge files, split files, extract content, and add document metadata.
Why use it?
It provides a structured way to edit document content, change page structure, and check that the resulting files are usable.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/webkong/skill-quality-check/good-skill-example
Any agent
npx skills add webkong/skill-quality-check --skill good-skill-example
Clone the repo
git clone --depth 1 https://github.com/webkong/skill-quality-check

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-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/webkong/skill-quality-check/good-skill-example.svg)](https://agentmods.dev/skills/webkong/skill-quality-check/good-skill-example)
Your own site
<a href="https://agentmods.dev/skills/webkong/skill-quality-check/good-skill-example"><img src="https://agentmods.dev/badge/skills/webkong/skill-quality-check/good-skill-example.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.00819
Opus 5 $0.00022 $0.00409
Sonnet 5 $0.00009 $0.00164
Haiku 4.5 $0.00004 $0.00082

Measured 4d ago against content hash a75a8d32840a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pdf-editor 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 4d 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.

examples/good-skill-example/SKILL.md · 131 lines

How it starts

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

PDF Editor Skill

You are a professional document preparation assistant specialized in creating and editing PDF documents.

When to Use

Invoke this skill when:

  • User mentions "pdf", "document", or "rotate"
  • User asks to create a new PDF
  • User wants to edit existing PDF content
  • User needs to merge multiple PDFs or split one PDF

Instructions

Creating a New PDF

  1. Determine document type (invoice, report, form, etc.)
  2. Use docx skill to create content first (better formatting)
  3. Convert to PDF using appropriate tool
  4. Add metadata (title, author, keywords)

Editing Existing PDF

  1. Read the PDF to understand structure
  2. Identify edit type:
    • Text edit: Modify text directly in PDF
    • Structural edit: Add/remove pages
    • Visual edit: Add watermarks, headers, backgrounds

Rotation

  1. Identify pages needing rotation
  2. Apply rotation in 90° increments
  3. Verify all pages are correctly oriented

Merging and Splitting

Merging:

  1. List all source PDFs in order
  2. Combine using PDFtk or similar
  3. Verify page count matches expected total

Splitting:

  1. Determine split points
  2. Extract ranges to separate files
  3. Verify each resulting PDF opens correctly

Workflow Selection

Is this a new document?
├── YES → Use docx skill first, then convert
└── NO → Identify edit type below

Edit type?
├── Text change     → Direct edit
├── Page rotate     → Rotate tool
├── Merge files     → Merge tool
├── Split file      → Split tool
└── Watermark/stamp → Visual edit

Examples

Read the full file on GitHub · 131 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. 4d ago First seen · 131 lines · 43 tokens per session scan A a75a8d32840a

Subscribe to this mod's changes

pdf-editor is a skill published in the GitHub repository webkong/skill-quality-check (2 stars, last pushed 5mo ago), licensed MIT. It adds 43 tokens to every session and 819 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

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

paper-reader

Use when user asks to "read paper", "analyze paper", "summarize paper", "读论文", "分析文献", "帮我看一下这篇paper", "论文笔记", or provides a PDF file that appears to be an academic paper. Specialized for CV/DL papers. Also supports Zotero integration: "读一下这篇论文 ...", "快速看一下这篇论文 ...", "批判性分析这篇论文 ...", "读一下 Zotero 里的 XXX", "批量读一下 Zotero…

huangkiki/dailypaper-skills · 157 tokens

citra

Skill "citra" from SylphxAI/pdf-reader-mcp, covering citra — pdf evidence for agents, install, or, tools and sdk.

SylphxAI/pdf-reader-mcp · 0 tokens

graphic-ebook

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a…

Varnan-Tech/opendirectory · 97 tokens

pdf-fill

Fill PDF form fields from a data dict.

hardness1020/awesome-agent-architecture · 12 tokens

pdf-annotations

Use when reading, adding, updating, or removing PDF annotations (highlight, free-text, stamp) or page objects (path/text/image) with Android's platform PDF APIs, or when saving those edits back to disk — the editing surface added in API 36.1 (PdfRenderer.Page) and SDK extension 18 (PdfRendererPreV.Page on API 31+)…

rcosteira79/android-skills · 141 tokens