From shortcuts
Runs, lists, views, signs, and imports Apple Shortcuts via macOS shortcuts CLI. Supports headless execution, input/output handling, and permission prompts for automation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shortcuts:cliThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The `shortcuts` command manages and runs shortcuts on macOS.
The shortcuts command manages and runs shortcuts on macOS.
shortcuts run "My Shortcut"
shortcuts run "My Shortcut" -i input.txt
shortcuts run "My Shortcut" -o output.txt
echo "data" | shortcuts run "My Shortcut"
Run by identifier (stable across renames):
shortcuts run "01C97432-525A-4BF6-94DF-C35458FCD21A"
Get identifiers with shortcuts list --show-identifiers.
Shortcuts with GUI actions (alerts, menus, input prompts) fail with "Running was cancelled" when run from the CLI. Only non-interactive shortcuts work headlessly.
First-time actions (notifications, location, contacts, etc.) trigger a macOS permission dialog. The shortcut pauses until the user approves. Inform the user when running a shortcut that may trigger permission prompts.
shortcuts list
shortcuts list --show-identifiers
shortcuts list -f "Folder Name"
shortcuts list --folders
Opens a shortcut in the Shortcuts app editor:
shortcuts view "My Shortcut"
Sign a .shortcut file for import (requires network — contacts Apple's signing service):
mkdir -p out
shortcuts sign -i "My Shortcut.shortcut" -o "out/My Shortcut.shortcut"
Sign into an output directory to preserve the unsigned binary. The filename (minus .shortcut) becomes the shortcut name on import — do not add suffixes.
There is no shortcuts import command. Open the signed file to trigger import:
open "out/My Shortcut.shortcut"
The user confirms import in the Shortcuts app GUI.
npx claudepluginhub bendrucker/claude --plugin shortcutsGenerates Apple Shortcuts as plist XML files programmatically without the GUI app. Supports macOS deployment (discovery, convert, sign, import) and Linux XML export.
Generates macOS/iOS Shortcuts by creating plist files. Covers 1,155 actions, variable references, and control flow for automating workflows.
Build, validate, sign, and remix macOS/iOS Shortcuts by creating plist files. Use for automating workflows, generating .shortcut files, or modifying existing shortcuts.