> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Using Playbooks

> Attach Devin playbooks to a session with a macro, refine them as Devin runs, and browse Organization, Enterprise, and System playbooks in Settings.

## How to use Playbooks

To use playbooks simply select one of the playbooks available to you: your organization's playbooks, your enterprise's playbooks, or Devin's System playbooks. You've successfully attached a playbook if you see a blue pill appear, along with an inline component for editing the playbook before starting your session.

<video controls className="w-full aspect-video" src="https://mintcdn.com/cognitionai/4kAoyAZvu-XIbnzJ/images/using_playbooks1.mp4?fit=max&auto=format&n=4kAoyAZvu-XIbnzJ&q=85&s=43149ea7c714328d6afe470e4d651ee7" data-path="images/using_playbooks1.mp4" />

### Using macros

If a playbook has a **macro** assigned (e.g., `!data-tutorial`), you can quickly attach it by typing the macro name in the prompt input box. This is a convenient shortcut when you know the macro identifier for the playbook you want to use.

Once you start the session, you should see your playbook show up with a grey background in the chat with Devin!

<Frame>
  <img src="https://mintcdn.com/cognitionai/gfRQhyCSwUhbMkzA/images/playbooks6.png?fit=max&auto=format&n=gfRQhyCSwUhbMkzA&q=85&s=45dae83aeda89f18edc68f0d3dae085b" alt="Devin" width="1836" height="1296" data-path="images/playbooks6.png" />
</Frame>

## Refining Playbooks

As you run a new playbook with Devin, you'll identify opportunities to improve the instructions so that Devin can complete the task more reliably. Here are some helpful features for **iterating on playbooks live**:

<Frame>
  <img src="https://mintcdn.com/cognitionai/gfRQhyCSwUhbMkzA/images/playbooks8.png?fit=max&auto=format&n=gfRQhyCSwUhbMkzA&q=85&s=787742ab9a22950f9d21baf9998e3ab3" alt="Devin" width="1002" height="240" data-path="images/playbooks8.png" />
</Frame>

## Browsing Playbooks

Browse and manage playbooks at [Settings > Playbooks](https://app.devin.ai/settings/playbooks). The page groups playbooks into tabs:

* **Organization**: playbooks shared within your current organization.
* **Enterprise**: playbooks shared across every organization in your enterprise. This tab appears at the enterprise level; from an organization, use the **Looking for enterprise playbooks?** link to open them.
* **System**: playbooks provided by Devin, available to everyone.

Each tab lists playbooks with their name, macro, creator, and last-updated date, and includes a search box. If you have permission to manage playbooks in that tab, click **Create playbook** to add a new one.

<Frame>
  <img src="https://mintcdn.com/cognitionai/JQ_e2vFFvoxb4SuE/images/playbooks9.png?fit=max&auto=format&n=JQ_e2vFFvoxb4SuE&q=85&s=72f97b1ca378157327afb3a3812a2474" alt="The Playbooks settings page with the System tab selected, listing Cognition-maintained playbooks with their macros" width="2880" height="2000" data-path="images/playbooks9.png" />
</Frame>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.