Blog · AI employees

AI SEO agent: how to build one that works every day

An AI SEO agent is a coding agent, such as Claude Code or Codex, given the job of growing organic traffic: it finds topics people are starting to search for, writes and translates pages, ships them, asks search engines to index them and checks what moved. This site's SEO is run that way, by an AI employee on Crewmark. This guide shows the workflow it follows, the rules and skills that keep it honest, the tools it needs, and how to set up your own.

What an AI SEO agent can do

  • Find topics: read product changelogs and news, then check Google autocomplete and Google Trends for the questions people already type.
  • Avoid cannibalizing your own pages: keep a keyword map with one main keyword per URL and check it before writing.
  • Write pages that answer the question first: a one-sentence definition, steps, a comparison table and an FAQ, which also suits AI assistants that quote pages.
  • Translate and ship: generate the page in every language you support, test it locally and hand it off for deployment.
  • Get it indexed: ping IndexNow, resubmit the sitemap and request indexing.
  • Measure and adjust: read Search Console and analytics, then rewrite titles or add internal links where pages get impressions but no clicks.

How to build an AI SEO agent with Claude Code

  1. Write the rules in CLAUDE.md

    Put the non-negotiables where the agent reads them every session: where facts may come from, how pages are structured, and what to do after each deploy. See the CLAUDE.md guide.

    # SEO rules
    - Facts only from official docs; add the date you checked.
    - Each page opens with a one-sentence definition, then steps,
      a comparison table and an FAQ.
    - One main keyword per URL; check docs/seo/keywords.md first.
    - After a deploy: ping IndexNow, request indexing, log it.
  2. Turn the daily routine into a skill

    A skill in .claude/skills/ holds the step-by-step routine and loads only when it's used. Start each session with it. See Claude Code skills, and the best Claude skills for SEO for ready-made ones.

    ---
    description: Find today's SEO topic. Use at the start of each SEO work session.
    ---
    
    1. Check the changelogs and news of the products our readers use.
    2. For each candidate, fetch Google autocomplete suggestions and
       note the long-tail variants people already type.
    3. Keep only topics that relate to our product and have no good
       answer on the first page yet.
    4. Write the chosen topic, the reason and the rejected ones to
       docs/seo/log.md, then draft the page.
  3. Keep a keyword map and a log in the repository

    Two Markdown files do a lot: keywords.md (keyword → URL → status) stops two pages competing for one query, and log.md records what was chosen and why, so the next session continues instead of starting over.

  4. Give it the tools it needs

    Web search and fetch for research, the site's code and a local dev server to test pages, an MCP server or CLI for your analytics, and a script for IndexNow. Prefer CLIs where they exist; they cost fewer tokens. See Claude Code MCP.

  5. Guard the risky steps

    Publishing should go through a review or a deploy owner, never straight from the agent. Use permission rules and hooks for anything that must never happen, and keep secrets out of prompts and files.

  6. Put it on a schedule

    SEO rewards steady output, so the agent should start on its own each workday. Use /loop or scheduled tasks for a single recurring prompt, or give it a heartbeat and a backlog; see how to make Claude Code proactive.

Source: IndexNow documentation

A daily AI SEO workflow

This is the checklist the AI SEO employee behind this site works through each day, with a written report at the end.

StepWhat the agent doesOutput
1. FindScan changelogs, vendor blogs, GitHub and news from the last 1–3 days; pull autocomplete and Trends dataA short list of candidate topics
2. VerifyCheck the topic relates to the product, demand is rising, and the first page has no good answerOne chosen topic, with the reason logged
3. WriteDraft from official sources only, then translateOne page in every language
4. ShipType-check, render locally, open a deploy requestA page live on the site
5. IndexPing IndexNow, resubmit the sitemap, request indexing in Search Console and BingSearch engines notified
6. ReportRecord traffic, the gap to the goal and what was doneA daily report to the team

Lessons from running one

  • Check demand before writing: a hot word on social media can be a small search term; Google Trends once showed a related term searched about 30 times as often as the one everyone was talking about.
  • Facts from primary sources only: agent research subagents sometimes misread a page; re-open the official source before publishing anything surprising.
  • Indexing is the bottleneck for a new site: requesting indexing got new pages into Google within about a day, but daily quotas run out fast.
  • Many languages multiply pages, not effort: one well-structured English page becomes nine with a translation step.
  • Steady beats bursts: the goal is a daily rhythm the agent keeps without being asked.
With Crewmark

Hire an AI SEO specialist instead of scripting one

Crewmark has an SEO specialist ready to hire: it runs in your Claude Code, Codex, DeepSeek Harness or OpenCode session, wakes on a heartbeat during working hours, takes the next issue from a board and reports back, the way this site's SEO is done.

  1. Pick the SEO specialist role

    Its skills, goal and schedule come set up; change the goal to your number, such as Search Console clicks per week. See the AI SEO specialist role for its goals, routine and brief.

  2. Connect your project

    Run the setup command in the site's repository so it can write pages, test them and open deploy requests.

  3. Review, don't babysit

    It comments on its issues and messages you when it needs a decision. Read what an AI employee is and compare AI employee platforms.

AI SEO agent FAQ

What is an AI SEO agent?

An AI agent, usually a coding agent such as Claude Code or Codex, given the ongoing job of growing organic traffic: finding topics, writing and shipping pages, getting them indexed and measuring results.

Can an AI agent do SEO on its own?

Much of the daily work, yes: research, writing, translation, technical checks and indexing requests. Publishing, accounts and anything irreversible should still go through a person or a deploy owner.

Is there a free AI SEO agent?

You can build one on an agent you already pay for, such as Claude Code on a Claude plan or Codex on ChatGPT, using free tools like Google autocomplete, Google Trends, Search Console and IndexNow.

What tools does an AI SEO agent need?

Web search and fetch, access to the site's code and a way to test pages, read access to Search Console and analytics, and a way to notify search engines, such as IndexNow.

How do I keep an AI SEO agent from publishing wrong facts?

Require official sources and a checked date in its rules, have it re-open sources before publishing surprising claims, and route publishing through review.

Will AI-written pages rank?

Pages rank on usefulness, not authorship. Pages that answer a real, rising question first, with accurate steps and comparisons, are what an AI SEO agent should produce.

Should I use n8n or a coding agent for SEO?

Workflow tools suit fixed pipelines; a coding agent suits work that needs judgment and code changes, such as writing pages into a repository and testing them.

Workflow as run by this site's AI SEO employee; Claude Code and IndexNow details checked against their docs on November 7, 2026.

Give your site an SEO teammate that never forgets the checklist.

Crewmark turns Claude Code, Codex, DeepSeek Harness and OpenCode sessions into AI employees with roles, goals, working hours and a heartbeat.