Selected allows you to customize commands in two ways:
- Customize built-in commands - Modify the prompts of any of the customizable built-in commands with your own version to fulfill your specific needs. You can reset them to default at any time.
- Create custom commands - Build entirely new commands for your daily tasks that aren’t covered by the built-in commands.
Command Structure
Each command consists of two key components:
- System prompt - Defines the overall behavior and role of the command
- User prompt - Specifies what to do with the input (selected text, attachments, custom prompt)
You can use variables in your prompts to reference:
- Selected text (
{{selectedText}})
- Attachment text (
{{attachmentText}})
- Custom input from the user (
{{inputtedText}})
All available variables can be found in the Variables section of the Commands tab. You can add your own ones if needed.
Example: Prompt Optimizer
Here’s an example of a custom command that optimizes prompts for AI models:
-
Name: Prompt Optimizer
-
Icon: Choose an icon that represents your command
-
Conditions:
- Selected text: required
- Attachment: ignored
- Inputted text (Custom prompt): ignored
-
System prompt:
You're a great LLM Prompt Optimizer! Help me optimize the
following prompt:
-
User prompt:
The raw prompt to be optimized is as:
{{selectedText}}
Last modified on December 30, 2025