# Respira Playbooks: a WordPress workflow your AI reruns, corrected by your comments

> A Respira Playbook saves the repeatable part of a WordPress job on the site, as one tool any AI agent can run again. On urbankid.ro two playbooks made 16…

Source: https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow

---

! 

Black & Gold Friday, minus the panic: Builder 15 and 20, and Respira Code, the first year at half. Until 2 December, 23:59 UTC.Black Friday: Builder 15, 20 and Respira Code, first year at half.

[See pricing](https://www.respira.press/pricing#bf)

A [Respira Playbook](https://www.respira.press/playbooks) is a workflow your AI saves on your WordPress site, as one named tool any agent can run again. You teach the site the job once. After that, your comments teach the playbook, and acting on them costs one call per post. 

![How a Respira Playbook works: a YouTube link goes to a skill that writes in your voice, then to the playbook, which makes the post in 8 languages; your comments loop back and the playbook runs again with the fixes](https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow/playbook-diagram.jpg) 

How the urbankid playbook works: the skill does the writing, the playbook does the site work in one call per post, and your comments run back through it.

## What a playbook is

An agent creates a playbook with `respira_create_playbook`. It is a small typed JSON document stored on the site: an id, a label, a description, an `input_schema` for what the caller must pass, ordered steps, and an optional `returns` shape. Each step names a Respira tool, its arguments and a name to capture its result under. 

Templates connect the steps. `{{input.title}}` reads what the caller passed, and `{{post.post.id}}` reads a field from an earlier step's result. A template that fills the whole value keeps its type, so a list of category ids arrives as a list and an id as a number. 

Once saved, the playbook registers itself as a WordPress Ability, `respira-playbooks/<id>`. Any agent connected to the site, from Claude, ChatGPT or Cursor, runs it with `respira_invoke_ability` in one call. The steps run on the server through Respira's own handlers, with the same permissions, audit log and snapshots as if the agent made each call itself. `respira_list_playbooks` shows each one with how often it ran and when it last did. 

## Playbook or skill

A playbook is predictable: the same inputs give the same writes. The part of the job that needs judgment does not belong in JSON. For it, Respira has site skills: a Markdown recipe an agent saves with `respira_write_skill`. The skill's name and description ride along in every future session's site context, so the next agent knows it exists and opens it when the task matches. 

- **The playbook holds the site writes.** Create the post, set the author, categories, tags, photo and SEO fields. The same every time.
- **The skill holds the judgment.** How to write it, in whose voice, which facts never to invent, where the pictures come from, what to check before publishing.

## The first run on urbankid

urbankid.ro is the parenting magazine I started in 2009\. It runs on WordPress with Divi and Polylang, in 8 languages. On 29 November I gave my AI two YouTube links, both episodes of *Begin Again with Davina McCall*: Dr. Karen Gurney on desire in long relationships, about 70 minutes, and Ryan Holiday on Stoicism and calm, about 58 minutes. I asked for two articles in my voice, as a father, with the videos embedded, in every language of the site, and a playbook so that next time I only send a link. 

1. **Transcripts and drafts.** YouTube blocks yt-dlp, so the transcripts came from a transcript API. Two writing agents, one per article, drafted the Romanian originals, then 7 translations each.
2. **Two playbooks.** The agent saved `video-article-original`, which creates the Romanian draft in 2 steps (`respira_create_custom_post`, then `respira_update_post` for the Yoast fields), and `video-article-translation`, which fills one post in 1 step.
3. **A failure, fixed once.** The first run of the first playbook stopped at step 2 with `respira_playbook_missing_arg`: the capture holds the post under `post.post.id`, not `post.id`. The step 1 draft stayed. One update fixed the playbook, and the second article ran clean.
4. **Translations.** `respira_create_translation` joined each language to the Polylang group, and `video-article-translation` filled it.
5. **Read back, then published.** All 16 drafts were read back: 8 languages per group, author, category, photo, Yoast title and one embed each. Then they went live.

This is the translation playbook as it sits on the site, shortened:

```
{
  "id": "video-article-translation",
  "label": "Video article: fill one translation",
  "input_schema": {
    "type": "object",
    "properties": {
      "post_id":    { "type": "integer" },
      "title":      { "type": "string" },
      "content":    { "type": "string" },
      "categories": { "type": "array", "items": { "type": "integer" } },
      "featured_media": { "type": "integer" },
      "seo_title":  { "type": "string" }
    }
  },
  "steps": [
    {
      "tool": "respira_update_post",
      "capture": "post",
      "args": {
        "id": "{{input.post_id}}",
        "title": "{{input.title}}",
        "content": "{{input.content}}",
        "categories": "{{input.categories}}",
        "featured_media": "{{input.featured_media}}",
        "seo": { "title": "{{input.seo_title}}" }
      }
    }
  ],
  "returns": { "url": "{{post.post.url}}" }
}
```

## What my review found

Then I read them. Two things on the page were not what I wanted. The pictures were generated, and I want pictures from the video, never generated ones. The heroes were replaced with each episode's YouTube thumbnail, shown whole, and the site rebuilt every share card from it. The YouTube player was also cropped, and one CSS rule on the site now keeps it at 16:9\. 

![The urbankid share card for the Romanian anxiety article: the urbankid logo, the category, the title, Mihai's name and the episode's YouTube thumbnail with Ryan Holiday and Davina McCall, framed whole on a blurred backdrop](https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow/share-card-thumbnail.jpg) 

The share card the site builds by itself from the title, the author and the episode's thumbnail, shown whole.

All 16 live posts were corrected by running the same `video-article-translation` playbook again, once per post. Its one step is an update by post id, so it works on the Romanian originals as well as the translations, and on a post that is already live. Nothing new had to be built to act on my review. 

Then the lessons went into the site skill `youtube-video-article`, which holds the rest of the recipe: where the transcript comes from, the voice rules, the category id for each language, publishing and the gotchas. It now also carries the rule for pictures (the episode's own thumbnail, never a generated one), the 16:9 player and a review step. The next run starts where this one ended. 

## Comments from a phone

The review step uses [Respira Murmur](https://www.respira.press/murmur). After publishing, the agent creates a review link for each Romanian article. I open it on my phone, with no WordPress login, and a bar at the bottom of the page lets me tap any spot and leave a comment. 

I tapped two spots on the desire article. Murmur saved each comment with a screenshot of the exact spot, marked with a green pin, and the text around it, so the agent knows which sentence I mean. 

![A Romanian paragraph from the article with a green Murmur pin on the sentence the comment is about](https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow/murmur-comment-2.jpg) 

The screenshot Murmur saved with my comment. I asked for a different verb here: the sentence now says Dr. Gurney often meets such women, not that they often come looking for her.

One comment asked for a missing word: the sentence now calls the subject not a safe one, where it had said it is not safe. The other asked for that different verb. The agent read both comments back with `respira_list_review_comments`, fixed the Romanian, ran the playbook on that post, and resolved each comment with a note saying what changed. 

![The same Romanian paragraph on a phone after the fix, with a grey check mark where the pin was and the Murmur bar at the bottom showing Feedback, 2 comments and a leave a comment button](https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow/murmur-review-bar-phone.jpg) 

The same paragraph after the fix, on my phone. The pin now shows a check mark, and the bar at the bottom counts the comments.

Read the articles yourself: desire in [Romanian](https://www.urbankid.ro/editorial/mihai-dragomirescu/sexul-vazut-de-un-tata-dorinta-copii-220703)and [English](https://www.urbankid.ro/en/stories/sex-seen-by-a-father-desire-kids-220706), Stoicism in [Romanian](https://www.urbankid.ro/editorial/mihai-dragomirescu/anxietatea-copiilor-tata-stoicism-ryan-holiday-220720) and [English](https://www.urbankid.ro/en/stories/kids-anxiety-father-stoicism-ryan-holiday-220722). 

## The counts

`video-article-original` ran 1 time successfully. `video-article-translation` ran 32 times: 1 to fill the first Romanian draft, 14 translation fills, 16 corrections and 1 Murmur fix. Each live page has the player and 8 hreflang links, and search engines were told about all 16 through IndexNow. 

![The top of the anxiety article on four phones side by side, in Romanian, English, French and German, each with the language switcher and the translated title](https://www.respira.press/blog/playbooks-teach-your-wordpress-site-a-workflow/eight-languages.jpg) 

The anxiety article in 4 of its 8 languages, one Polylang group.

More than half of the playbook's runs were corrections. That is the part I did not expect. The playbook did not make the articles right the first time. It made being corrected cheap: I wrote what was wrong, in a sentence or a tap, and the agent applied it everywhere with the same call it used to build the posts. 

## What else you can make a playbook for

- **Case study pages.** Client, problem, result, quote and photo into a post with a fixed structure, filed in the right category with its SEO fields, as a draft you read.
- **A weekly digest.** The week's picks into the digest post, with its category, tags and excerpt set the same way every week.
- **A product launch page in every language.** One call for the original, then one per language, the same pair as on urbankid.
- **A recurring event post.** Date, place, speaker and registration link into the same layout each month, with the event category and SEO fields.

## How to start

Do the job once with your AI, the usual way, and check the result. Then say:

```
Save what you did here as a playbook on this site, and put the parts that need judgment in a site skill.
```

The agent writes the JSON, so you never have to. When you review the result, tell it what is wrong, or leave comments on the page through a review link, and ask it to apply them with the playbook and add the lesson to the skill. The fields and templates are in the [Playbooks docs](https://www.respira.press/docs/playbooks). 

## Limits, honestly

- **No destructive steps.** `delete_*`, `restore_snapshot` and `apply_builder_patch` are refused when the playbook is created. If a job needs one, the agent calls it directly, where you see it.
- **It does not write the words.** A playbook carries the content it is given. Writing, voice, pictures and checks stay with the agent and the skill.
- **It runs exactly what it holds.** A wrong path in a template stops the run at that step, as on urbankid. Fix the playbook once and run it again.
- **Live posts follow your site's setting.** urbankid has direct editing on, so corrections went straight to the live posts. Without it, Respira puts each change on a draft duplicate for you to approve.
- **It does not read your article.** The human review is the part a playbook does not replace. Only you know the facts of your own life.

## Questions

### What is a Respira Playbook?

A typed JSON workflow an AI agent saves on a WordPress site with respira\_create\_playbook. It registers as a WordPress Ability named respira-playbooks/<id>, and any agent connected to the site runs it in one call with respira\_invoke\_ability. The steps run on the server through Respira's own handlers, with the same permissions, audit log and snapshots as direct calls.

### What is the difference between a playbook and a site skill?

A playbook holds the repeatable site writes: the same inputs give the same writes. A site skill, saved with respira\_write\_skill, is a Markdown recipe for the judgment around them: how to write, in whose voice, which facts never to invent, which images to use and what to check.

### Can a playbook delete content?

No. Destructive tools (delete\_\*, restore\_snapshot and apply\_builder\_patch) are refused when the playbook is created.

[#playbooks](https://www.respira.press/blog?q=playbooks)[#site-skills](https://www.respira.press/blog?q=site-skills)[#murmur](https://www.respira.press/blog?q=murmur)[#polylang](https://www.respira.press/blog?q=polylang)[#urbankid](https://www.respira.press/blog?q=urbankid) 

Found this useful? Share it. 

## Join the *conversation*

0 comments · Respira account 

#### Sign in with your Respira account

Comments are tied to your Respira login, the same account you use for the dashboard and plugin. No third-party sign-in, no scraping.

[Sign in](https://www.respira.press/login?next=https%3A%2F%2Fwww.respira.press%2Fblog%2Fplaybooks-teach-your-wordpress-site-a-workflow%23comments) [Create an account](https://www.respira.press/signup?next=https%3A%2F%2Fwww.respira.press%2Fblog%2Fplaybooks-teach-your-wordpress-site-a-workflow%23comments) 

No comments yet. Be the first to weigh in. 

### You're not the only one *talking* to WordPress.

The Respira community is where agency owners debug Divi migrations at 11 pm, where vibe coders swap prompts that actually ship, and where the roadmap gets written out loud. *Come and breathe.*

Lines of code pushed

40,191,403 

Written to connected sites by AI agents through Respira. Counted from usage reports and refreshed every few minutes.

WordPress sites connected

4,014

Sites with an active Respira connection, counted from site registrations and refreshed every few minutes.

Find Respira wherever you already are 

[ Slack Async threads, release-day huddles and the #show-your-work channel that never sleeps. ](https://go.respira.cafe/slack)[ Discord Live voice on release days, screenshare debugging and the vibe-coder corner that is always buzzing. ](https://go.respira.cafe/respira-discord)[ Reddit Questions, answers and build logs in the open, where the thread is still there months later. ](https://www.reddit.com/r/RespiraforWordPress/)[ Facebook group Agency owners and site owners comparing notes on running AI against real WordPress sites. ](https://www.facebook.com/groups/1447068940850273/)[ GitHub Discussions Long-form questions and answers, bug reports, feature requests and the public roadmap. ](https://go.respira.cafe/github-discussions)[ Founder notes Letters from Mihai on what shipped, what broke and what is next. Every one is archived. ](https://www.respira.press/newsletter) 

See What AI Says

LLM-ready prompts about Respira MCP + WebMCP

What would you like to know? 

Ask your favorite AI

Opens in a new tab. These prompts are designed to teach LLMs what Respira can do. 

Question copied. Paste it in Gemini

!
