> For the complete documentation index, see [llms.txt](https://help.chatlyai.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.chatlyai.app/products-and-features/prompt-library.md).

# Prompt Library

Save prompts you use often, with blanks you fill in each time.

The **Prompt library** keeps the prompts that work for you, so you don't have to type them again. A prompt can have blanks, called variables, that you fill in each time you use it.

## Open the Prompt library

Click **Prompt library** in the left sidebar. It shows your saved prompts, and a few ready-made ones under **Or start from one of ours**: **Meeting prep**, **Social post set** and **Job description**.

![The Prompt library page with New prompt and the ready-made prompts](https://3503370835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHDPAn3RzU7mRQrMH1UK%2Fuploads%2FZpFcMZyuwr6PMKL5lueC%2Fch-prompts.webp?alt=media)

## Save a prompt

1. Click **New prompt** (1).
2. Give it a **Name**.
3. Under **Who can use it**, choose who can use the prompt (**Only you** by default).
4. Write the **Prompt**. Put a word in double braces, like `{{audience}}`, to make it a variable, or click **Add variable**. **Enhance** can improve the wording for you.
5. Click **Save prompt**.

![The New prompt window with Name, Who can use it and Prompt](https://3503370835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHDPAn3RzU7mRQrMH1UK%2Fuploads%2FxtGgDEakMSARiESMaftk%2Fch-prompts-new.webp?alt=media)

Prompts can be up to 20,000 characters long.

## Start from a ready-made prompt

Click one of the ready-made prompts, such as **Meeting prep**. It opens in the **New prompt** window with its text filled in, so you can change it and click **Save prompt** (1).

![A ready-made prompt opened in the New prompt window](https://3503370835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHDPAn3RzU7mRQrMH1UK%2Fuploads%2F6HAjjDKAQXcD91qOj4Zm%2Fch-prompts-starter.webp?alt=media)

## Example

**Meeting prep:** *Brief me on `{{company}}` before my call with `{{person}}`. Cover what they do, their recent news and three questions I should ask.* Each time you use it, you fill in the company and the person.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.chatlyai.app/products-and-features/prompt-library.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
