macOS Shortcuts Generator

VerifiedSafe

Generate .shortcut files for macOS/iOS Shortcuts by creating plist files. Supports 1,155 actions and automation workflows.

Sby Skills Guide Bot
ProductivityAdvanced
7/22/2026
Claude Code
#macos#shortcuts#plist#automation#apple

Recommended for

Automated summary

Generates valid .shortcut plist files for Apple's Shortcuts app, covering 1,155 actions, variable references, and control flow.

Strengths

  • Ships the full plist skeleton plus a working minimal Hello World example
  • Explains variable referencing in detail: UUID, attachmentsByRange, and the U+FFFC placeholder character
  • Documents control flow through GroupingIdentifier and WFControlFlowMode (0=start, 1=middle, 2=end)
  • Draws on a broad action catalog: 427 WF*Actions and 728 AppIntents

Limitations

  • Only produces unsigned plists; signing and importing into the Shortcuts app are not covered
  • No real validation loop: only Write and Bash are allowed, so the shortcut is never executed
  • Manual UUID and parameter bookkeeping makes complex shortcuts error-prone
When to use it

Use it when you need to programmatically generate a .shortcut file or automate a macOS/iOS workflow.

When not to use it

Avoid it for interactively editing or debugging an existing shortcut, or when building it by hand in the Shortcuts app is simpler.

Security analysis

Safe
Quality score78/100

The skill is a documentation/reference guide for constructing Shortcuts plist files. It uses Write to emit XML plists and Bash presumably to convert/sign them, both legitimate. No harmful, obfuscated, or exfiltrating actions are instructed, so risk is minimal.

Findings
  • •Declares Bash and Write tools, but documented usage is benign (writing plist files, likely converting/signing via plutil/shortcuts)
  • •No destructive commands, secret exfiltration, curl|sh, base64 payloads, or safety-disabling instructions present
  • •Generated .shortcut files are intended for signing/import into Apple Shortcuts, which is the stated legitimate purpose
How this analysis is made

Examples

Hello World shortcut
Create a .shortcut plist with two actions: a Text action containing 'Hello World!' and a Show Result action that displays that text via a variable reference.
Ask for input
Generate a Shortcuts plist that uses Ask for Input to capture a name, then shows a result dialog reading 'Hello' followed by the entered name.
Repeat loop
Build a .shortcut plist containing a Repeat action with a loop count of 3 that shows a result each iteration, using GroupingIdentifier and WFControlFlowMode to link the start and end actions.

name: shortcuts-generator description: Generate macOS/iOS Shortcuts by creating plist files. Use when asked to create shortcuts, automate workflows, build .shortcut files, or generate Shortcuts plists. Covers 1,155 actions (427 WF*Actions + 728 AppIntents), variable references, and control flow. allowed-tools: Write, Bash

macOS Shortcuts Generator

Generate valid .shortcut files that can be signed and imported into Apple's Shortcuts app.

Quick Start

A shortcut is a binary plist with this structure:

<?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>WFWorkflowActions</key>
    <array>
        <!-- Actions go here -->
    </array>
    <key>WFWorkflowClientVersion</key>
    <string>2700.0.4</string>
    <key>WFWorkflowHasOutputFallback</key>
    <false/>
    <key>WFWorkflowIcon</key>
    <dict>
        <key>WFWorkflowIconGlyphNumber</key>
        <integer>59511</integer>
        <key>WFWorkflowIconStartColor</key>
        <integer>4282601983</integer>
    </dict>
    <key>WFWorkflowImportQuestions</key>
    <array/>
    <key>WFWorkflowMinimumClientVersion</key>
    <integer>900</integer>
    <key>WFWorkflowMinimumClientVersionString</key>
    <string>900</string>
    <key>WFWorkflowName</key>
    <string>My Shortcut</string>
    <key>WFWorkflowOutputContentItemClasses</key>
    <array/>
    <key>WFWorkflowTypes</key>
    <array/>
</dict>
</plist>

Minimal Hello World

<dict>
    <key>WFWorkflowActionIdentifier</key>
    <string>is.workflow.actions.gettext</string>
    <key>WFWorkflowActionParameters</key>
    <dict>
        <key>UUID</key>
        <string>A1B2C3D4-E5F6-7890-ABCD-EF1234567890</string>
        <key>WFTextActionText</key>
        <string>Hello World!</string>
    </dict>
</dict>
<dict>
    <key>WFWorkflowActionIdentifier</key>
    <string>is.workflow.actions.showresult</string>
    <key>WFWorkflowActionParameters</key>
    <dict>
        <key>Text</key>
        <dict>
            <key>Value</key>
            <dict>
                <key>attachmentsByRange</key>
                <dict>
                    <key>{0, 1}</key>
                    <dict>
                        <key>OutputName</key>
                        <string>Text</string>
                        <key>OutputUUID</key>
                        <string>A1B2C3D4-E5F6-7890-ABCD-EF1234567890</string>
                        <key>Type</key>
                        <string>ActionOutput</string>
                    </dict>
                </dict>
                <key>string</key>
                <string></string>
            </dict>
            <key>WFSerializationType</key>
            <string>WFTextTokenString</string>
        </dict>
    </dict>
