pages
Skill18 starsChanged 8 months agoMITView on GitHub
Control Apple Pages documents from Claude. Create, edit, format, review, and export Pages documents programmatically. Trigger: "/pages", "pages document", "create pages document", "write letter in pages", "report in pages", "export pages", "open pages file", "format document in pages", "pages erstellen", "pages dokument", "brief schreiben in pages". Use this skill when the user wants to create, edit, format, review, or export a Pages document. Supports 100+ templates, text styling, tables, images, export to PDF/Word/EPUB/text.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ClarvAI/job-search-hqtheir own version, first seen Oct 15, 2026
- eddmann/jeevestheir own version, first seen Oct 8, 2026
- jablonkai/skillstheir own version, first seen Oct 1, 2026
- aspose-pdf/agentic-net-examplestheir own version, first seen Jul 21, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- aspose-pdf/agentic-net-examples★ 2same name
- eddmann/jeeves★ 2same name
- jablonkai/skills★ 2same name
- ClarvAI/job-search-hq★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
If a venv already exists, activate it:
- Distinctive: line 143
Custom: All user-saved custom templates in Pages
- Very specific: line 149
ALWAYS use --json for query commands (info, list, get, status, word-count)
- Very specific: line 151
If CLI is not in PATH: source ${CLAUDE_PLUGIN_ROOT}/agent-harness/.venv/bin/activate
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Apple Pages CLI Skill
Control Apple Pages from Claude — create, edit, format, review, and export documents.
Prerequisites
The pages-cli command must be installed. If not available, install it automatically:
which pages-cli || (cd ${CLAUDE_PLUGIN_ROOT}/agent-harness && python3 -m venv .venv && source .venv/bin/activate && pip install -e . && echo "pages-cli installed")If a venv already exists, activate it:
test -f ${CLAUDE_PLUGIN_ROOT}/agent-harness/.venv/bin/activate && source ${CLAUDE_PLUGIN_ROOT}/agent-harness/.venv/bin/activateSystem requirements:
- macOS (Apple Pages is macOS-only)
- Apple Pages installed (pre-installed or from the App Store)
- Python 3.10+
Command Syntax
| Command | Action |
/pages new | Create a new blank document |
/pages new <template> | Create document from template |
/pages open <path> | Open an existing document |
/pages info | Show document info |
/pages close | Close document |
/pages export pdf <path> | Export as PDF |
/pages export word <path> | Export as Word |
/pages templates | List available templates |
/pages status | Show session status |
CLI Command Reference
Document management:
pages-cli --json document new
pages-cli --json document new --template "Professional Report"
pages-cli --json document open "/path/to/document.pages"
pages-cli --json document info
pages-cli --json document list
pages-cli document save
pages-cli document save --path "/path/to/save.pages"
pages-cli document close
pages-cli document close --no-saveText:
pages-cli text add "New text"
pages-cli text set "Replace entire body text"
pages-cli --json text get
pages-cli text set-font --name "Helvetica Neue" --size 14
pages-cli text set-font --name "Helvetica Neue" --size 24 --paragraph 1
pages-cli text set-color --r 0 --g 0 --b 65535 --paragraph 1
pages-cli --json text word-countTables:
pages-cli table add --rows 5 --cols 3 --name "Data"
pages-cli table set-cell "Data" 1 1 "Column A"
pages-cli --json table get-cell "Data" 1 1
pages-cli --json table list
pages-cli table merge "Data" "A1:B1"
pages-cli table sort "Data" --column 1Media:
pages-cli media add-image "/path/to/image.png" --x 100 --y 200
pages-cli media add-shape --type rectangle --w 200 --h 100 --text "Box"
pages-cli --json media listExport:
pages-cli export pdf ~/Desktop/document.pdf
pages-cli export word ~/Desktop/document.docx
pages-cli export epub ~/Desktop/book.epub --title "Title" --author "Author"
pages-cli export text ~/Desktop/document.txt
pages-cli export rtf ~/Desktop/document.rtf
pages-cli --json export formatsTemplates & session:
pages-cli --json template list
pages-cli --json session statusNatural Language → CLI Mapping
Translate user instructions into CLI commands:
| User says | CLI command |
| "Write a title" | text add "Title" + text set-font --size 24 --paragraph N |
| "Make the text bigger" | text set-font --size 16 |
| "Add a table" | table add --rows N --cols N |
| "Insert this image" | media add-image "path" |
| "Export as PDF" | export pdf ~/Desktop/output.pdf |
| "How many words?" | --json text word-count |
| "Show me the text" | --json text get |
| "Review the document" | --json text get → analyze + suggest improvements |
Colors (RGB 0-65535)
Pages uses RGB values from 0-65535 (not 0-255):
- Black:
--r 0 --g 0 --b 0 - Red:
--r 65535 --g 0 --b 0 - Blue:
--r 0 --g 0 --b 65535 - Green:
--r 0 --g 65535 --b 0
Conversion: Pages value = round((RGB_0_255 / 255) * 65535)
Available Templates (Selection)
- Blank: Blank, Blank Landscape, Blank Black
- Reports: Simple Report, Modern Report, Professional Report, Research Paper
- Letters: Classic Letter, Professional Letter, Modern Letter, Business Letter
- CVs: Contemporary CV, Classic CV, Professional CV, Modern CV
- Newsletters: Classic Newsletter, Simple Newsletter
- Posters/Flyers: Photo Poster, Event Poster, Type Poster
- Cards: Birthday Card, Photo Card, Party Invitation
- Custom: All user-saved custom templates in Pages
Full list: pages-cli --json template list
Important
- ALWAYS use
--jsonfor query commands (info, list, get, status, word-count) - Pages launches automatically if not already running
- If CLI is not in PATH:
source ${CLAUDE_PLUGIN_ROOT}/agent-harness/.venv/bin/activate
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

