# Commands

Narafy AI Commands extend the functionality of our Instruct feature, which allows you to interact with AI directly within your notes for tasks like shortening paragraphs or summarizing content.&#x20;

While Instruct is useful for one-off questions or instructions, AI Commands let you automate these interactions with customizable, repeatable actions tailored to your specific needs.

## Accessing the Command Manager

You can access the Command manager in the following ways:

**Menu** - Select Edit > Command Manager

<figure><img src="/files/5zMzRJmESTkxz4sl5p1k" alt="" width="372"><figcaption></figcaption></figure>

**Floating Toolbar** - Highlight text, click to access the AI toolbar, then click the 'gear' icon.

<figure><img src="/files/COFpQs8gSDGmV0jW74mr" alt="" width="322"><figcaption></figcaption></figure>

**Instruction** - When in 'Instruct' mode click the 'gear' icon.

<figure><img src="/files/J6RkX2J8JdL97p2kGF8K" alt="" width="375"><figcaption></figcaption></figure>

## Creating Commands

To create a new command, select the option to "Create a Command." You will be prompted to define the command's function.&#x20;

For example, if you frequently need to fill out a specific template format, you can create a command called "Fill Template."

<figure><img src="/files/WVCYRKiBr8pUIGtOg8qU" alt=""><figcaption></figcaption></figure>

If you select 'On toolbar' this command will be available on your floating toolbar, when you have text selected.

## Creating Command Chains

To create a new chain, click 'New Command Chain'. From there you can add a series of existing commands.

<figure><img src="/files/K9B6SSk5vh3CRjgAEawu" alt=""><figcaption></figcaption></figure>

## Using Commands & Command Chains

To use commands or command chains, you can use instruct mode and type `/`.

<figure><img src="/files/lX215nQTOwcpb0rLY3R9" alt=""><figcaption></figcaption></figure>

Alternatively, if you've added them to the toolbar just select text and click the associated button.

<figure><img src="/files/Kp3Qq8BoMNXwBnEW3ogr" alt="" width="268"><figcaption></figcaption></figure>

## Tips for Effective Commands

* **Be Clear and Specific**: The more specific your instruction, the more accurately the AI can fulfill your request.
* **Experiment with Different Commands**: Try out various commands to see how the AI responds and refine your instructions based on the results.
* **Use Context Wisely**: When applicable, select text to provide clear context to the AI, improving the relevance and accuracy of its outputs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://info.narafy.com/narafy-ai/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
