> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enconvo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Commands

> Save a prompt you use often as a command you run from PopBar, a hotkey, or SmartBar.

An AI Command packages a prompt you repeat with its model and settings, so you can run it on any text in one click. Use one for a focused job such as rewriting a support reply. For broader work with tools, use an [Agent](https://docs.enconvo.ai/ai/agents.md); for a sequence of steps, use a [Workflow](https://docs.enconvo.ai/workflows/introduction.md).

![Unsaved Friendly Support Reply AI Command example](https://mintcdn.com/thegreatlionheartpteltd/hQPNJJatkK6kD6HF/images/guides/ai-command-draft.jpg?fit=max\&auto=format\&n=hQPNJJatkK6kD6HF\&q=85\&s=5ca406bde048cd339505666161c925c9)

Unsaved Friendly Support Reply AI Command example.

The video tutorial below makes a command that pulls the action items out of meeting notes in 2 minutes: describe it, try it on your own text, change it in your own words, add it to PopBar, give it a hotkey, and run it in another app.

![How to Make Your Own AI Command in Enconvo | Step-by-Step Tutorial](https://img.youtube.com/vi/zRD7Yg_Grjw/maxresdefault.jpg)

## Create a command

1. Open **Settings → AI Commands**, or run **Create AI Command** from SmartBar, and click **New AI Command**.
2. Describe what the command should do in your own words, then click **Draft**. Enconvo writes the title, icon, and instructions, and runs them on an example right away.
3. Paste some of your own text into the sample and click **Try Again** to see the result on real input.
4. To change the behavior, type the change in **Anything to change?**, for example "group them by owner", and click **Redraft**. The changed lines are marked in the instructions, and the sample result runs again.
5. Under **Where to use it**, keep **Add to PopBar** on to get a PopBar button whenever you select text, or click **Add hotkey** and press the keys you want.
6. Click **Save**.

Example instruction:

```text theme={null}
Rewrite the input as a short, friendly support reply.
Preserve names, dates, product names, and technical details.
Return only the rewritten reply.
```

## Run a command

* **From PopBar:** select text in any app and click the command's button. When the result is ready, click **Paste** to replace the selection.
* **From a hotkey:** select the text and press the command's hotkey. The result opens in SmartBar, where you can paste it.
* **From SmartBar:** search for the command's title and run it on the current input.

## Change a command

Open the command in **Settings → AI Commands** to edit its title and instructions. Changes save as you type.

| Setting | What it changes |
| - | - |
| **PopBar** | Puts the command on the PopBar, or takes it off. |
| **Hotkey** | Keys that run the command on the text you've selected in any app. |
| **Inline Mode** | Runs without a window and pastes the result over your selection. |
| **Post Action** | What the command does with the answer once it's done, where offered. |
| **AI Model** | Shows whether the command follows the model for all AI Commands or uses one picked for it. Click **Change** to choose. |

A built-in command shows **Customize** instead: it makes your own copy, which you can edit. Your own commands have a **⋯** menu with **Duplicate** and **Delete**. Deleting a command also removes it from the PopBar and frees its hotkey.

## Use changing context

Where a field supports variables, use the variable picker to include the input text, the selected text, the active app, or other context. See [Variables](https://docs.enconvo.ai/workflows/variables.md). Check the expanded context before you use a command on private documents.

## Troubleshooting

| Problem | What to do |
| - | - |
| A command is missing | Check that it was saved, then search for its title. |
| The output ignores the selected text | Check the command's input and context settings, and Accessibility in [Permissions](https://docs.enconvo.ai/configuration/permissions.md). |

## Related

> [card] [PopBar](https://docs.enconvo.ai/features/popbar.md)
>
> Run commands on selected text.

> [card] [Writing Toolkit](https://docs.enconvo.ai/features/writing-tools.md)
>
> Ready-made writing commands.

> [card] [Agents](https://docs.enconvo.ai/ai/agents.md)
>
> Assistants with tools for broader work.

> [card] [Workflows](https://docs.enconvo.ai/workflows/introduction.md)
>
> Chain several steps together.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.