Raycast Script Commands
Script Commands let you tailor Raycast to your needs. Think of them as little productivity boosts throughout your day. This repository contains community-built scripts and documentation to help you write your own.What are Script Commands?
Script Commands are executable scripts that integrate with Raycast, allowing you to:- Execute commands from anywhere on your desktop with keyboard shortcuts
- Speed up everyday tasks like converting data, opening bookmarks, or triggering dev workflows
- Create custom dashboard widgets with live-updating information
- Automate macOS system operations and app integrations
Get Started
Install your first script command in minutes
Create Commands
Learn how to write your own script commands
Browse Gallery
Explore hundreds of community scripts
Contribute
Share your scripts with the community
Supported Languages
Script Commands support multiple scripting languages:- Shell (Bash, Zsh) - Most common for simple automation
- AppleScript - Native macOS app control and system integration
- Python - Powerful scripting with extensive library support
- Swift - Compiled performance for intensive tasks
- JavaScript (Node.js) - Use your web dev skills for desktop automation
Key Features
Multiple Output Modes
Multiple Output Modes
Choose how your script displays results: silent for instant actions, compact for quick feedback, fullOutput for detailed information, or inline for dashboard widgets.
Custom Arguments
Custom Arguments
Make your scripts interactive with up to 3 custom arguments. Support text input, secure password entry, and dropdown selections.
Rich Output
Rich Output
Use ANSI color codes to create beautiful, colorized terminal output that adapts to light and dark themes.
Metadata-Driven
Metadata-Driven
Configure script behavior, appearance, and execution through simple comment-based metadata - no complex configuration files needed.
Community-Driven
This repository is maintained by the Raycast community. With 6,600+ stars and contributions from developers worldwide, you’ll find scripts for:- System utilities and macOS automation
- Developer tools and workflows
- App integrations (Spotify, Bear, Things, and more)
- Media controls and conversions
- Productivity enhancers
Looking to build richer extensions with UI components? Check out the Raycast Extensions API for full-featured extensions with forms, lists, and interactive interfaces.
Next Steps
Follow the Quickstart
Install your first script command and see it in actionStart Quickstart →
Explore Examples
Browse real-world script commands to understand the possibilitiesView Examples →
Create Your Own
Write your first custom script command using our templatesLearn the Basics →