bot/mentions/c/pf8kBqkH
converted · 5 months ago+ new
article2026-05-22c/pf8kBqkH

How To Automate Real SEO Work With Live SERP Data

Tokens
1,567
Words
1,094
Read
5min
Images
3
Output formatready
how-to-automate-real-seo-work-with-live-serp-datamd
7,081 chars · 1,770 tokensUTF-8 · LF
# How To Automate Real SEO Work With Live SERP Data
 
**Author**: Eric Lancheres ([@ericlancheres](https://x.com/ericlancheres))
**Date**: 2026-05-22
**Source**: https://x.com/i/web/status/2057870729518149922
 
---
 
![Cover](https://pbs.twimg.com/media/HI71DXXawAA64S-.jpg)
 
Most SEO automation fails because the model is guessing.
It gets a URL, a keyword, and a vague instruction like "optimize this page."
Then it gives you the same generic advice everyone has seen a thousand times: match intent, write helpful content, avoid over optimization.
That is not what this is.
This article gives you 17 copy/paste SEO automation recipes you can run inside Codex, Claude Code, or another coding agent with the On-Page.ai MCP connector.
The goal is not to mass produce AI content.
The goal is to make an AI agent do the actual SEO work: scan the page, compare ranking competitors, find missing entities, identify internal link opportunities, make controlled edits, rescan the result, and leave an audit trail.
The proof is in the audit trail.
These workflows are built around measurable SEO execution: live On-Page.ai scans, competitor benchmarks, entity gaps, highly related terms, internal link recommendations, before and after scores, and final reports.
Here is the kind of thing I care about: measurable movement after controlled SEO work, not "AI content" for the sake of AI content.
A good run should show you what data was used, what changed on the page, which entities or highly related terms were added, which internal links were added, what was skipped, what improved after the rescan, and what still needs human review.
That is the difference between AI writing and SEO execution.
How to use these recipes
1. Connect the On-Page.ai MCP: https://api.on-page.ai
2. Pick the workflow that matches the job.
3. Paste it into Codex or Claude Code.
4. Replace the example URL, keyword, sitemap, city, or client details.
5. Let the agent scan, edit, rescan, and report.
The original full guide is here: https://on-page.ai/pages/automate-seo/
The 17 SEO Automation Recipes
1. Recover a Stuck Page in ONE Command
2. Site Wide Internal Links
3. Single Page Internal Links, Detailed Version
4. Single Page Internal Links, Simple Version
5. Site Wide Refresh for Old or Stale Pages
6. Light Page Refresh, Single Page
7. Standard Optimization, Single Page
8. Standard Optimization, Site Wide
9. Full Client Website Audit PDF
10. Single Page Audit PDF
11. Advanced Page Diagnostic: Why Is This Page Not Ranking?
12. Sub Headline Optimization, Single Page
13. Image and Alt Text Optimization, Single Page
14. Local Page Diagnostic: Why Is This Local Page Not Ranking?
15. Local Page Tuning, Standard Optimization
16. Local Website and GBP Alignment Verification
17. Local Website Cannibalization Checker, City or Region Audit
Copy/Paste Workflows
1. Recover a Stuck Page in ONE Command
 
Use this when a page is indexed and published, but stuck below where it should be. The agent scans the page, reads the ranking data, finds the gaps, edits carefully, rescans, and produces a before and after audit trail.
 
Copy/paste prompt:
2. Site Wide Internal Links
 
Use this when you want to build internal links across a site without guessing. The workflow finds relevant source pages, chooses natural anchors, inserts links carefully, and records what changed.
 
Copy/paste prompt:
3. Single Page Internal Links, Detailed Version
 
Use this when one important page needs stronger internal links from the most relevant pages on the same site. This version is more detailed and better for priority pages.
 
Copy/paste prompt:
4. Single Page Internal Links, Simple Version
 
Use this when you need a faster, lighter internal linking pass for one target page. It keeps the task focused and avoids turning a small fix into a full site project.
 
Copy/paste prompt:
5. Site Wide Refresh for Old or Stale Pages
 
Use this when a site has old pages that still have value but need fresh research, better coverage, updated examples, internal links, and a clearer audit trail.
 
Copy/paste prompt:
Recipe 5 continues below
6. Light Page Refresh, Single Page
 
Use this when one page needs a careful refresh without a full rewrite. The goal is to update stale sections while preserving the voice and useful human written content.
 
Copy/paste prompt:
7. Standard Optimization, Single Page
 
Use this when a single page needs a normal optimization pass based on live SERP data. The workflow improves relevance, entities, headings, internal links, and obvious weak spots.
 
Copy/paste prompt:
8. Standard Optimization, Site Wide
 
Use this when you want to run a standard optimization process across a site in a controlled way. It is designed for batches, manifests, checkpoints, and resumable work.
 
Copy/paste prompt:
Recipe 8 continues below
9. Full Client Website Audit PDF
 
Use this when you need a client ready website audit that explains what is wrong, what matters, what to fix first, and how the recommendations connect to real ranking data.
 
Copy/paste prompt:
10. Single Page Audit PDF
 
Use this when you need a focused audit for one page. It is useful for sales calls, client reporting, prioritization, and diagnosing a page before investing in edits.
 
Copy/paste prompt:
11. Advanced Page Diagnostic: Why Is This Page Not Ranking?
 
Use this when a page should be ranking better and you need to know why it is underperforming. This is a diagnostic workflow before you decide what to change.
 
Copy/paste prompt:
12. Sub Headline Optimization, Single Page
 
Use this when the main content is mostly good, but the subheadlines are weak, generic, or missing opportunities to reinforce relevance and user intent.
 
Copy/paste prompt:
13. Image and Alt Text Optimization, Single Page
 
Use this when images and alt text need to support the page instead of sitting there as decorative afterthoughts. The agent improves image context without keyword stuffing.
 
Copy/paste prompt:
14. Local Page Diagnostic: Why Is This Local Page Not Ranking?
 
Use this when a local page is not ranking and you need to compare it against the real local SERP, competitors, service coverage, location signals, and page structure.
 
Copy/paste prompt:
Recipe 14 continues below
15. Local Page Tuning, Standard Optimization
 
Use this when a local page is close, but needs practical tuning based on what is winning in the target city or service area.
 
Copy/paste prompt:
16. Local Website and GBP Alignment Verification
 
Use this when you need to verify that a local website and Google Business Profile are telling the same story. The goal is alignment, trust, and fewer local ranking conflicts.
 
Copy/paste prompt:
17. Local Website Cannibalization Checker, City or Region Audit
 
Use this when a multi location or service area site may have pages competing against each other. The workflow finds city, service, and regional cannibalization problems.
 
Copy/paste prompt:
Recipe 17 continues below
 
![](https://pbs.twimg.com/media/HI795DIaMAI4xbL.jpg)
 
![](https://pbs.twimg.com/media/HI7irsWXIAAeAg8.png)
 
ref · pf8kBqkH

Send to anywhere

or press ⌘K
md