build-raycast-script-command

Installation
SKILL.md

Build Raycast Script Command

Author or repair a Raycast Script Command (a single .sh or .py file with a # @raycast.* metadata header that Raycast discovers from a script directory). This skill is for Script Commands only — not the Raycast Extensions API (@raycast/api, ray build, React <List>/<Detail> views).

When to use

Italicized triggers — match any one:

  • Creating a new .sh or .py Raycast Script Command from scratch
  • Converting an existing Python or shell script into a Raycast Script Command
  • Adding, removing, or repairing the # @raycast.title / # @raycast.mode / # @raycast.argument* metadata block
  • Choosing between fullOutput, compact, silent, or inline modes (or fixing refreshTime / packageName)
  • Wiring # @raycast.argument* typed arguments to sys.argv[1..3] or $1..$3
  • Diagnosing why a script does not appear in Raycast (discovery, shebang, chmod +x, schemaVersion)
  • Fixing wrong stdout shape, refresh cadence, exit-code-on-failure, or missing-dependency UX
  • Hardening a command for the Raycast community-repo conventions

Do NOT use this skill for:

Related skills
Installs
24
GitHub Stars
6
First Seen
Mar 29, 2026