Raycast AI Command
Overview
Create concise, reliable prompts for Raycast AI Commands. The primary
deliverable is an English prompt that the user can paste into the Prompt
field of Raycast's Create AI Command form.
Keep the skill lightweight: use this file for the workflow and read
references/ai-command.md only when placeholder syntax,
Raycast settings, or examples are needed.
Workflow
Clarify the command's job.
- Identify the input source: selected text, clipboard, focused browser tab,
runtime arguments, or AI Extension output.
- Identify the transformation, audience, tone, language, and expected output
shape.
- Ask up to three focused questions when the request is too ambiguous to
produce a durable command. If a reasonable default is obvious, proceed and
state the assumption briefly.
Choose Raycast context deliberately.
- Prefer
{selection} for commands that operate on highlighted text.
- Use
{argument name="..."} for values the user should provide at runtime;
keep to Raycast's maximum of three different arguments.
- Use
{browser-tab} only when the command should read the focused browser
tab and the Browser Extension requirement is acceptable.
- Read
references/ai-command.md before using less common
placeholders, modifiers, browser-tab selectors, or AI Extension patterns.
Draft the Raycast prompt in English.
- Make it self-contained; it should still work weeks later without this
conversation.
- Name the input source explicitly before the placeholder.
- Include only constraints that improve repeatable behavior: scope, tone,
output format, preservation rules, and fallback behavior.
- For in-place rewrite commands, usually request only the final replacement
text so Raycast can paste or apply it cleanly.
Return a copy-friendly result.
- Put the prompt first, in a plain text code block.
- Add optional Raycast form suggestions only when useful: command name,
placeholder choices, model/creativity notes, tags, or whether to enable
Highlight Editing Changes.
- Keep explanations outside the prompt short and in the conversation
language; keep the prompt itself in English.
Prompt Shape
Use this shape as a default, then trim unnecessary parts:
You are [role].
Use the following [input source]:
{selection}
Task:
- [specific transformation]
- [important constraints]
- [output format]
If the input is empty or unusable, reply with one concise sentence explaining what input is needed.
Adapt the placeholder and labels to the user's command. Remove the role line
when it adds no useful behavior.
Quality Checklist
- The generated Raycast prompt is in English.
- The prompt is paste-ready for the Raycast Prompt field.
- Dynamic Placeholders are valid for AI Commands and use exact Raycast syntax.
- The prompt avoids hidden assumptions about selected text, clipboard contents,
browser access, or installed AI Extensions.
- Runtime arguments have clear names, defaults/options when helpful, and do not
exceed three distinct arguments.
- The prompt asks for output that matches the command's real use: replacement
text for edits, bullets for summaries, JSON only when the user needs JSON, and
no extra commentary when the result will be pasted into another app.
References
references/ai-command.md: Raycast AI Command form facts,
AI Command-safe Dynamic Placeholders, modifiers, and compact prompt examples.
1---2name: raycast-ai-command3description: Use this skill when the user wants to create, improve, or troubleshoot a paste-ready prompt for a Raycast AI Command, especially one that uses Dynamic Placeholders such as {selection}, {argument}, {clipboard}, or {browser-tab}. Apply for vague requests like "make a Raycast command that..." and ask targeted questions when missing details would materially reduce prompt quality.4---56# Raycast AI Command78## Overview910Create concise, reliable prompts for Raycast AI Commands. The primary11deliverable is an English prompt that the user can paste into the **Prompt**12field of Raycast's Create AI Command form.1314Keep the skill lightweight: use this file for the workflow and read15`references/ai-command.md` only when placeholder syntax,16Raycast settings, or examples are needed.1718## Workflow19201. Clarify the command's job.21 - Identify the input source: selected text, clipboard, focused browser tab,22 runtime arguments, or AI Extension output.23 - Identify the transformation, audience, tone, language, and expected output24 shape.25 - Ask up to three focused questions when the request is too ambiguous to26 produce a durable command. If a reasonable default is obvious, proceed and27 state the assumption briefly.28292. Choose Raycast context deliberately.30 - Prefer `{selection}` for commands that operate on highlighted text.31 - Use `{argument name="..."}` for values the user should provide at runtime;32 keep to Raycast's maximum of three different arguments.33 - Use `{browser-tab}` only when the command should read the focused browser34 tab and the Browser Extension requirement is acceptable.35 - Read `references/ai-command.md` before using less common36 placeholders, modifiers, browser-tab selectors, or AI Extension patterns.37383. Draft the Raycast prompt in English.39 - Make it self-contained; it should still work weeks later without this40 conversation.41 - Name the input source explicitly before the placeholder.42 - Include only constraints that improve repeatable behavior: scope, tone,43 output format, preservation rules, and fallback behavior.44 - For in-place rewrite commands, usually request only the final replacement45 text so Raycast can paste or apply it cleanly.46474. Return a copy-friendly result.48 - Put the prompt first, in a plain text code block.49 - Add optional Raycast form suggestions only when useful: command name,50 placeholder choices, model/creativity notes, tags, or whether to enable51 Highlight Editing Changes.52 - Keep explanations outside the prompt short and in the conversation53 language; keep the prompt itself in English.5455## Prompt Shape5657Use this shape as a default, then trim unnecessary parts:5859```text60You are [role].6162Use the following [input source]:63{selection}6465Task:66- [specific transformation]67- [important constraints]68- [output format]6970If the input is empty or unusable, reply with one concise sentence explaining what input is needed.71```7273Adapt the placeholder and labels to the user's command. Remove the role line74when it adds no useful behavior.7576## Quality Checklist7778- The generated Raycast prompt is in English.79- The prompt is paste-ready for the Raycast **Prompt** field.80- Dynamic Placeholders are valid for AI Commands and use exact Raycast syntax.81- The prompt avoids hidden assumptions about selected text, clipboard contents,82 browser access, or installed AI Extensions.83- Runtime arguments have clear names, defaults/options when helpful, and do not84 exceed three distinct arguments.85- The prompt asks for output that matches the command's real use: replacement86 text for edits, bullets for summaries, JSON only when the user needs JSON, and87 no extra commentary when the result will be pasted into another app.8889## References9091- `references/ai-command.md`: Raycast AI Command form facts,92 AI Command-safe Dynamic Placeholders, modifiers, and compact prompt examples.