</dict>

Core Concepts

1. Actions

Every action has:

  • Identifier: is.workflow.actions.<name> (e.g., is.workflow.actions.showresult)
  • Parameters: Action-specific configuration in WFWorkflowActionParameters
  • UUID: Unique identifier for referencing this action's output

2. Variable References

To use output from a previous action:

  1. The source action needs a UUID parameter
  2. Reference it using OutputUUID in an attachmentsByRange dictionary
  3. Use  (U+FFFC) as placeholder in the string where the variable goes
  4. Set WFSerializationType to WFTextTokenString

3. Control Flow

Control flow actions (repeat, conditional, menu) use:

  • GroupingIdentifier: UUID linking start/middle/end actions
  • WFControlFlowMode: 0=start, 1=middle (else/case), 2=end

Common Actions Quick Reference

| Action | Identifier | Key Parameters | |--------|------------|----------------| | Text | is.workflow.actions.gettext | WFTextActionText | | Show Result | is.workflow.actions.showresult | Text | | Ask for Input | is.workflow.actions.ask | WFAskActionPrompt, WFInputType | | Use AI Model | is.workflow.actions.askllm | WFLLMPrompt, WFLLMModel, WFGenerativeResultType | | Comment | is.workflow.actions.comment | WFCommentActionText | | URL | is.workflow.actions.url | WFURLActionURL | | Get Contents of URL | is.workflow.actions.downloadurl | WFURL, WFHTTPMethod | | Get Weather | is.workflow.actions.weather.currentconditions | (none required) | | Open App | is.workflow.actions.openapp | WFAppIdentifier | | Open URL | is.workflow.actions.openurl | WFInput | | Alert | is.workflow.actions.alert | WFAlertActionTitle, WFAlertActionMessage | | Notification | is.workflow.actions.notification | WFNotificationActionTitle, WFNotificationActionBody | | Set Variable | is.workflow.actions.setvariable | WFVariableName, WFInput | | Get Variable | is.workflow.actions.getvariable | WFVariable | | Number | is.workflow.actions.number | WFNumberActionNumber | | List | is.workflow.actions.list | WFItems | | Dictionary | is.workflow.actions.dictionary | WFItems | | Repeat (count) | is.workflow.actions.repeat.count | WFRepeatCount, GroupingIdentifier, WFControlFlowMode | | Repeat (each) | is.workflow.actions.repeat.each | WFInput, GroupingIdentifier, WFControlFlowMode | | If/Otherwise | is.workflow.actions.conditional | WFInput, WFCondition, GroupingIdentifier, WFControlFlowMode | | Choose from Menu | is.workflow.actions.choosefrommenu | WFMenuPrompt, WFMenuItems, GroupingIdentifier, WFControlFlowMode | | Find Photos | is.workflow.actions.filter.photos | WFContentItemFilter (see FILTERS.md) | | Delete Photos | is.workflow.actions.deletephotos | photos (NOT WFInput!) |

Detailed Reference Files

For complete documentation, see:

Signing Shortcuts

Shortcuts MUST be signed before they can be imported. Use the macOS shortcuts CLI:

# Sign for anyone to use
shortcuts sign --mode anyone --input MyShortcut.shortcut --output MyShortcut_signed.shortcut

# Sign for people who know you
shortcuts sign --mode people-who-know-me --input MyShortcut.shortcut --output MyShortcut_signed.shortcut

The signing process:

  1. Write your plist as XML to a .shortcut file
  2. Run shortcuts sign to add cryptographic signature (~19KB added)
  3. The signed file can be opened/imported into Shortcuts.app

Workflow for Creating Shortcuts

  1. Define actions - List what the shortcut should do
  2. Generate UUIDs - Each action that produces output needs a unique UUID
  3. Build action array - Create each action dictionary with identifier and parameters
  4. Wire variable references - Connect outputs to inputs using OutputUUID
  5. Wrap in plist - Add the root structure with icon, name, version
  6. Write to file - Save as .shortcut (XML plist format is fine)
  7. Sign - Run shortcuts sign to make it importable

Key Rules

  1. UUIDs must be uppercase: A1B2C3D4-E5F6-7890-ABCD-EF1234567890
  2. WFControlFlowMode is an integer: Use <integer>0</integer> not <string>0</string>
  3. Range keys use format: {position, length} - e.g., {0, 1} for first character
  4. The placeholder character:  (U+FFFC) marks where variables are inserted
  5. Control flow needs matching ends: Every repeat/if/menu start needs an end action with same GroupingIdentifier

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/macos-shortcuts-generator-mrwakac8' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/macos-shortcuts-generator-mrwakac8/download' --output '.skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md.part' && mv '.skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md.part' '.skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Write, Bash

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md' && test -s '.skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/shortcuts-generator' && cp -R '.skill-downloads/macos-shortcuts-generator-mrwakac8' '.claude/skills/shortcuts-generator'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/macos-shortcuts-generator-mrwakac8'

openskills read 'macos-shortcuts-generator-mrwakac8'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/macos-shortcuts-generator-mrwakac8/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills