Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add alibrohde/skills --skill "raycast-script"
Install specific skill from multi-skill repository
# Description
Use this skill whenever the user asks to create a Raycast script command, add a script to Raycast, or make something runnable from Raycast. Trigger even if the user just says "make a Raycast script for X" or "add this to Raycast" β any time a script needs to work as a Raycast command, this skill applies.
# SKILL.md
name: raycast-script
description: Use this skill whenever the user asks to create a Raycast script command, add a script to Raycast, or make something runnable from Raycast. Trigger even if the user just says "make a Raycast script for X" or "add this to Raycast" β any time a script needs to work as a Raycast command, this skill applies.
Raycast Script Commands
Template
Every Raycast script starts with this header. Use it exactly β required fields first, then optional, then documentation.
Bash:
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title <Title Here>
# @raycast.mode silent
# Optional parameters:
# Documentation:
# @raycast.description <short description>
# @raycast.author a_l_i_r
# @raycast.authorURL https://raycast.com/a_l_i_r
Python:
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title <Title Here>
# @raycast.mode silent
# Optional parameters:
# Documentation:
# @raycast.description <short description>
# @raycast.author a_l_i_r
# @raycast.authorURL https://raycast.com/a_l_i_r
Key rules
- Scripts go in
~/code/scripts/β always save there, never elsewhere - Icon: omit the
@raycast.iconline entirely unless the user explicitly asks for one. Don't leave a blank@raycast.iconline. - Always
chmod +xthe script after creating it - author/authorURL: always
a_l_i_r/https://raycast.com/a_l_i_r
Choosing @raycast.mode
silentβ runs in background, shows a brief HUD toast on completion. Best for scripts that just do something (write a file, send a request, etc.)compactβ shows output inline in the Raycast bar. Good for short status messages.fullOutputβ opens a full output window. Use when there's meaningful text to read.
When in doubt, use silent.
Arguments
If the script needs user input from Raycast (typed directly into the Raycast bar), add argument fields after @raycast.mode:
# @raycast.argument1 {"type": "text", "placeholder": "Your input here"}
However, if the workflow is "copy something, then trigger the script", read from clipboard with pbpaste instead β this is often more fluid and matches Ali's preferred pattern.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.