Iwork to pdf
Scan a project folder on macOS for documents Claude cannot read natively, especially Apple iWork files (.pages, .numbers, .key), inventory them, and batch-convert them to PDF placed beside the originals so Claude can read everything. Use this whenever the user mentions Pages, Numbers, Keynote, or iWork documents; asks to convert Apple documents to PDF; asks why some files in a folder are unreadable; or is setting up a new project folder for Claude and wants old documents, CVs, reports, notes, or historical files made readable. Also use it proactively as a project-intake step when starting analysis of a Mac folder that may contain .pages, .numbers, or .key files.From its SKILL.md
npx -y skills add xcharron/claude-skills --skill iwork-to-pdfAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.4 KB, as published. Nobody here has run it
iWork to PDF: make every document in a project readable
Apple iWork files (.pages, .numbers, .key) are proprietary bundles that Claude cannot parse directly. They often hold a project's most important history: business plans, CVs, pitch decks, scripts, contracts. If they are skipped silently, analysis runs on an incomplete corpus and the user never knows.
This skill scans a folder, reports what is unreadable, and converts iWork files to PDF using the real Pages/Numbers/Keynote apps via AppleScript, which gives perfect rendering fidelity. Conversion is strictly additive: each PDF is written beside its original, originals are never modified or deleted, and files that already have a matching PDF are skipped.
Workflow
1. Scan and inventory
Find what Claude cannot read before converting anything:
find "<folder>" \( -name "*.pages" -o -name "*.numbers" -o -name "*.key" \) -not -path "*/.*"
Also glance for other commonly unreadable formats and simply report them
(do not attempt conversion): .graffle, .sketch, .psd, .ai, .indd, .band,
.webarchive, and any *.icloud stubs (those are undownloaded iCloud
placeholders; the user must download them in Finder first).
Tell the user the counts per folder before converting, so they know what was previously invisible.
2. Preflight: verify the real Apple apps
Do not trust app names alone, and do not trust the classic bundle ids alone either. Apple replaced the iWork apps in early 2026 with "Creator Studio" builds ("Pages Creator Studio.app") that use NEW bundle ids. Check both generations, newest first:
- Pages:
com.apple.Pages, thencom.apple.iWork.Pages - Numbers:
com.apple.Numbers, thencom.apple.iWork.Numbers - Keynote:
com.apple.Keynote, thencom.apple.iWork.Keynote
mdfind "kMDItemCFBundleIdentifier == 'com.apple.Pages'"
The converter script does this detection itself. If an app is genuinely missing, stop and tell the user: install it free from the Mac App Store (App Store app, search the name, click Get). Do not substitute an online converter; that uploads the user's private documents to a third party.
There is no offline fallback worth using. iWork files only contain a JPEG thumbnail of page one internally, and LibreOffice cannot read the format reliably. The real app is the only faithful converter.
3. Convert
Run the bundled script once per folder (it recurses):
scripts/convert_iwork.sh "<folder>" [more folders...]
Behavior, which you should relay to the user up front:
- Each PDF is written next to its original with the same name.
- Originals are never touched. Existing PDFs are never overwritten (skipped).
- The app opens each document briefly on screen; this is normal.
- The first run triggers a macOS dialog asking permission to control Pages/Numbers/Keynote. The user must click Allow once, so warn them before the first run and do not run it while they are away if permission has never been granted.
- Password-protected documents will fail; they are listed at the end for the user to handle manually.
Long or media-heavy documents can take a while; the script allows up to 10 minutes per file. Run it in the background for large batches and report progress.
4. Verify and report
The script prints a per-file OK/SKIP/FAIL log and a summary. After it finishes:
- Spot-check one or two PDFs (e.g. page count or file size) to confirm real output.
- Report converted / skipped / failed counts per folder.
- List any remaining unreadable files from step 1 so the user can decide what to do with them.
Safety rules
- Never delete, move, or rewrite the original iWork files.
- Never overwrite an existing PDF; if the user wants a fresh export, ask them to remove or rename the old PDF first.
- Never upload the documents to web converters.