A Claude Code skill for generating minimalist Alfred workflows with no external dependencies.
Describe what you want your Alfred workflow to do in plain English, and Claude will:
- Write a Python script implementing your logic (stdlib only, no pip)
- Package it as a ready-to-install
.alfredworkflowfile
- Alfred with Powerpack
- Python 3 (pre-installed on macOS)
- Claude Code
In Claude Code, run:
/alfred-workflow
For example, the redit example added in examples i run the next command in Claude
/alfred-workflow create a workflow invoked with rai to load https://www.reddit.com/r/artificial/ and show latest posts clickable to the posts
Claude will ask for:
| Field | Example |
|---|---|
| Icon path | /path/to/icon.png or none |
| Developer name | Jane Doe |
| Bundle ID | com.janedoe.github-repos |
| Package name | github-repos |
| Keyword | g |
| Workflow title | GitHub Repos |
| Workflow subtitle | Browse your recently updated repos |
| Logic description | Plain-English description of what the script should do |
Then it writes the script, builds the package, and gives you a .alfredworkflow file to double-click and install.
.claude/commands/alfred-workflow.md— the skill prompt Claude followsbuild_workflow.py— assemblesinfo.plist, bundles the script and icon, and zips everything into a.alfredworkflowfile
The generated workflow uses a Script Filter → Open URL pattern: the Python script outputs Alfred JSON items, and selecting one opens its URL in the browser.
MIT — see LICENSE.