shortcuts-generator
由 erik-agens 提供
Apple Apps & Services简介
Generate macOS/iOS Shortcuts by creating plist files.
描述
该技能的功能
Generates valid `.shortcut` plist files for Apple's Shortcuts app on macOS and iOS. Covers 1,155 actions spanning WF*Actions and AppIntents, including control flow, variable references, and app integrations. Outputs signed files ready to import directly into Shortcuts.
Generating shortcuts as code lets you build complex multi-step workflows with loops, conditionals, and variable wiring that would be tedious to assemble manually in the Shortcuts GUI.
何时使用
- Automating a morning routine that fetches weather and sends a notification
- Batch processing photos with conditional filters on iPhone
- Chaining URL fetches and AI model calls into a single shortcut
- Building keyboard-triggered macOS automations without touching the GUI
- Creating reusable shortcuts with menus and repeat loops
示例工作流
User asks: Create a shortcut that gets the current weather and shows it as a notification
- 1
Generate a unique UUID for the weather action
- 2
Build a plist action block using is.workflow.actions.weather.currentconditions
- 3
Add a notification action referencing the weather output via OutputUUID
- 4
Wrap both actions in the root plist structure with name and icon fields
- 5
Write the XML to a .shortcut file and run shortcuts sign --mode anyone to produce an importable file
A signed .shortcut file the user can open directly in Shortcuts.app
安装
clawhub install erik-agens/shortcuts-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。