Code Your Apple Shortcuts β’ Vibe-Based Automation β’ AI-Powered Creation
Write macOS Shortcuts in text instead of clicking β’ Natural language programming for Apple automation
π΄ Fork of pfgithub/scpl β Updated for macOS Tahoe with 222 new actions, Apple Intelligence, and MCP server support
π» Intel Mac Compatible! ScPL-macOS-updated and most actions work on both Intel and Apple Silicon Macs. Only Apple Intelligence actions (Use Model, Image Playground) require Apple Silicon.
π Find what you need: Apple Shortcuts automation β’ Shortcuts scripting language β’ Program shortcuts with code β’ Text-based shortcut builder β’ AI shortcut generator β’ Automate macOS with Claude β’ Vibe code your workflows β’ Natural language automation β’ Voice memo automation β’ Dark mode scheduling β’ Window manager shortcuts β’ Pomodoro timer automation β’ Accessibility automation β’ HomeKit scripting
This fork adds 222 new actions including comprehensive coverage of Apple apps (Clock, Photos, Voice Memos, Books, Weather, Stocks, Freeform, Shortcuts management, Accessibility, and more), plus AI-powered shortcut creation with the MCP server!
- Use Model (
askllm) - AI integration with Apple Intelligence, on-device models, and ChatGPT - Image Playground - Generate images with AI (
GenerateImageIntent)
- ChatGPT & Claude - Direct integration with AI assistants (requires apps installed)
Complete integration with Apple Notes app:
- Note Management - Create, close, pin, and delete notes
- Folder Operations - Create, rename, delete, and navigate folders
- Tag Management - Create, add, remove, and delete tags
- Advanced Features - Append checklist items, add files, move notes, show Quick Note
- Shell script execution (
runshellscript,runapplescript,runjavascriptforautomation) - File operations (
file.rename,file.move,file.reveal, and more) - System utilities (
getonscreencontent,connecttoservers)
β See MACOS_TAHOE_UPDATES.md for the complete list
β Total: 495 actions (original scpl: 271, +224 new actions)
Tired of clicking through the Shortcuts app? ScPL-macOS-updated is a text-based programming language for Apple Shortcuts that lets you vibe code your automation instead of dragging blocks around.
Think of it as: Markdown for Shortcuts β’ Code instead of clicks β’ AI-powered shortcut generation
Perfect for:
- β¨ Large shortcuts - Copy/paste actions, work without scrolling like a pro
- π§ Version control - Track your automation in Git like real code
- β‘ Speed - Type workflows 10x faster than GUI clicking
- π Debugging - See your entire shortcut logic at once
- π€ AI creation - Describe shortcuts in plain English, get working code
- π― Power users - Build complex automations without RSI from clicking
# Simple notification shortcut
ShowResult "Hello from ScPL on macOS Tahoe!"
# Use Apple Intelligence
AskLLM model="Apple Intelligence" prompt="Explain what ScPL is in one sentence"
ShowResult
# Run a shell script
RunShellScript shell="/bin/zsh" script="echo 'ScPL makes Shortcuts programming easy!'"
ShowResult
Real automation workflow scenarios:
π― "I want to automate my morning routine" β Dark mode off, VPN on, start timer, open calendar, create voice memo for daily notes
β±οΈ "I need a Pomodoro timer with logging" β 25-min timer, log work sessions, auto dark mode during breaks
πΈ "Batch process screenshots with AI" β Take screenshot, AI extract text, save to organized folders, share via clipboard
π€ "Voice memo workflow" β Record, auto-transcribe, tag with location/time, save to dated folders
πͺ "Window management layouts" β Arrange apps in specific positions, resize windows, switch between workspace configs
π€ "AI-powered content creation" β Get clipboard, Claude/ChatGPT improve text, format output, copy back
π» "DevOps automation on Mac" β Git status check, run tests, open terminal, notify on completion
All of this in text you can copy/paste/share/version-control instead of clicking through menus!
To contribute new actions or explore shortcuts, use these powerful tools:
Shortcut Source Tool π
The ultimate shortcut developer tool for viewing, editing, and analyzing shortcuts.
Features:
- π View Source - Export shortcuts as JSON or plist
- π§ Edit & Import - Modify shortcuts and import back to Shortcuts app
- π Web Review - Analyze shortcuts in your browser
- π©Ή Auto-Repair - Detects and fixes corrupted shortcuts
- π Copy/Paste Actions - Transfer actions between shortcuts
Required Dependencies:
- Shortcut Source Helper - Helper for reading/writing shortcut plists
- Tinycut Builder - Compiler that converts text to shortcuts
-
Install the tools:
- Download Shortcut Source Tool
- Download Shortcut Source Helper
- Download Tinycut Builder
-
Run Shortcut Source Tool:
- Select your shortcut
- Choose "View Source"
- Select "JSON" format
-
Find action identifiers:
- Look for
"WFWorkflowActionIdentifier"keys - Copy the identifier (e.g.,
"is.workflow.actions.askllm") - Note the parameters under
"WFWorkflowActionParameters"
- Look for
-
Submit to ScPL-macOS-updated:
- See CONTRIBUTING.md for how to add actions
- Submit a PR with your action definition
Example JSON output:
{
"WFWorkflowActionIdentifier": "is.workflow.actions.askllm",
"WFWorkflowActionParameters": {
"WFLLMModel": "Apple Intelligence",
"WFLLMPrompt": "Summarize this article"
}
}npm install -g scpl# Install
npm install -g scpl-macos-updated
# Convert ScPL to .shortcut file
scpl-macos-updated input.scpl output.shortcut
# Or if you alias it:
scpl input.scpl output.shortcutCreate shortcuts using natural language! One command installs everything:
For Claude Code (CLI):
npx scpl-updated-mcp --setupFor Claude Desktop (GUI app):
npx scpl-updated-mcp --setup-desktopFor OpenAI Codex:
npx scpl-updated-mcp --setup-codexFor Codex forks (just-every/code, etc.):
npx scpl-updated-mcp --setup-codex=$CODE_HOMEMultiple tools at once:
npx scpl-updated-mcp --setup --setup-desktop --setup-codexThat's it! Restart your AI tool, then just ask:
"Create a shortcut that gets clipboard text, asks ChatGPT to summarize it, and shows the result"
"Make a shortcut that starts a 25-minute timer and creates a voice memo"
"Build a shortcut that takes a screenshot and saves it to a dated folder"
Claude will write the ScPL code, validate it, and generate the .shortcut file for you!
β See mcp-server/README.md for manual installation options
- π macOS Tahoe Actions Reference - All 22 new actions
- π€ MCP Server Guide - AI-powered shortcut creation
- π€ Contributing Guide - Add your favorite app's actions
- π ScPL Language Reference - Core language reference
Want to add your favorite app's actions? We need your help!
Thousands of apps have App Intents that could be added to ScPL-macOS-updated. See CONTRIBUTING.md for:
- π How to extract action identifiers with Shortcut Source Tool
- π§ How to create action definitions
- π How to submit a PR
Click to expand list
Productivity:
- Notion, Things 3, Bear, OmniFocus, Todoist
- DEVONthink, Obsidian, Craft
Creative:
- PDF Expert, Pixelmator Pro, Final Cut Pro
- Logic Pro, Adobe Creative Cloud
Development:
- Xcode, GitHub Desktop, Tower
- CodeRunner, Kaleidoscope
Communication:
- Slack, Discord, Microsoft Teams
- Telegram, Signal
Utilities:
- 1Password, Bitwarden
- Keyboard Maestro, Hazel, BetterTouchTool
is.workflow.actions.askllm- Use Model (AI prompts)com.apple.GenerativePlaygroundApp.GenerateImageIntent- Image Playground
com.openai.chat.OpenVoiceModeIntent- ChatGPT Voice Modecom.anthropic.claude.ClaudeAppIntentsExtension- Ask Claude
runshellscript,runapplescript,runjavascriptforautomation
file,file.rename,file.move,file.reveal,file.selectfile.label,file.getfoldercontents,finder.getselectedfiles,savefile
connecttoservers,getonscreencontent,makespokenaudiofromtextconverttimezone,text.trimwhitespace,output,setname
β See MACOS_TAHOE_UPDATES.md for detailed documentation
| Resource | Description |
|---|---|
| npm Package | Install scpl-macos-updated |
| RoutineHub | Shortcut sharing community |
| Shortcut Source Tool | Developer tools for shortcuts |
| r/shortcuts | Reddit community |
| Original ScPL | Original scpl project by pfgithub |
git clone https://github.com/cavingraves/scpl-macos-updated.git
cd scpl-macos-updated
yarn installyarn testyarn prepublishOnlyThis will format code with Prettier and run tests.
MIT License - Same as original scpl
This project is a fork of ScPL (Shortcut Programming Language) by @pfgithub. The original project created the foundation for text-based shortcut programming that this fork builds upon.
Additional thanks to:
- Shortcut Source Tool: gluebyte on RoutineHub
- Action Discovery: xAlien95 for WFActions.plist analysis
- Shortcuts JS: Josh Farrant for glyph/color lists
Note: The original ScPL repository has not been updated since July 2021. This fork extends it with macOS-specific actions from Tahoe (macOS 26.x).
Made with β€οΈ for the Shortcuts community
