Display and manipulate PDF documents using PDFKit. An agent skill from dpearson2699/swift-ios-skills.

Custom licenceAuto-check passedDocuments & Office

Install Pdfkit

skills CLI
$ npx skills add dpearson2699/swift-ios-skills --skill pdfkit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dpearson2699/swift-ios-skills pdfkit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dpearson2699/swift-ios-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pdfkit .claude/skills/pdfkit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdfkit
GitHub stars
1.2k
Token cost
~3.5k tokens
SKILL.md length
514 words
Files
3 (incl. references)
Skills in repo
86
Repo updated
First seen
Licence
Custom licence

At a glance

Display and manipulate PDF documents using PDFKit. An agent skill from dpearson2699/swift-ios-skills.

  • Embedding PDFView to show PDF files
  • SKILL.md covers Contents, Setup, Displaying PDFs and Loading Documents, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Modifying PDFDocument instances

What it does

Pdfkit is an agent skill from dpearson2699/swift-ios-skills. Display and manipulate PDF documents using PDFKit. Use when embedding PDFView to show PDF files, creating or modifying PDFDocument instances, adding annotations (highlights, notes, signature widgets), extracting text with PDFSelection, navigating pages, generating thumbnails, filling PDF forms, or wrapping PDFView in SwiftUI.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/evals.json` and `references/pdfkit-patterns.md`).

It sits in Documents & Office, covering PDF, iOS development and Embeddings. It works with SwiftUI and iOS. The repository describes itself as: Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks.

When your agent uses it

  • Embedding PDFView to show PDF files
  • Modifying PDFDocument instances
  • Adding annotations (highlights
  • Signature widgets)

Example prompts

  • “/pdfkit”

What it can do on your machine

Read from SKILL.md and the folder at commit 8d90fd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sosumi.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pdfkit loads about 3.5k tokens when it runs, and up to ~9.5k if it reads all its reference files. Until then it costs about 84 tokens; SKILL.md has 514 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 514 words (~3,513 tokens).

“Display, navigate, search, annotate, and manipulate PDF documents with PDFView, PDFDocument, PDFPage, PDFAnnotation, and PDFSelection.”

— opening of SKILL.md by dpearson2699, Custom licence
name
pdfkit

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/pdfkit of dpearson2699/swift-ios-skills.

  • SKILL.md
  • evals/evals.json
  • references/pdfkit-patterns.md

Open the folder on GitHubat commit 8d90fd1

Compare with similar skills

Pdfkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pdfkit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pdfkit this skilldpearson2699/swift-ios-skills1.2k—~3.5kAutomated safety check: PassCustom licence
Webkit Integrationgustavscirulis/snapgrid1171 repos~1.5kAutomated safety check: PassCustom licence
Foundation Models App Builderrryam/FoundationModelsKit162—~1.1kAutomated safety check: PassMIT
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
Swiftui Liquid Glassharperreed/dotfiles3348 repos~941Automated safety check: PassNone
Swiftui Expert Skillomarshahine/HomeClaw1764 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Webkit Integration

    gustavscirulis/snapgrid

    WebKit integration in SwiftUI using WebView and WebPage for embedding web content, navigation, JavaScript interop, and customization.

    117 GitHub starsUsed in 1 repo~1.5k tokens
    MobileAuto-check passed
  • Foundation Models App Builder

    rryam/FoundationModelsKit

    Build or modify Apple Foundation Models features in Swift, SwiftUI, iOS, and macOS apps.

    162 GitHub stars~1.1k tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed
  • Update Swiftui APIs

    AvdLee/SwiftUI-Agent-Skill

    Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

    3.7k GitHub stars~1.2k tokensUpdated yesterday
    MobileAuto-check passed
  • Swiftui Liquid Glass

    harperreed/dotfiles

    Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API.

    334 GitHub starsUsed in 8 repos~941 tokens
    MobileAuto-check passed
  • Swiftui Expert Skill

    omarshahine/HomeClaw

    A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…

    176 GitHub starsUsed in 4 repos~2.8k tokens
    MobileAuto-check passed
  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    143 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed

More from dpearson2699/swift-ios-skills

All 86 skills in this repo
  • iOS Memgraph Analysis

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…

    1.2k GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Natural Language

    dpearson2699/swift-ios-skills

    Tokenize, tag, and analyze natural language text using Apple's NaturalLanguage framework and translate between languages with the Translation framework.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • iOS Ettrace Performance

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing ETTrace profiles for a focused iOS launch or runtime flow, including exact-build dSYM UUID matching, Simulator or device capture, processed…

    1.2k GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Accessorysetupkit

    dpearson2699/swift-ios-skills

    Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Activitykit

    dpearson2699/swift-ios-skills

    Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit.

    1.2k GitHub stars~4.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Adattributionkit

    dpearson2699/swift-ios-skills

    Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Pdfkit

What does Pdfkit do?

Display and manipulate PDF documents using PDFKit. An agent skill from dpearson2699/swift-ios-skills. Pdfkit is an agent skill from dpearson2699/swift-ios-skills. Display and manipulate PDF documents using PDFKit.

When should I use Pdfkit?

Pdfkit fits situations like: embedding PDFView to show PDF files; modifying PDFDocument instances; adding annotations (highlights; signature widgets).

How do I install Pdfkit in Claude Code?

Run `npx skills add dpearson2699/swift-ios-skills --skill pdfkit -a claude-code`. Or copy the skill folder (skills/pdfkit in dpearson2699/swift-ios-skills) into .claude/skills/pdfkit in your project. Claude Code loads it when a task matches its description.

How do I install Pdfkit in Codex?

Run `npx skills add dpearson2699/swift-ios-skills --skill pdfkit -a codex`. Or copy the skill folder (skills/pdfkit in dpearson2699/swift-ios-skills) into .agents/skills/pdfkit in your project. Codex loads it when a task matches its description.

Can I use Pdfkit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dpearson2699/swift-ios-skills --skill pdfkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdfkit, .gemini/skills/pdfkit, .github/skills/pdfkit and .opencode/skills/pdfkit in your project.

What does Pdfkit need to run?

SKILL.md names no scripts, command-line tools or credentials: Pdfkit is instructions for the agent only.

Does Pdfkit access the network?

SKILL.md names 1 domain. As links in the text: sosumi.ai. This is read from the text; nothing was executed.

Is Pdfkit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pdfkit use?

Pdfkit has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Pdfkit use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6k tokens, read only when the agent opens those files.

What are the alternatives to Pdfkit?

Skills that share tags, products or a category with Pdfkit: Webkit Integration (gustavscirulis/snapgrid, 117 stars), Foundation Models App Builder (rryam/FoundationModelsKit, 162 stars), Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars) and Swiftui Liquid Glass (harperreed/dotfiles, 334 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pdfkit?

dpearson2699 (a GitHub user) maintains it in dpearson2699/swift-ios-skills, which has 1,175 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on July 31, 2026.

Source: dpearson2699/swift-ios-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.