/shortcuts:shortcutfrom shortcuts
Generates Apple Shortcuts as XML plist files programmatically without the GUI app. Supports discovery of available actions, control flow, variables, and deployment on macOS.
Ships in shortcuts. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate Apple Shortcuts as XML property list files.
uname -swhich shortcuts 2>/dev/null && echo "available" || echo "not available"If the OS is Darwin (macOS), use the discovery CLI and the full deployment pipeline (convert, sign, import, run). If Linux, generate XML only — signing and import are unavailable; inform the user.
On macOS, use the discovery CLI to find actions: see references/discovery.md
On any platform, use the static action catalog: see references/actions.md
Write the shortcut as an XML plist. Load references as needed.
Minimal template:
<?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>WFWorkflowMinimumClientVersionString</key>
<string>900</string>
<key>WFWorkflowMinimumClientVersion</key>
<integer>900</integer>
<key>WFWorkflowClientVersion</key>
<string>2702</string>
<key>WFWorkflowIcon</key>
<dict>
<key>WFWorkflowIconStartColor</key>
<integer>463140863</integer>
<key>WFWorkflowIconGlyphNumber</key>
<integer>59511</integer>
</dict>
<key>WFWorkflowTypes</key>
<array>
<string>MenuBar</string>
</array>
<key>WFWorkflowInputContentItemClasses</key>
<array/>
<key>WFWorkflowActions</key>
<array>
<!-- actions go here -->
</array>
</dict>
</plist>
Key conventions:
Set Variable / Get Variable over inline WFTextTokenString.UUID and CustomOutputName to an action's parameters to capture its output.See references/deployment.md for the full pipeline: convert, sign, import, iterate.
Quick reference:
plutil -convert binary1 -o "My Shortcut.shortcut" "My Shortcut.plist"
mkdir -p out
shortcuts sign -i "My Shortcut.shortcut" -o "out/My Shortcut.shortcut"
open "out/My Shortcut.shortcut"
references/actions.md (opens in a new tab)references/control-flow.md (opens in a new tab)references/deployment.md (opens in a new tab)references/discovery.md (opens in a new tab)references/parameters.md (opens in a new tab)references/plist-structure.md (opens in a new tab)references/variables.md (opens in a new tab)scripts/discover.swift (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Bash(swift ${CLAUDE_SKILL_DIR}/scripts/discover.swift:*)|Bash(shortcuts:*)cat | jq '{hookSpecificOutput: {hookEventName: "PreToolUse", permissionDecision: "allow", updatedInput: {dangerouslyDisableSandbox: true}}}'
Three short reads, in order
2 skills in this plugin
npx claudepluginhub bendrucker/claude --plugin shortcutsOther plugins' skills for the same job