Skip to main content

Managing Commands

Commands are the tools you build to interact with the AI. Rephlo comes with a starter set, but the real power lies in customizing them.

Creating a New Command

  1. Open the Dashboard.
  2. Navigate to the Commands tab/section.
  3. Click the "New Command" (+) button.
  4. Fill in the details:
    • Name: Keep it short (e.g., "Refactor C#").
    • Description: Remind yourself what it does.
    • Instruction: Your complete prompt including persona and task (e.g., "You are a Senior C# Developer. Analyze this code and suggest improvements...").
      • Tip: Use {{input_text}} to explicitly place the selected text, or leave it out for Rephlo to append it automatically.
    • Group: Optionally assign to a Command Group for organization.
  5. Save.
┌─────────────────────────────────────────────────────────────────────────┐
│ COMMAND CREATION FORM │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ New Command [X] │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ │ │
│ │ BASIC INFO │ │
│ │ ┌───────────────────────────────────────────────────────────┐ │ │
│ │ │ Name*: [Refactor C#_______________________] │ │ │
│ │ │ Description: [Refactors and improves C# code____] │ │ │
│ │ │ Icon: [💻] [Change...] Group: [Coding v] │ │ │
│ │ └───────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ INSTRUCTION │ │
│ │ ┌───────────────────────────────────────────────────────────┐ │ │
│ │ │ Instruction:* [✨ Improve] │ │ │
│ │ │ ┌───────────────────────────────────────────────────────┐ │ │ │
│ │ │ │ You are a Senior C# Developer with expertise in │ │ │ │
│ │ │ │ clean code principles and SOLID design patterns. │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ Analyze this code and suggest improvements: │ │ │ │
│ │ │ │ - Better variable naming │ │ │ │
│ │ │ │ - Simplify complex logic │ │ │ │
│ │ │ │ - Apply SOLID principles where applicable │ │ │ │
│ │ │ └───────────────────────────────────────────────────────┘ │ │ │
│ │ └───────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ SETTINGS │ │
│ │ ┌───────────────────────────────────────────────────────────┐ │ │
│ │ │ Mode: (o) Standalone ( ) Combination │ │ │
│ │ │ Space: [None v] │ │ │
│ │ │ [ ] Mark as Favorite │ │ │
│ │ └───────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ [Cancel] [Test] [Save] │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Editing an Existing Command

  1. Locate the command in the list.
  2. Click the Edit (Pencil) icon.
  3. Modify the prompts or settings.
  4. Save.

Testing Commands

You don't need to leave the editor to see if a command works.

  1. In the Command Editor, look for the "Test" or "Preview" tab.
  2. Enter some dummy text in the "Input" field.
  3. Click Run.
  4. Review the AI's output in the "Output" panel.
  5. Tweak your prompt until the result is perfect.
┌─────────────────────────────────────────────────────────────────────────┐
│ COMMAND TEST DIALOG │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Test Command: "Refactor C#" [X] │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ │ │
│ │ INPUT │ │
│ │ ┌───────────────────────────────────────────────────────────┐ │ │
│ │ │ public void P(int a) { │ │ │
│ │ │ if (a > 10) Console.WriteLine("X"); │ │ │
│ │ │ else Console.WriteLine("Y"); │ │ │
│ │ │ } │ │ │
│ │ └───────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ [Run Test] │ │
│ │ │ │
│ │ OUTPUT │ │
│ │ ┌───────────────────────────────────────────────────────────┐ │ │
│ │ │ public void ProcessThreshold(int thresholdValue) │ │ │
│ │ │ { │ │ │
│ │ │ string message = thresholdValue > 10 ? "X" : "Y"; │ │ │
│ │ │ Console.WriteLine(message); │ │ │
│ │ │ } │ │ │
│ │ │ │ │ │
│ │ │ Changes made: │ │ │
│ │ │ - Renamed method to be descriptive │ │ │
│ │ │ - Simplified conditional logic with ternary │ │ │
│ │ └───────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ Provider: OpenAI (gpt-5.1) | Tokens: 45 in / 82 out │ │
│ │ │ │
│ │ [Copy Output] [Edit Prompt] [Close] │ │
│ │ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Archiving and Deleting

  • Archive: If you don't use a command often but want to keep it, choose Archive. It will be hidden from the main list but preserved.
  • Delete: Permanently removes the command.

Organizing with Favorites

Click the Star icon on any command card to mark it as a favorite. Favorites appear at the top of your command list and are easily accessible from the Dashboard.


Command Groups

Command Groups let you organize related commands into logical categories for faster access.

Creating a Command Group

  1. Open Dashboard > Commands
  2. Click New Group in the toolbar
  3. Enter a Group Name (e.g., "Code Review", "Writing", "Translation")
  4. Click Create
┌─────────────────────────────────────────────────────────────────────────┐
│ COMMANDS VIEW WITH GROUPS │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ [+ New Command] [New Group] [Search...] [Export/Import ▼] │
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ 📁 Code Review [v] │ │
│ │ ├── Find Bug ★ ⋮ │ │
│ │ ├── Security Audit ⋮ │ │
│ │ └── Check Null Safety ⋮ │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ 📁 Documentation [v] │ │
│ │ ├── Gen Docstring ★ ⋮ │ │
│ │ └── Explain Code ⋮ │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ 📁 Writing [v] │ │
│ │ ├── Summarize ★ ⋮ │ │
│ │ ├── Fix Grammar ⋮ │ │
│ │ └── Simplify ⋮ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
│ 📁 Ungrouped Commands (3) │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Assigning Commands to Groups

Method 1: During Creation When creating a new command, select a group from the Group dropdown in the form.

Method 2: From Command List

  1. Right-click the command
  2. Select Move to Group
  3. Choose the target group

Method 3: Drag and Drop Drag a command card and drop it onto a group header to move it.

Managing Groups

  • Rename: Right-click the group header > Rename Group
  • Delete: Right-click the group header > Delete Group (commands are moved to Ungrouped)
  • Reorder: Drag group headers to change their display order
  • Collapse/Expand: Click the arrow to collapse or expand a group

Context Menu Actions

Right-click any command to access quick actions:

ActionDescription
View DetailsOpen command in read-only view
EditOpen command in edit mode
CloneCreate a copy with "(Copy)" suffix
ExecuteRun the command immediately
Assign to SpaceLink command to one or more Spaces
Move to GroupOrganize into a Command Group
Toggle FavoriteAdd/remove from favorites
Hide from MenuRemove from quick-access overlay menu
ArchiveHide from main list (recoverable)
DeletePermanently remove
┌─────────────────────────────────────────────────────────────────────────┐
│ RIGHT-CLICK CONTEXT MENU │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌───────────────────────┐ ┌─────────────────────────┐ │
│ │ Summarize ★ │ → │ 📋 View Details │ │
│ │ Condenses long texts │ │ ✏️ Edit │ │
│ └───────────────────────┘ │ 📄 Clone │ │
│ │ ▶️ Execute │ │
│ │ ───────────────────── │ │
│ │ 📁 Assign to Space ▶ │ │
│ │ 📂 Move to Group ▶ │ │
│ │ ───────────────────── │ │
│ │ ★ Toggle Favorite │ │
│ │ 👁️ Hide from Menu │ │
│ │ ───────────────────── │ │
│ │ 📦 Archive │ │
│ │ 🗑️ Delete │ │
│ └─────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Cloning Commands

The Clone feature creates a duplicate of an existing command, useful for:

  • Creating variations of a working command
  • Testing prompt modifications without risking the original
  • Sharing a template with team members who can customize it

To Clone:

  1. Right-click the command > Clone, or
  2. Open the command > Click the Clone button in the toolbar

The cloned command appears with "(Copy)" appended to its name.


Multi-Space Assignment

Commands can pull context from multiple Spaces simultaneously. This is powerful for tasks that need information from different knowledge bases.

Example: A "Draft Email" command that uses both:

  • Brand Voice Space (tone guidelines)
  • Client Info Space (recipient background)

Assigning Multiple Spaces

  1. Open the command in Edit mode
  2. In the Space section, click + Add Space
  3. Select additional Spaces from the dropdown
  4. Reorder Spaces to prioritize context (first Space has highest priority)
┌─────────────────────────────────────────────────────────────────────────┐
│ MULTI-SPACE ASSIGNMENT │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ ASSIGNED SPACES │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ 1. 📚 Brand Voice 1,240 tokens [x] │ │
│ │ 2. 👤 Client Info 890 tokens [x] │ │
│ │ 3. 📊 Project Context 2,100 tokens [x] │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ [+ Add Space] │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
│ Total Context: 4,230 tokens │
│ │
└─────────────────────────────────────────────────────────────────────────┘

Hide from Context Menu

If you have commands you rarely use from the overlay menu but don't want to delete:

  1. Right-click the command > Hide from Menu
  2. The command remains accessible from the Dashboard but won't appear in the quick-access overlay

To unhide: Right-click the command > Show in Menu


Export & Import Commands

Commands can be exported to JSON files for backup, sharing, or migration. See Import & Export for complete details.

Quick Export:

  1. Select commands using checkboxes
  2. Click Export/Import > Export Selected
  3. Save the .json file

Quick Import:

  1. Click Export/Import > Import Commands
  2. Select a .json file
  3. Choose how to handle duplicates (Skip, Replace, Rename)

Next Feature: Learn how to organize your knowledge with Managing Spaces.