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
.shor.pyRaycast 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, orinlinemodes (or fixingrefreshTime/packageName) - Wiring
# @raycast.argument*typed arguments tosys.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: