# Recipes that keep slates up to date

## Agent prompt

```text
Help me set up a Slatebox recipe. Ask what should stay up to date (a GitHub repository's architecture, a Linear roadmap or cycle, decisions in Slack channels, a Google Sheet, or data my own systems post), then pick the matching built-in recipe from the guide, or draft one from my words with recipes_draft if I am connected over MCP. Tell me which integration to connect and walk me through Add a recipe, Try it or Preview the first run, Turn on, and keeping the first run. Before you turn on a recipe that posts outside Slatebox, give it a permission or approve one of its changes for me, tell me exactly what it will post and where, and ask me first.

Read https://docs.slatebox.com/Using-Slatebox/recipes.md first. Ask for the inputs you need. Tell me what you verified and which steps I still need to do.

If your client cannot fetch the documentation, read the same published file at https://raw.githubusercontent.com/Slatebox/slatebox-docs/retype/Using-Slatebox/recipes.md.
```

A recipe is a small agent you turn on in a project. It watches something your team already uses, such as a repository, a Linear team, a Slack channel, a Google Sheet or your own webhook, and keeps a slate current: real notes, lines and boards that anyone can edit. Recipes are free on Slatebox Cloud and on a self-hosted Slatebox.

## Add a recipe

1. Open **Projects** in the sidebar, then **New project**, or open one you have.
2. Open the project's **Recipes** tab and choose **Add a recipe**.
3. Pick a recipe, or describe one in your own words (below).
4. Connect the tool it reads: **Install Slatebox on GitHub**, or **Connect** Linear, Slack or Google. One click, then you come back.
5. Choose **Preview the first run**, then **Turn on**.
6. Keep the first run. It only suggests: ghost notes with **Keep all**. Right after you keep it, the slate asks once: **Apply future updates automatically?** **Yes** is the default; the switch also stays on the recipe's card.

## The recipes

| Recipe | Reads | Keeps |
| --- | --- | --- |
| Living architecture | Every push to a GitHub repository's default branch, and a schedule you set | A service map, a module graph and an API surface, and with **Keep the diagrams in the repo too** the same as `.mmd` files through a pull request you merge. [Architecture diagrams from GitHub](architecture-diagrams-from-github.md) |
| Pull request impact | Pull requests | One slate per pull request: what it adds, removes and touches |
| Diagrams as code | Edits to the slates you map | Mermaid files in your repository, through one pull request |
| Live roadmap from Linear | Linear projects | A roadmap board by target date, a dependencies map and project health. [Linear boards](linear-boards.md) |
| Cycle board from Linear | Linear issues and cycles | One board per team cycle, with blockers and scope changes |
| Release map from Linear and GitHub | GitHub releases and Linear issues | A frame per release with the issues it shipped |
| Decision log | Slack channels | A board of decisions: Maybe, Decided, Revisited, Reversed. [Slack decision log](slack-decision-log.md) |
| Project timeline | Slack channels | A launch plan with owners and dates, and every commitment |
| Concept map | Slack channels | The channels' vocabulary as a mind map |
| Weekly channel digest | Slack channels, and Linear if you pick teams | Last week on one slate and a presentation |
| Sheet-backed live board | A Google Sheet | An org chart, kanban, hiring plan, pipeline or timeline |
| Design doc to diagram | A Google Doc | The doc's diagrams, outline and components |
| Render from a webhook | What your systems post | A graph, Mermaid diagram, board or text. [Zapier and n8n](zapier-and-n8n.md) |
| Project index | The project | One slate listing every slate and which agent keeps it |

## Build a recipe from your words

Say what should stay up to date, such as “Every Monday at 9, put open Linear bugs for the Web team on a triage board and post the link in #eng.” Start from **Add a recipe**, from Ask Slatebox on a slate in a project, or from **Make this a recipe** in a slate's menu. You get a card with four lines you can change: **When**, **Reads**, **Keeps** and **Posts**.

**Try it** runs it once for real and shows the slate it would make and what it would post, without saving or posting anything. **Turn on** adds it to the project.

A recipe from your words can also keep its diagram in a repository as one `.mmd` or `.md` file, such as `docs/architecture/overview.mmd`. It opens a pull request from its own branch, `slatebox/recipe-<its id>`, that a person merges. It only writes a new file of its own, never a file people keep such as a README or an agents file. Each pull request waits for your **Approve** until you allow it on its own; changing the recipe's words takes that permission back.

## What a recipe never does on its own

- **People's edits win.** A note a person moves, rewords, restyles or deletes is theirs. The recipe never changes it again.
- **Suggest first.** The first run is always suggestions. Each later run is one undo.
- **Nothing outside Slatebox changes without you.** A pull request, a comment, a Slack post or a Linear change needs a permission you grant on the recipe, in the app or through your agent if you let it. Without one, each change waits on the recipe's status slate with **Approve** and **Decline**.

Every recipe has switches: pause it, pause all your recipes (Profile), pause a project's recipes, or turn recipes off for a team (Team settings). A built-in recipe's schedule is yours to change in its **Settings**, in your time zone, at most every 15 minutes. On a self-hosted Slatebox, an admin turns recipes on in **Admin › Recipes**; they are off until then. The GitHub recipes also need the server's own GitHub App, which an admin sets up in **Admin › AI control › Integration apps**.

## From an agent or a script

Your agent can do anything with your recipes that you can do in the app: draft, try, add, schedule, turn on, pause, resume and delete them. Agents connected over MCP get `recipes_draft`, `recipes_preview`, `recipes_create`, `recipes_activate`, `recipes_copy_to` and the rest. To let your agent turn on a recipe that posts outside Slatebox or came from the library, give a recipe a permission (`recipes_grant`), or approve its waiting changes (`recipes_decide_write`), allow **Let my recipes change things outside Slatebox, and approve their changes** (`recipes:grant`) when you make its token or connect it. Your team's settings still decide, the activity log shows each step as your agent's, and you can pause a recipe or take a permission back at any time. [What your agent can do](../Developers/SlateboxAPI/agent-actions.md#recipes-what-your-agent-can-do-for-you)

Scripts use `/api/v1` with a token that has `recipes:read`, `recipes:write`, `recipes:run` or `recipes:grant`:

<!-- tabs -->

```sh curl
curl -X POST "https://app.slatebox.com/api/v1/recipes/$INSTANCE/run" \
  -H "Authorization: Bearer $SLATEBOX_API_TOKEN" -H 'Content-Type: application/json' \
  -d '{"reason":"nightly build"}'
```

<!-- /tabs -->

Recipes also send signed webhooks when they run and accept signed posts from your systems. [Zapier and n8n](zapier-and-n8n.md#send-data-in-with-a-signed-webhook)

## Questions

### What is a Slatebox recipe?

A small agent you turn on in a project. It watches a repository, a Linear team, a Slack channel, a Google file or a webhook and keeps a slate of real notes, boards and diagrams current.

### Do recipes cost anything?

Turning a recipe on is free on Slatebox Cloud and on a self-hosted Slatebox. Steps that ask the agent, such as naming modules or a weekly summary, use Slatebox Pro credits, a balance or your own key on Slatebox Cloud, and the administrator's keys on a self-hosted Slatebox. A recipe that never asks the agent needs none of these. [See pricing](https://slatebox.com/plans/)

### Does a recipe change anything outside Slatebox by itself?

Only with a permission you grant for that recipe, yourself or through your agent if you allowed it `recipes:grant`. Without one, each pull request, post or Linear change waits as a card with **Approve** and **Decline**.

### What happens when someone edits a slate a recipe keeps?

Their edit wins. The recipe works around notes people changed and never moves a note a person placed.
