跳到正文
TakoAPI
返回技能列表

shortcuts-generator

由 erik-agens 提供

Apple Apps & Services
1.9k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Generate a unique UUID for the weather action

  2. 2

    Build a plist action block using is.workflow.actions.weather.currentconditions

  3. 3

    Add a notification action referencing the weather output via OutputUUID

  4. 4

    Wrap both actions in the root plist structure with name and icon fields

  5. 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 或你在用的任意编程智能体里。

链接