> Every playbook: https://protuno.com/playbooks.md · Site map for AI agents: https://protuno.com/llms.txt

# AI SEO Optimiser

Works on one post you choose in advance. With no post set, it stops without changes. Drafts a title, meta description, alt text and structured data, applies what can be safely written, then rechecks. Titles and descriptions need Yoast or Rank Math. Headings and internal links are only recommended.

- Agent: Iris (SEO)
- Steps: 11
- Changes the site: yes, in step 10
- Backup: Saves a backup or snapshot in step 9 (SEO Safety Snapshot), before step 10 changes the site.
- Connector: Firecrawl
- You get: A written Markdown report with before and after values for each change and the checks run afterwards.
- Looks at: Title, meta description and image alt text; Structured data on the page; Competing search results when a keyword is set
- Page: https://protuno.com/playbooks/ai-seo-optimiser
- Ask: "Iris, run AI SEO Optimiser on my site."

## Steps

1. **Resolve Target And Gateway**: Reads the post or page you chose before the run, confirms it is published, and stops if none is set or it is not published.
2. **Detect SEO Framework**: Detects the SEO plugin. Titles and descriptions are written only for Yoast and Rank Math.
3. **Read On Page State**: Reads the post's current on page SEO settings.
4. **Firecrawl Rendered Enrichment**: Fetches the rendered page with Firecrawl, or from the site itself if Firecrawl is not connected.
5. **Keyword And SERP Context**: Looks up competing search results with Firecrawl when a target keyword is set, and skips this if not.
6. **Diagnose On Page SEO**: Lists on page SEO problems with a severity for each, against current best practice.
7. **Compose Proposed Fixes**: Writes proposed fixes for title, description, image alt text and structured data where they can be written, within set limits.
8. **SEO Diff Approval Gate**: Lists each change with before, after and reason. Automatic checks drop any that break the limits. No person approves.
9. **SEO Safety Snapshot**: Saves the current title and description to a backup before the write. The old post text is recorded when it is changed.
10. **Apply SEO Fixes**: Applies the checked fixes to that one post and its SEO fields, touching no files or other posts. `changes the site`
11. **Recheck And SEO Report**: Rereads each changed field, and reports the before and after values.

## Good to know

- Runs when you ask for it in your AI app. On Pro and Agency you can also put it on a routine.
- Uses Firecrawl if connected. Without it, the site fetches its own pages.
- Works on one post you choose in advance. With no post set, it stops without changes.
- Changes that post and its SEO fields in one step: the apply step (step 10 of 11).
- Post text edits are recorded, so Roll back can undo them, and WordPress keeps a revision. Title and description can be rolled back only on sites that support it. Otherwise they are restored from the saved backup.
- No person approves the change. Automatic checks decide what is applied.
- The keyword lookup runs only when a target keyword is set.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "AI SEO Optimiser", then `propose_agent_plan`. In Approval mode, ask the user to press Approve in Protuno; in Auto mode the run starts when you propose it.
