Core Concept: Commands
Commands are the fundamental building blocks of Rephlo. A Command is essentially a saved "recipe" for an AI task, consisting of instructions (prompts) and configuration settings.
Anatomy of a Command
Every Command has the following properties:
- Name: A short, descriptive title (e.g., "Summarize Email").
- Description: A helper text explaining what it does.
- Instruction: The complete prompt including persona and task instructions (e.g., "You are an expert editor. Improve clarity and grammar while preserving the original meaning.").
- Icon: A visual symbol for the dashboard.
- Group: Optional category for organization.
┌─────────────────────────────────────────────────────────────────────────┐
│ COMMAND EDITOR INTERFACE │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Edit Command [X] │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ │ │
│ │ Name: [Summarize Email________________________] │ │
│ │ │ │
│ │ Description: [Creates a brief summary of email content] │ │
│ │ │ │
│ │ Icon: [📧] [Change...] Group: [Writing v] │ │
│ │ │ │
│ │ ───────────────────────────────────────────────────────── │ │
│ │ Instruction:* [✨ Improve] │ │
│ │ ┌─────────────────────────────────────────────────────────┐ │ │
│ │ │ You are an expert summarizer. Create concise, │ │ │
│ │ │ actionable summaries that capture the key points. │ │ │
│ │ │ │ │ │
│ │ │ Summarize this email in 2-3 sentences, highlighting │ │ │
│ │ │ any action items or deadlines. Keep the tone │ │ │
│ │ │ professional but accessible. │ │ │
│ │ │ │ │ │
│ │ └─────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ ───────────────────────────────────────────────────────── │ │
│ │ Execution Mode: (o) Combination ( ) Standalone ( ) Template │ │
│ │ Default Space: [None v] │ │
│ │ │ │
│ │ [Cancel] [Test] [Save] │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Tip: Click the Improve button to have AI enhance your instruction with better prompt engineering techniques.
Execution Modes
Rephlo Commands operate in three modes, determined by how they handle input and output:
1. Combination Mode (Default, Context-Aware)
These are the most powerful commands. They combine three elements automatically:
- Your Instruction (the command logic)
- Selected Text (what you highlighted on screen)
- Active Space (relevant documents from your knowledge base)
- Use Case: "Rewrite this email [Selected Text] based on our tone guide [Space]."
- Behavior: Rephlo automatically assembles the selected text and space data into the prompt before sending it to the AI. You write only the instruction text; Rephlo handles the rest.
- Variables: You do not need to place
{{input_text}}or{{space_data_all}}manually -- Rephlo injects them for you.
2. Standalone Mode (Manual Control)
These commands give you full control over prompt structure. You manually place variables to decide exactly where input text and space data appear.
- Use Case: "Generate a random password", "Explain Quantum Physics", "Draft a template with specific data placement."
- Input: You type the input manually into the prompt box, or use variables to control placement.
- Variables:
{{input_text}},{{space_data_all}}, and{{filename}}are all supported and resolved at runtime.
3. Template Mode (No AI Execution)
Commands in Template mode do not call an AI at all. Instead, they copy the command instruction to your clipboard so you can paste it into an external AI tool (ChatGPT, Claude.ai, Gemini, etc.).
- Use Case: Storing refined prompts for AI services you use in a browser.
- Behavior: When triggered, the command instruction is placed on the clipboard. No API key is needed.
- Variables: Variables are not resolved. The instruction text is copied as-is.
┌─────────────────────────────────────────────────────────────────────────┐
│ EXECUTION MODES COMPARISON │
├──────────────────────────────────── ─────────────────────────────────────┤
│ │
│ COMBINATION (Default) STANDALONE TEMPLATE │
│ │
│ ┌──────────────────┐ ┌──────────────────┐ ┌────────────────┐ │
│ │ Instruction │ │ Instruction with │ │ Instruction │ │
│ │ (just the task) │ │ {{input_text}} + │ │ (copied as-is │ │
│ │ │ │ {{space_data_all}}│ │ to clipboard) │ │
│ └────────┬─────────┘ └────────┬─────────┘ └───────┬────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌──────────────────┐ ┌──────────────────┐ ┌────────────────┐ │
│ │ Rephlo auto-adds: │ │ Variables are │ │ No AI call. │ │
│ │ + selected text │ │ resolved where │ │ Paste into │ │
│ │ + space data │ │ you placed them │ │ ChatGPT, etc. │ │
│ └────────┬─────────┘ └────────┬─────────┘ └────────────────┘ │
│ │ │ │
│ ▼ ▼ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ Sent to AI │ │ Sent to AI │ │
│ └──────────────────┘ └──────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Variables & Templating
When creating advanced commands, you can use dynamic placeholders. However, their behavior depends on the execution mode:
Variable Scope by Mode
| Variable | Combination Mode | Standalone Mode | Template Mode |
|---|---|---|---|
{{input_text}} | Auto-injected (no variable needed) | Manually placed in instruction | Not resolved |
{{space_data_all}} | Auto-injected | Manually placed in instruction | Not resolved |
{{filename}} (e.g., {{style_guide_pdf}}) | Auto-injected by name | Manually placed in instruction | Not resolved |
Variable Reference
{{input_text}}: Injects the text currently highlighted on your screen (your selected text).{{space_data_all}}: Injects all data from the active Space (your knowledge base documents).{{filename}}: Injects content from a specific file in your Space (e.g.,{{style_guide_pdf}}for a file named "style_guide.pdf").
┌─────────────────────────────────────────────────────────────────────────┐
│ VARIABLE INJECTION FLOW (Standalone Mode) │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ YOUR PROMPT TEMPLATE RUNTIME INJECTION │
│ ┌──────────────────────┐ ┌──────────────────────┐ │
│ │ │ │ │ │
│ │ Review this text: │ │ Review this text: │ │
│ │ {{input_text}} │ ────────────▶ │ "The quick brown fox │ │
│ │ │ │ jumps over..." │ │
│ │ Apply the rules from:│ │ │ │
│ │ {{style_guide_pdf}} │ ────────────▶ │ Apply the rules from:│ │
│ │ │ │ [Content of PDF...] │ │
│ └──────────────────────┘ └──────────────────────┘ │
│ │
│ AVAILABLE VARIABLES: │
│ ┌───────────────────────┬────────────────────────────────────────┐ │
│ │ {{input_text}} │ Selected/highlighted text │ │
│ ├───────────────────────┼────────────────────────────────────────┤ │
│ │ {{space_data_all}} │ All documents from active Space │ │
│ ├───────────────────────┼────────────────────────────────────────┤ │
│ │ {{filename}} │ Specific file content (by name) │ │
│ └───────────────────────┴────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Example Standalone Command Prompt:
Review this text: {{input_text}}
Apply the writing rules from: {{style_guide_pdf}}
When to use each mode:
- Combination -- Best for most tasks. Just write your instruction and let Rephlo handle assembling the selected text and space data. This is the default and recommended mode.
- Standalone -- Use when you need precise control over where input text and space data appear in your prompt, or when building complex multi-variable prompts.
- Template -- Use when you want to store prompts for external AI tools (browser-based ChatGPT, Claude.ai, etc.) without making an API call.
Favorites
You can mark frequently used commands as Favorites.
- Favorites appear on the Home Dashboard for one-click access.
- They are also prioritized in search results.
Next Concept: Learn about Spaces to add memory to your commands.