Automating SEO with OpenClaw
Put your organic traffic on autopilot. 10 copy-paste prompts that actually work.
I run SEO for 5+ sites with this exact setup. No SEO experience required — just copy the prompts and let your bot do the work.
🤔 Why automate SEO?
SEO agencies charge $5,000–$10,000/month. They do keyword research, write content, fix technical issues, build backlinks, and send you reports. Here's the thing — your OpenClaw can do all of that.
- Audit your entire site in 60 seconds
- Research keywords and find content gaps automatically
- Write SEO-optimized blog posts (that don't read like AI slop)
- Fix technical SEO issues — sitemaps, meta tags, schema markup
- Find backlink opportunities and draft outreach emails
- Monitor rankings daily and alert you to changes
I've been running this exact system across 5 sites. My bot autonomously made me $100 by selling a backlink. This guide gives you every prompt I use. Copy, paste, rank.
📋 What You'll Set Up
The 10-Step SEO Automation Playbook
📁Set Up Your SEO Workspace
Organization first. Your bot needs structure to work autonomously.
Before your bot can run SEO on autopilot, it needs a workspace. This is where it'll store keyword research, content drafts, audit reports, and backlink data. Think of it as giving your SEO assistant a filing cabinet.
📋 Send this to your OpenClaw:
Set up an SEO workspace for me. Create these folders in your workspace:
- seo/keywords (for keyword research and clusters)
- seo/content (for blog post drafts and content briefs)
- seo/audits (for site audit reports)
- seo/backlinks (for backlink opportunities and outreach)
- seo/reports (for weekly/monthly SEO reports)
Then add these rules to your SOUL.md under a new "## SEO Rules" section:
- When writing content, always include proper H1/H2/H3 hierarchy
- Never keyword stuff. Write for humans first, search engines second
- Always include meta descriptions under 155 characters
- Every blog post needs internal links to at least 2 other pages on the site
- Track all SEO work in seo/reports with dates
- When I say "write a post about X", research the keyword first, then write
Confirm when done and show me the folder structure.🔍Run a Full Site Audit
You can't fix what you don't know is broken. This finds everything.
This is the most valuable prompt in the entire guide. Your bot will crawl your site and check everything an SEO agency would check — but in about 60 seconds instead of a week.
📋 Send this to your OpenClaw:
Run a complete SEO audit on my site: [YOUR-SITE.com]
Check everything:
**Technical SEO:**
1. Does the site have a sitemap.xml? Fetch it and check if all important pages are included
2. Does robots.txt exist? Is it blocking anything it shouldn't?
3. Are there any broken links (404s)?
4. Do all pages have canonical URLs?
5. Is the site using HTTPS everywhere?
6. Check page load indicators — are images optimized? Any huge JavaScript bundles?
**On-Page SEO:**
7. Does every page have a unique title tag? Are they under 60 characters?
8. Does every page have a meta description? Under 155 characters?
9. Is there exactly one H1 per page?
10. Do images have alt tags?
11. Are URLs clean and descriptive (not /page?id=123)?
**Content:**
12. How many indexable pages does the site have?
13. Are there any thin pages (very little content)?
14. Is there duplicate content across pages?
**Structured Data:**
15. Does the site have schema markup (JSON-LD)?
16. Is there Organization, Person, or WebSite schema?
Give me a score out of 100 and a prioritized list of fixes — most impactful first.
Save the full report to seo/audits/audit-[today's date].md🎯Keyword Research on Autopilot
Ranking for the wrong keywords is worse than not ranking at all.
Most people skip keyword research because it's boring. Your bot doesn't get bored. This prompt makes it research your niche, find gaps your competitors miss, and organize everything into actionable clusters.
📋 Send this to your OpenClaw:
Do keyword research for my site [YOUR-SITE.com] in the [YOUR NICHE] space.
1. **Competitor Analysis**: Search the web for my top 5 competitors. What topics are they ranking for that I'm not covering?
2. **Keyword Clusters**: Group keywords into clusters by topic. For each cluster, give me:
- Primary keyword (what we're targeting)
- Secondary keywords (related terms to include naturally)
- Search intent (informational, commercial, transactional)
- Estimated difficulty (low/medium/high based on what's currently ranking)
- Content type that would rank (blog post, guide, tool, comparison)
3. **Quick Wins**: Find keywords where:
- The top results are forums, Reddit, or thin content (easy to outrank)
- Long-tail variations with clear purchase intent
- Questions people are asking (for FAQ content)
4. **Content Gap Analysis**: What topics do ALL my competitors cover that I have zero content for?
Output as a structured table. Save to seo/keywords/research-[today's date].md
Prioritize by: easy wins first, then high-value commercial keywords.Want to see how others are automating their SEO? Join 50+ AI operators in our free Skool community.
Join for free →✍️Generate SEO-Optimized Blog Posts
Content is king — but only if it's actually good. This prompt prevents AI slop.
Here's where most people mess up with AI content. They tell their bot "write a blog post about X" and get generic, fluffy garbage that Google ignores. This prompt is different — it forces your bot to research first, write with structure, and sound like a real person.
📋 Send this to your OpenClaw:
Write an SEO-optimized blog post targeting the keyword: "[YOUR KEYWORD]"
Before writing, do this research:
1. Search the web for the top 5 results currently ranking for this keyword
2. Analyze what they cover, what they miss, and how we can be better
3. Find 3-5 related keywords to include naturally
Now write the post following these rules:
**Structure:**
- H1: Compelling title with the primary keyword (under 60 chars)
- Meta description: Under 155 chars, includes keyword, has a clear value prop
- Introduction: Hook the reader in 2-3 sentences. No generic "In today's world..." openers
- H2 sections: Break content into scannable sections with clear headings
- H3 subsections where needed for depth
- Conclusion: Actionable takeaway, not a summary
**Content Rules:**
- Write like you're explaining to a smart friend, not a corporate audience
- Include specific numbers, examples, and real-world applications
- No filler sentences. Every paragraph earns its place
- Minimum 1,500 words (but don't pad — if it's done at 1,200, that's fine)
- Include at least 2 internal links to other pages on my site
- Suggest where to add images (describe what they should show)
**SEO:**
- Primary keyword in the first 100 words
- Use related keywords naturally throughout
- Include an FAQ section with 3-5 questions (targets featured snippets)
- Add schema markup suggestion (FAQPage or HowTo if applicable)
**Output:**
- The complete blog post in markdown
- Suggested meta description
- Suggested URL slug
- List of internal pages to link to
- Save to seo/content/[keyword-slug].md⚙️Automate Technical SEO Fixes
Technical issues silently kill your rankings. Fix them once, rank forever.
Remember that audit from Step 2? Now we fix everything it found. This prompt tells your bot to actually implement the fixes — not just tell you about them.
📋 Send this to your OpenClaw:
Fix the technical SEO issues on my site. The codebase is at [/path/to/your/site].
Do these in order:
1. **Sitemap**: Generate or update sitemap.xml
- Include all public pages
- Set correct lastmod dates
- Add to robots.txt: Sitemap: https://[YOUR-SITE.com]/sitemap.xml
2. **Robots.txt**: Create or update
- Allow all important pages
- Block /api/, /admin/, any non-public routes
- Add sitemap reference
3. **Meta Tags**: For every page missing them:
- Add unique title tags (under 60 chars, include primary keyword)
- Add meta descriptions (under 155 chars, compelling, include keyword)
- Add canonical URLs
4. **Structured Data**: Add JSON-LD schema markup
- Organization schema on homepage
- Article/BlogPosting schema on blog posts
- BreadcrumbList on all pages
- FAQ schema on any page with Q&A content
5. **Image Optimization**: Check all images
- Add missing alt tags (descriptive, include keywords where natural)
- Flag any images over 500KB that should be compressed
After each fix, verify the build still passes.
Commit each category separately with clear commit messages.
Do NOT push if the build fails.🔗Internal Linking Strategy
Internal links are free SEO juice. Most sites barely use them.
Internal links tell Google which pages are important and how your content relates. Most sites have almost zero internal linking strategy. This prompt fixes that instantly.
📋 Send this to your OpenClaw:
Analyze my site's internal linking structure. The codebase is at [/path/to/your/site].
1. **Map all pages**: List every public page with its URL, title, and main topic
2. **Find linking opportunities**: For each page, suggest 2-5 internal links:
- Which other pages on my site should this page link to?
- What anchor text should I use? (descriptive, not "click here")
- Where in the content should the link go?
3. **Identify orphan pages**: Pages with zero internal links pointing to them (Google can't find these easily)
4. **Hub & spoke model**: Identify my main topic clusters and suggest a hub page for each that links to all related content
5. **Priority fixes**: Which pages need links most urgently?
- Pages with high-value keywords but no internal links
- New content that hasn't been linked from anywhere
- Money pages (services, pricing) that should get more link juice
Output as a table:
| From Page | To Page | Anchor Text | Priority |
Save to seo/backlinks/internal-linking-plan.md🏗️Backlink Prospecting
Backlinks are still the #1 ranking factor. Your bot can find opportunities you'd never find manually.
Building backlinks is the most tedious part of SEO. Finding sites to reach out to, checking their authority, crafting personalized pitches — it takes hours. Your bot does it in minutes.
📋 Send this to your OpenClaw:
Find backlink opportunities for my site [YOUR-SITE.com] in the [YOUR NICHE] space.
Search the web for each of these:
1. **Resource Pages**: Search for "[your niche] + resources" or "[your niche] + useful links"
- Find pages that list tools/resources in your space
- These are easy — just ask to be added
2. **Guest Post Opportunities**: Search for "[your niche] + write for us" or "[your niche] + guest post"
- Find blogs accepting guest posts
- Note their requirements and audience size
3. **Broken Link Building**: Search for competitors and find any 404 links on sites linking to them
- We can offer our content as a replacement
4. **Directory Listings**: Find relevant directories and industry listings
- Business directories, tool directories, startup directories
5. **HARO/Quote Opportunities**: Find journalists and bloggers writing about your niche
- Being quoted as an expert = free backlink
For each opportunity, give me:
| Site | URL | Type | Estimated Authority | Contact/Email | Pitch Angle |
Draft 3 outreach email templates:
- One for resource page inclusion
- One for guest posting
- One for broken link replacement
Keep them short, personal, not spammy. Save to seo/backlinks/opportunities-[date].mdBonus: The Hub-and-Spoke Strategy
If you own multiple sites (even small ones), link them together strategically:
- Hub site (your main brand) — receives links from all your other sites
- Spoke sites (side projects, tools, landing pages) — link up to the hub
- Cross-links — spoke sites link to each other where relevant
- Rule: Every site links UP to the hub. The hub gets the most authority.
Halfway there! Share your SEO results and get feedback from other builders in our free community.
Join for free →📊Set Up Daily SEO Monitoring
Rankings change daily. Know immediately when something drops — or spikes.
SEO isn't a one-time thing. Rankings fluctuate, competitors publish new content, Google updates its algorithm. This cron job makes your bot check everything daily and only bother you when something needs attention.
📋 Send this to your OpenClaw:
Set up a daily cron job that runs every morning at 8am. It should:
1. Check if my sitemap.xml is accessible and valid
2. Search Google for my top 5 target keywords and note where my site appears
3. Check for any new 404 errors on my site
4. Check if Google has indexed any new pages (search: site:YOUR-SITE.com)
5. Look for any new backlinks or mentions of my site
6. Check if any competitors published new content targeting my keywords
Only message me if:
- A ranking dropped significantly (fell off page 1)
- New 404 errors appeared
- A competitor published something targeting my main keyword
- Something looks wrong with the sitemap or robots.txt
If everything looks fine, save a brief log to seo/reports/daily/[date].md but don't message me.📅Content Calendar Automation
Consistent publishing beats sporadic bursts. Let your bot plan the roadmap.
You know you should publish regularly. But coming up with ideas, prioritizing them, and scheduling content is a job in itself. This prompt generates a full month of content ideas based on your keyword research.
📋 Send this to your OpenClaw:
Create a content calendar for the next 30 days for [YOUR-SITE.com].
Base it on:
1. The keyword research in seo/keywords/ (if it exists, read it first)
2. If no keyword research exists yet, do quick research first
For each piece of content, include:
| Date | Topic | Target Keyword | Content Type | Word Count | Priority | Status |
**Rules:**
- 2-3 posts per week (realistic, sustainable pace)
- Mix content types: how-to guides, listicles, comparisons, case studies
- Prioritize: easy-win keywords first, then high-value commercial keywords
- Include 1 "pillar" post per month (2,000+ words, comprehensive guide)
- Include 1 "response" post (responding to trending topic or competitor content)
- Leave weekends empty
**For each post, also generate a brief (2-3 sentences):**
- What angle makes this different from existing content?
- What unique insight or data can we add?
- Which internal pages should it link to?
Save to seo/content/calendar-[month]-[year].md📈Track & Report Results
If you're not measuring, you're guessing. Weekly reports keep you honest.
The final piece — automated reporting. Every week, your bot compiles everything it's done, tracks progress, and tells you what's working and what isn't. This is what SEO agencies charge thousands for.
📋 Send this to your OpenClaw:
Set up a weekly cron job that runs every Monday at 9am. Generate a full SEO report:
**Rankings:**
- Search Google for my top 10 target keywords
- Note position for each (or "not found" if not on page 1-3)
- Compare to last week's report if available
- Flag any significant changes (up or down 5+ positions)
**Content:**
- How many new pages were published this week?
- Which posts from the content calendar are done vs pending?
- Any content that needs updating (older than 3 months)?
**Technical:**
- Current number of indexed pages (site:YOUR-SITE.com)
- Any new 404 errors this week?
- Sitemap status
**Backlinks:**
- Any new backlink opportunities found?
- Outreach sent vs responses received
- New backlinks acquired
**Action Items for Next Week:**
- Top 3 priorities based on the data
- Quick wins available right now
- Content to publish next
Save to seo/reports/weekly/week-[date].md and message me the summary.Almost done! Connect with 50+ AI operators who are already ranking on autopilot.
Join for free →Your Complete SEO Config
Add this to your SOUL.md to make your bot an SEO machine by default:
## SEO Automation Rules
### Content Writing
- Always research the target keyword before writing
- Include primary keyword in title, first 100 words, and naturally throughout
- Proper heading hierarchy: one H1, logical H2/H3 structure
- Meta descriptions under 155 characters with keyword and value prop
- Minimum 2 internal links per blog post
- Include FAQ section for featured snippet targeting
- Write like a smart friend explaining something, not a corporate blog
### Technical SEO
- Keep sitemap.xml updated whenever new pages are added
- All pages need canonical URLs
- Images need descriptive alt tags
- Schema markup (JSON-LD) on every page type
- No broken links — check before publishing
### Monitoring
- Save all SEO reports to workspace/seo/reports/
- Only alert me for significant changes (ranking drops, new 404s, competitor moves)
- Log daily checks even when nothing changes (builds historical data)
### Backlinks
- Quality over quantity — one good backlink > 100 spam links
- Never do anything spammy or black-hat
- Track all outreach in workspace/seo/backlinks/
- Follow up on outreach after 5 business days if no response🚀 Let Your OpenClaw Set Everything Up
Copy and paste this to your OpenClaw. It'll set up the entire SEO system — workspace, audit, monitoring, and reporting.
I want to automate my SEO. My site is [YOUR-SITE.com] and the codebase is at [/path/to/site].
Set up the complete SEO automation system:
1. Create the SEO workspace folders (keywords, content, audits, backlinks, reports)
2. Add SEO rules to my SOUL.md
3. Run a full site audit and save the report
4. Do keyword research for my niche and save it
5. Fix any critical technical SEO issues (sitemap, robots.txt, meta tags, schema)
6. Analyze internal linking and suggest improvements
7. Generate a 30-day content calendar
8. Set up a daily SEO monitoring cron job (8am)
9. Set up a weekly SEO report cron job (Monday 9am)
Go through each step. Show me what you find and fix.
For content and backlinks, save the plans — I'll review before you publish or send outreach.Common Issues
"My bot's content sounds too AI-generated"
Add to your SOUL.md: "Never use these words: leverage, harness, unlock, delve, landscape, paradigm, cutting-edge. Write in short sentences. Use specific numbers. Sound like a person, not a press release."
"The keyword research seems generic"
Be more specific in your prompt. Instead of "do keyword research for AI," say "do keyword research for AI automation consulting targeting small business owners in the US who spend $5K-20K/month on manual processes."
"My bot can't access my site's codebase"
Make sure your site's code is in a directory OpenClaw can access. Either clone it into the workspace or mount it when setting up OpenClaw. Check your config's workspace path.
"Google isn't indexing my new pages"
Tell your bot: "Check if my sitemap.xml includes all new pages and submit it to Google Search Console. Also check robots.txt isn't blocking anything." Most indexing issues are sitemap or robots.txt problems.
Join the Community
AI Operators Community
Join 50+ builders sharing SEO automations, content strategies, and ranking wins. Free to join.
Join for free →Need Expert Setup?
Get professional SEO automation configured for your specific business and niche.
Book a call →Weekly Newsletter
Get the latest SEO automation tips, new prompts, and case studies delivered to your inbox.
Subscribe →Security Guide
Already automating SEO? Make sure your setup is locked down with our 13-step security guide.
Read the guide →Last updated: February 19, 2026 • By Johann Sathianathen • Founder, Jars Global