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

# Agent prompts

Create and manage reusable prompts for Agent, and browse prompts shared across your organization.

Prompts are reusable instructions you can save and quickly insert into an Agent conversation. Open the avatar menu at the bottom of the left sidebar and go to [Account Settings > Agent Prompts](https://app.cogram.com/dashboard/settings/account-settings/prompts) to manage your prompt library. (If your organization is still on the classic Assistant, this tab is labeled **Assistant Prompts**.)

## My Prompts vs. Organization Prompts

* **My Prompts**: private to you.
* **Organization Prompts**: shared across your entire organization. Any member can use them, but only admins can create them. Non-admins can copy an organization prompt into their personal library.

## Creating a prompt

Click **New Prompt**, enter a title and prompt text, optionally add tags, and click **Add to library**. Admins can toggle **Make this prompt visible organization-wide** to share a prompt with all members.

## Using a prompt

Click the **+** button in Agent's message composer and select **My prompts** or **Organization prompts**. Click any prompt to insert its text into the composer.

## Editing and deleting prompts

For personal prompts, only the creator can edit or delete them. For organization prompts, the creator and any org admin or owner can edit or delete them. Deleting an organization prompt removes it for everyone, and this can't be undone.


---

# 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://docs.cogram.com/agent/agent-prompts.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.
