Loading...
Loading...
Use skill if you are building or repairing Raycast Script Commands in Python or Bash and need correct metadata, output modes, arguments, discovery, or runtime behavior.
npx skill4agent add yigitkonur/skills-by-yigitkonur build-raycast-script-commandfullOutputcompactsilentinline@raycast/api@raycast/apiray buildray develop.py.sh@raycast.titleUser request
├─ "Create a new command from scratch"
│ ├─ Python is the best fit or unspecified
│ │ → Read references/foundations/workflow.md
│ │ → Read references/python/file-anatomy.md
│ │ → Read references/metadata/mode-selection.md
│ │ → Read references/examples/python-recipes.md
│ └─ Bash is clearly the best fit
│ → Read references/foundations/workflow.md
│ → Read references/bash/bash-script-patterns.md
│ → Read references/metadata/mode-selection.md
│ → Read references/examples/bash-recipes.md
│
├─ "Convert an existing script into a Raycast command"
│ → Read references/foundations/workflow.md
│ → Read references/metadata/required-fields.md
│ → Read references/conventions/dependencies-and-portability.md
│ → Read references/troubleshooting/discovery-checklist.md
│
├─ "Choose or change the output mode"
│ → Read references/metadata/mode-selection.md
│ → Read references/metadata/inline-refresh-and-errors.md
│
├─ "Add or fix arguments"
│ → Read references/arguments/typed-arguments.md
│ → Read references/python/implementation-patterns.md or references/bash/bash-script-patterns.md
│
├─ "Why doesn't this command show up in Raycast?"
│ → Read references/troubleshooting/discovery-checklist.md
│ → Read references/metadata/required-fields.md
│
├─ "Why does runtime behavior/output feel wrong?"
│ → Read references/troubleshooting/runtime-and-output-issues.md
│ → Read references/metadata/mode-selection.md
│ → Read references/metadata/inline-refresh-and-errors.md
│
├─ "Should this be Python or Bash?"
│ → Read references/foundations/language-selection.md
│
└─ "Make this repo-ready or shareable"
→ Read references/conventions/community-repo-conventions.md
→ Read references/conventions/dependencies-and-portability.mdassets/templates/modeinlinerefreshTimefullOutputcompactsilentinline#!/usr/bin/env python3
# @raycast.schemaVersion 1
# @raycast.title Example Python Command
# @raycast.mode fullOutput
# @raycast.packageName Examples
print("Hello from Raycast")import sys
def arg(index: int, default: str = "") -> str:
return sys.argv[index] if len(sys.argv) > index else default
query = arg(1)print("Missing API token")
raise SystemExit(1)#!/usr/bin/env bash
set -euo pipefail
# @raycast.schemaVersion 1
# @raycast.title Example Bash Command
# @raycast.mode compact
# @raycast.packageName Examples
echo "Done"references/foundations/workflow.mdreferences/python/file-anatomy.mdreferences/python/implementation-patterns.mdreferences/metadata/mode-selection.mdreferences/examples/python-recipes.mdreferences/foundations/workflow.mdreferences/bash/bash-script-patterns.mdreferences/metadata/mode-selection.mdreferences/examples/bash-recipes.mdreferences/foundations/workflow.mdreferences/metadata/required-fields.mdreferences/conventions/dependencies-and-portability.mdreferences/troubleshooting/discovery-checklist.mdreferences/arguments/typed-arguments.mdreferences/python/implementation-patterns.mdreferences/bash/bash-script-patterns.mdreferences/metadata/mode-selection.mdreferences/metadata/inline-refresh-and-errors.mdreferences/troubleshooting/runtime-and-output-issues.mdreferences/conventions/community-repo-conventions.mdreferences/conventions/dependencies-and-portability.mdreferences/troubleshooting/discovery-checklist.mdassets/templates/python-script-command.pyassets/templates/bash-script-command.sh| Pitfall | Fix |
|---|---|
| Using Extensions API concepts in a Script Command | Stop and switch skills; Script Commands are metadata plus normal script execution |
Choosing | Move to |
Choosing | Add |
| Reading optional args unsafely | Guard Python |
| Leaving user-specific placeholders in a runnable file | Use |
| Missing dependency instructions | Add top-of-file dependency notes and readable missing-dependency failures |
| File | When to read |
|---|---|
| Read when deciding whether the task is really a Script Command and not a full Raycast extension. |
| Read when creating or converting a command and you need the end-to-end build flow. |
| Read when deciding between Python and Bash. |
| Read when adding or repairing metadata headers. |
| Read when choosing between |
| Read when working on inline refresh, first-line/last-line behavior, or failure semantics. |
| Read when adding, changing, or debugging Script Command arguments. |
| Read when creating a Python command file or checking placement of metadata and code. |
| Read when wiring |
| Read when building or fixing a Bash-based Script Command. |
| Read when the command should follow Raycast community-repo conventions. |
| Read when the command depends on tools/packages or must stay portable. |
| Read when a command does not appear in Raycast or seems not to be recognized. |
| Read when output, refresh, or failure behavior is wrong. |
| Read when you need concrete Python command patterns. |
| Read when you need concrete Bash command patterns. |
| Read when you need the provenance for the internal references or want to expand the skill from the original Raycast research docs. |
@raycast/apiinlinerefreshTimecompactsilentinlinesys.argv$2$3.template.