> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/digital-agent/conversation-flow/prompt-library.md).

# Prompt library

Save Instructions that work and reuse them in AI nodes – for yourself or for the whole organization.

The prompt library keeps **Instructions** for the [AI node](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/ai-node.md) that you want to reuse. Open it in **Design** › **Prompt library** of a project, or with the book icon next to the Instructions of an AI node.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-0967abb7860f4e8fd2ba33bce965b61131b01a68%2Fprompt-library-list.png?alt=media" alt="The Prompt library with Search, the filter, Add, the Personal and Organization tabs, the sort button, Select and one prompt card Docs – Opening hours assistant with its author, dates and Used: 0"><figcaption><p>The prompt library</p></figcaption></figure>

* **Personal** – your own prompts.
* **Organization** – prompts shared with everyone in the organization.

Each card shows the beginning of the Instructions, who created and last updated the prompt, and **Used** – how many times it was inserted into a node. Find prompts with **Search**, the filter (**Created by**) and the sort button. **Select** lets you **Duplicate** or **Delete** several prompts at once.

## Add a prompt

1. Click **Add**.
2. Enter the **Name**.
3. Turn on **Organization** to share the prompt with your colleagues.
4. In **Works with**, note the **Provider**, **Model** and **Tools** the prompt was written for. This is information for the people who use it – inserting the prompt does not change the node's model or tools.
5. Write the **Instructions** (up to 200,000 characters). Insert variables with the `{x}` icon.
6. Click **Save**.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-8c44434e35e39732c2f72d30e62f05a1b11c6573%2Fprompt-library-detail.png?alt=media" alt="A new prompt with the Name Docs – Opening hours assistant, Organization off, Works with Azure, GPT 6 Luna EU and the tools Knowledge base and Redirect to human, and the Instructions"><figcaption><p>A prompt in the library</p></figcaption></figure>

You can also save the Instructions of an AI node directly: open the book icon in the node and click **Add prompt**.

You can edit and delete only your own prompts. A prompt created by a colleague opens read-only – use **Duplicate** to make your own copy.

## Use a prompt

In the AI node, click the book icon next to the **Instructions** and choose a prompt. It **replaces** the Instructions of the node; the provider, model and tools of the node stay as they are. See [Essential tab](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/ai-node/essential-tab.md#prompt-library).

Tips for writing good Instructions are in the [Prompting cookbook](https://docs.borndigital.ai/for-advanced-users/prompting-cookbook/basics.md).
