> ## 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

## How to use Playbooks

To use playbooks simply select one from your Team or the Community library. 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/k89q9Lsp7DOurdC0/images/using_playbooks1.mp4?fit=max&auto=format&n=k89q9Lsp7DOurdC0&q=85&s=52066bc54fb6b7b07109f95422a0b48e" data-path="images/using_playbooks1.mp4" />

Alternatively, you can attach a `<filename>.devin.md` file when you start your Devin session.

### 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>

## Example Gallery

Check out the Community Gallery at [https://app.devin.ai/playbooks](https://app.devin.ai/playbooks):

<Frame>
  <img src="https://mintcdn.com/cognitionai/gfRQhyCSwUhbMkzA/images/playbooks9.png?fit=max&auto=format&n=gfRQhyCSwUhbMkzA&q=85&s=bb4fdd17d9a0c3bf6debe6647dc551a2" alt="Devin" width="1989" height="1000" data-path="images/playbooks9.png" />
</Frame>
