> For the complete documentation index, see [llms.txt](https://info.narafy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info.narafy.com/narafy-ai/commands.md).

# 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="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2Few7ehlvRS36ESFdaixBj%2Fimage.png?alt=media&amp;token=9dc3edc5-c673-4eb4-bb00-9819504f01f3" alt="" width="372"><figcaption></figcaption></figure>

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

<figure><img src="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FwxOTTqAPqo8AZYlQuown%2Fimage.png?alt=media&amp;token=a97b18ba-8257-4da1-867c-9fb515b057b8" alt="" width="322"><figcaption></figcaption></figure>

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

<figure><img src="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FtKX51W1T12T3s49KQgjH%2Fimage.png?alt=media&amp;token=24f0f3bd-f4a7-4bfe-a9b0-63d667010f4b" 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="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FsHsva9aIACL0nreagwca%2Fimage.png?alt=media&amp;token=7c074a13-bf16-4bc5-ab6d-b08a9815036b" 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="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FaQUpSKaKGjdJBKgYIFDj%2Fimage.png?alt=media&amp;token=50983aab-2f24-40f7-95d6-d715960cddae" alt=""><figcaption></figcaption></figure>

## Using Commands & Command Chains

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

<figure><img src="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FgoEGIstiAgtTuWb6UrLj%2Fimage.png?alt=media&amp;token=75fa5bd5-12e8-4d8d-9908-ac106f90c2fd" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2563988222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHl7rjf6qbPFcanY3zVvu%2Fuploads%2FzixF7WGHLtKnLazWiQ93%2Fimage.png?alt=media&amp;token=c1a52137-2902-4aef-b43b-66a13e097176" 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.
