apple-shortcuts
Skill4 starsChanged 2 months agoMITView on GitHub
Generate importable Apple Shortcuts (.shortcut / plist XML) for macOS and iOS. Use this skill whenever the user wants to create, modify, reverse-engineer, or understand Apple Shortcuts, including native actions, third-party app integrations (Actions, Data Jar, Toolbox Pro, Scriptable, a-Shell, Jayson, Pushcut), automations, and complex control flow. Trigger on mentions of "shortcut", "raccourci", "workflow iOS/macOS", ".shortcut file", "Apple automation", or any request to produce a file the user can import into the Shortcuts app.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jablonkai/skillstheir own version, first seen Oct 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jablonkai/skills★ 2same 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.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- automode-configSkill
- dockerfile-best-practicesSkill
- helm-bjw-s-chartSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
macOS 12+: run shortcuts sign -i in.plist -o out.shortcut -m anyone to produce a distributable .shortcut.
- Distinctive: line 47
If you know the action by name but not its identifier:
- Distinctive: line 53
If you need to discover an unknown third-party action on macOS:
- Distinctive: line 59
If you need the full native action catalog:
- Very specific: line 75
Write the plist as XML. Every action dict must carry at minimum WFWorkflowActionIdentifier and WFWorkflowActionParameters.
- Very specific: line 112
Resolve identifiers: Every action string must be real.
- Very specific: line 124
Validate: Run tools/validate-shortcut.py.
- Distinctive: line 227
If the user is iOS-only and has no macOS device, the skill cannot fully close the loop.
- Very specific: line 306
No invention: If an identifier, parameter key, or version number is not verified, mark it ⚠ unverified in output and suggest the user …
- Very specific: line 313
Templates are importable: Every file in templates/ passes plutil -lint and tools/validate-shortcut.py.
- Distinctive: line 330
Do not guess. Ask the user for any of the five that remain unclear after reading the request.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Apple Shortcuts
Generate plist XML that the Shortcuts app imports. Targets macOS 12+ and iOS 15+. Use this skill for creation, modification, reverse engineering, and reference lookups.
Critical upfront fact: signing
Since iOS 15 / macOS 12, Shortcuts refuses unsigned files. This skill produces plist XML. Delivery to the user requires one of:
- macOS 12+: run
shortcuts sign -i in.plist -o out.shortcut -m anyoneto produce a distributable.shortcut. The user double-clicks or runsopen -a Shortcuts out.shortcut. - macOS, manual route: open the plist in Shortcuts.app (rename to
.shortcutfirst), re-save — Shortcuts re-signs it. - iOS, no signing toolchain: the user must receive a signed
.shortcutvia iCloud share link (https://www.icloud.com/ shortcuts/...), AirDrop, or Messages. Unsigned plist XML cannot be imported on iOS.
State this cost to the user before generating. If they lack macOS, the deliverable is XML plus instructions; full binary signing without macOS is a rabbit hole this skill does not enter.
See gotchas/signing-and-sharing.md for the full story.
Quickstart (three steps)
1. Identify the action set
If you know the action by name but not its identifier:
./tools/find-action-identifier.py "send message"If you need to discover an unknown third-party action on macOS:
./tools/list-app-intents.py --bundle com.example.appIf you need the full native action catalog:
./tools/list-native-actions.py2. Generate the plist
Consult references in this order:
references/plist-format.mdfor the envelope and top-level keys.references/variables-and-types.mdfor magic variable wiring.references/actions-native-*.mdfor concrete action schemas.patterns/*.mdif the task matches a known pattern.templates/*.plistas starting points.
Write the plist as XML. Every action dict must carry at minimum
WFWorkflowActionIdentifier and WFWorkflowActionParameters.
3. Validate and deliver
./tools/validate-shortcut.py path/to/shortcut.plistFix any errors. Then either sign on macOS or instruct the user to.
Progressive disclosure table
Load only the files your current task needs. This table maps request types to files.
| Request contains | Load |
| "how do I make a shortcut that..." | patterns/ + relevant actions-*.md |
| "what's the identifier for X action" | actions-native-full-index.md or find |
| "why won't my shortcut import" | gotchas/signing-and-sharing.md |
| "what does this .shortcut file do" | tools/inspect-shortcut.py |
| "call an API / fetch JSON" | patterns/http-api-calls.md |
| "show a menu to the user" | patterns/user-input.md |
| "run another shortcut" | patterns/shortcuts-chaining.md |
| "personal automation / trigger" | patterns/automation-triggers.md |
"use <third-party app> action" | third-party/<app>.md |
| "variables aren't working" | references/variables-and-types.md |
| "compare two shortcuts" | tools/diff-actions.py |
| "what actions are in WorkflowKit" | tools/list-native-actions.py |
Canonical generation workflow
- Detect target platform. iOS-only, macOS-only, or cross-platform shapes the action set. Shell Script, AppleScript, JXA, and window management are macOS-only. Health, HomeKit scene execution, and camera actions are iOS-only.
- Resolve identifiers. Every action string must be real. If an
identifier is unverified, mark it
⚠ unverifiedin your plan and prefer a verified alternative. - Load references. Pull in only the specific
references/*.mdandthird-party/*.mdyou need. Do not eagerly load the full catalog. - Generate the plist. Emit the XML envelope, icon dict,
WFWorkflowActionsarray. Assign a UUID to every action whose output is referenced later. Wire magic variables viaattachmentsByRangeusing{position, length}strings and theU+FFFCobject replacement character (seereferences/variables-and-types.md). - Validate. Run
tools/validate-shortcut.py. Do not skip this step. - Deliver with import instructions. Provide the three import paths (macOS CLI, macOS GUI, iOS), noting the signing requirement explicitly.
Minimum viable plist shape
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>WFWorkflowClientVersion</key>
<string>2607.0.3</string>
<key>WFWorkflowMinimumClientVersion</key>
<integer>900</integer>
<key>WFWorkflowMinimumClientVersionString</key>
<string>900</string>
<key>WFWorkflowIcon</key>
<dict>
<key>WFWorkflowIconGlyphNumber</key>
<integer>59511</integer>
<key>WFWorkflowIconStartColor</key>
<integer>463140863</integer>
</dict>
<key>WFWorkflowImportQuestions</key>
<array/>
<key>WFWorkflowInputContentItemClasses</key>
<array>
<string>WFStringContentItem</string>
</array>
<key>WFWorkflowTypes</key>
<array/>
<key>WFWorkflowActions</key>
<array>
<dict>
<key>WFWorkflowActionIdentifier</key>
<string>is.workflow.actions.gettext</string>
<key>WFWorkflowActionParameters</key>
<dict>
<key>WFTextActionText</key>
<string>Hello from Claude</string>
</dict>
</dict>
<dict>
<key>WFWorkflowActionIdentifier</key>
<string>is.workflow.actions.showresult</string>
<key>WFWorkflowActionParameters</key>
<dict>
<key>Text</key>
<string>Hello from Claude</string>
</dict>
</dict>
</array>
</dict>
</plist>This is templates/minimal-shortcut.plist. It imports after signing.
Import methods (three paths)
macOS, CLI (requires macOS 12+)
# Save plist with .shortcut extension
mv out.plist out.shortcut
# Sign it for public sharing
shortcuts sign -i out.shortcut -o out.signed.shortcut -m anyone
# Open in Shortcuts.app to complete import
open -a Shortcuts out.signed.shortcutSigning modes:
anyone— distributable via any channel; lax trust.people-who-know-me— requires recipient to be in Contacts.
macOS, drag and drop
mv out.plist out.shortcut
open -a Shortcuts out.shortcutShortcuts.app imports, signs locally, and stores in
~/Library/Shortcuts/.
iOS, iCloud / AirDrop
There is no iOS signing toolchain. The user must receive a shortcut that was signed on macOS. Paths:
- iCloud share link — sign on macOS, upload to iCloud, share the
https://www.icloud.com/shortcuts/<uuid>link. Recipient taps link, Shortcuts opens. - AirDrop a signed
.shortcutfile from macOS to iOS. - Email / Messages attachment of a signed
.shortcutfile.
If the user is iOS-only and has no macOS device, the skill cannot fully close the loop. Deliver the plist XML and document the gap.
Reference files inventory
references/plist-format.md— envelope, top-level keys, content item classes, XML rules.references/variables-and-types.md— magic variables,attachmentsByRange, serialization types, coercion.references/control-flow.md— If, Repeat, Choose from Menu,GroupingIdentifier,WFControlFlowMode.references/actions-native-core.md— Text, Dictionary, List, Variables, Scripting, Device.references/actions-native-web.md— URL, Get Contents of URL, JSON parsing, headers, authentication.references/actions-native-files.md— Files, Photos, Documents, archive, hash.references/actions-native-communication.md— Messages, Mail, Notifications, Speak Text.references/actions-native-automation.md— Automations, triggers, focus, personal vs home.references/actions-native-full-index.md— Flat identifier index, fallback lookup.
Third-party catalog
third-party/actions-app.md— Sindre Sorhus's Actions (OSS, free, covers ~80% of gaps).third-party/data-jar.md— Simon Støvring's persistent key-value store.third-party/toolbox-pro.md— Alex Hay's advanced utilities.third-party/scriptable.md— JavaScript bridge.third-party/a-shell.md— iOS shell bridge.third-party/jayson.md— JSON manipulation.third-party/pushcut.md— Automation server, webhooks.third-party/discovery-pattern.md— Reverse engineer any unknown third-party app's actions.
Patterns
patterns/http-api-calls.md— REST calls, auth headers, pagination.patterns/json-parsing.md— Dictionary access, Get Dictionary Value.patterns/error-handling.md— Exit, fallback, validation.patterns/user-input.md— Ask, Choose from Menu, Show Alert.patterns/shortcuts-chaining.md— Run Shortcut with parameters, output passing.patterns/automation-triggers.md— Personal automation, Home, limits, confirmation.
Gotchas
gotchas/platform-differences.md— iOS vs macOS vs watchOS action availability.gotchas/signing-and-sharing.md— iOS 15+ signing requirement, share links, trust prompts.gotchas/common-pitfalls.md— Variable scope, UUID duplicates, magic variable binding bugs.gotchas/performance.md— Action limits, timeouts, Get Contents of URL failure modes.
Tools
tools/validate-shortcut.py— Validate a plist. Check syntax, required keys, identifier existence, variable referencing.tools/inspect-shortcut.py— Dump a.shortcutor.plistas structured JSON or human-readable list.tools/list-native-actions.py— ExtractWFWorkflowActionIdentifiervalues from WorkflowKit.framework (macOS) or fall back to embedded index.tools/list-app-intents.py— Scan installed apps for App Intents metadata and enumerate their Shortcuts actions.tools/find-action-identifier.py— Fuzzy search for an action by name across native and known third-party catalogs.tools/diff-actions.py— Semantic diff between two shortcuts (action-by-action, reorder-aware).tools/README.md— Script inventory, usage examples, exit codes.
Hard rules
- No invention. If an identifier, parameter key, or version number
is not verified, mark it
⚠ unverifiedin output and suggest the user confirm viatools/list-native-actions.pyor by round-tripping through Shortcuts.app. - One source of truth per fact. Identifier strings live in
actions-native-full-index.mdandthird-party/*.md; prose references link there rather than re-state. - Templates are importable. Every file in
templates/passesplutil -lintandtools/validate-shortcut.py. - English-only in code and documentation. User-facing prose in chat may be in the user's language; files in this skill are English.
When the request is ambiguous
Before generating, resolve:
- Target platform — iOS only, macOS only, or both.
- Trigger — manual run, share sheet, personal automation, Home automation, menu bar (macOS).
- Input — no input, Shortcut Input, explicit prompt (Ask for Input).
- Output — none, Show Result, Quick Look, return to caller.
- Third-party dependencies — any action outside
is.workflow.actions.*?
Do not guess. Ask the user for any of the five that remain unclear after reading the request.
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.

