Written by AI and Ian NuttallX: 81.8kYouTube: 16.9kLinkedIn: 4.5k
Ian Nuttall
More than 20 years in SEO. Founder of Practical Programmatic, a programmatic SEO course with over 1,000 students, and of URL Monitor, sold for $250,000.
AI writes these pages. I plan each one, gather the data from real sources and review the draft before it goes live.
See my backgroundClaude Code routines for SEO
A Claude Code routine, now called a cloud scheduled task, runs in Anthropic’s cloud on your site’s repository. With SEO Skill as a connector, each run picks the due SEO work and opens a pull request per change.
Give this prompt to Claude Code
Set up SEO Skill in Claude Code scheduled tasks so you can work on my site's SEO with my own Search Console data. Do every step yourself and only stop when you need me.
Claude Code adds SEO Skill as a claude.ai connector, waits while you sign in with Google and saves the weekly run as a cloud scheduled task. New accounts get $1 of free research once a Search Console site is connected, with no card.
What does Claude Code need to run SEO Skill on a schedule?
Claude Code, from Anthropic, needs the SEO Skill MCP server, its own scheduler and access to your site's repository. Cloud scheduled tasks, formerly routines: Claude Code on a cron in Anthropic’s cloud, with your connectors.
| Where it runs | Anthropic’s cloud, on a fresh clone |
|---|---|
| How it connects to SEO Skill | The seoskill connector on claude.ai |
| What holds the schedule | /schedule or claude.ai/code/routines |
| How changes ship | Pushes claude/ branches and opens pull requests |
| Needs your machine on | No, it runs with your laptop closed |
How does a scheduled Claude Code SEO run work?
The scheduled task starts a cloud session on a fresh clone, SEO Skill picks the work, and Claude opens a pull request per change.
The schedule starts a cloud session
Each run is a full Claude Code session on a fresh clone of your repository, in auto mode.
SEO Skill picks the jobs
It calls seo_next through the connector and works through at most five jobs.
Claude pushes a claude/ branch
Changes go to a branch prefixed claude/, and the run opens a pull request for each one as your GitHub user.
You review the run
Every run is a session you can open on the web, with its log, and SEO Skill checks each merged fix 28 and 56 days later.
How do I connect Claude Code to SEO Skill?
Cloud scheduled tasks use the connectors on your claude.ai account. A server you added locally with claude mcp add is not one of them.
- 1
Add SEO Skill as a claude.ai connector
Open claude.ai/customize/connectors, choose Add custom connector, name it seoskill and enter the URL.
https://seoskill.dev/mcp - 2
Sign in with Google
Sign in with the Google account that reads your Search Console. The connector is now on your account everywhere.
- 3
Or commit it to the repository
A task with one repository can read servers from a committed .mcp.json instead, unless it runs as threads in a project.
How do I put the SEO work on a Claude Code schedule?
Create the task from the CLI with /schedule, from the Desktop app, or at claude.ai/code/routines. All three save to the same account.
- 1
Start a few minutes past the hour
A run set exactly on the hour can start several minutes late, so Anthropic suggests a time like 8:07.
- 2
Keep only the connectors it needs
Every connector you have is included by default. Remove all but seoskill and GitHub.
- 3
Custom cron runs in UTC
Preset times use your local time zone. A five-field cron expression is read as UTC, and nothing runs more often than hourly.
Write your Claude Code SEO schedule
Fill in your site and when it should run. The setup prompt does this for you; the builder shows exactly what it saves, with the prompt every run starts with.
Type this in Claude Code
/schedule every Monday at 08:07 UTC on example/website, with the seoskill and GitHub connectors only: Run SEO Skill's autopilot for example.com.
1. Run seo_next with site "example.com". Settle the started jobs it lists first, as it says, then run it again.
2. Follow the due step for at most 5 of its jobs.
3. Open one pull request for each change and name the job ids it covers in its description. Then run seo_report with site "example.com", mark "started", issues "<ids>", note "<pull request URL>". Merge only what the "## Autopilot" rules in the business context allow. Everything else waits for review.
4. Where the step says to ask the person, such as before a new page, a template change, a redirect or a deletion, leave the question with its evidence where the person reviews your work, such as an issue in the repository, instead of making the change. Mark the job started with that link as note, so later runs do not ask again. When the person approves a new page there, add it under "## Pages to build" in the business context.
5. End with a short summary of what you opened and what waits for the person.Saved in your business context
## Autopilot
Weekly, every Monday at 08:07 UTC.
Runs in Claude Code.
Alerts do not start runs.
Every change waits for review.How does Claude Code ship the SEO changes?
A scheduled task works as you on GitHub. Its pushes and pull requests carry your GitHub user, so use branch protection to decide where it can push.
claude/ branches by default
Claude pushes to claude/ branches unless the prompt says otherwise. Protect main with a ruleset.
One pull request per change
The run prompt asks for one pull request per change, with the job ids in each description.
Questions become issues
Before a new page, a redirect or a deletion, the run opens an issue with the evidence and waits for you.
What to watch when Claude Code runs unattended
Scheduled tasks are a research preview, and their runs draw on your subscription usage like any session.
Plans that have them
Pro, Max, Ultra, Team and Enterprise. On Team and Enterprise an admin turns them on first.
The run cannot reach your machine
A cloud task works on a fresh clone. Local scheduled tasks in the Desktop app can, but only fire while your computer is awake.
Network allowlist
Connectors reach their services through Anthropic, so seoskill needs no allowlist change. Other APIs the run calls might.
More on Claude Code and SEO Skill
The Claude Code docs cover each setting in full, and these pages cover SEO Skill in the same agent.
Claude SEO skill
SEO Skill in Claude Code, claude.ai and Claude Desktop, and which parts each one uses.
Claude SEO skillClaude Code setup
The hosted MCP server and the skill for interactive Claude Code sessions.
Claude Code setupSEO with Claude Code
What a working session with Claude Code and SEO Skill looks like.
Read the postAutonomous SEO with any agent
Every agent that can run SEO Skill on a schedule, side by side, with the same schedule builder.
All agentsQuestions about Claude Code and SEO
Are Claude Code routines the same as scheduled tasks?
Yes. Anthropic renamed cloud routines to scheduled tasks. The name routines still appears in the web address, the /routines alias and the API.
Can a Claude Code routine use an MCP server I added with claude mcp add?
No. Cloud tasks use your claude.ai connectors. Add SEO Skill as a custom connector on claude.ai, or declare it in a committed .mcp.json for a task with one repository.
How often can a Claude Code scheduled task run?
At most hourly. Weekly runs the whole SEO loop and suits most sites; daily also catches pages that drop out of Google.
Can SEO Skill alerts start a routine?
Not directly. A routine’s API trigger needs its own bearer token and headers, which SEO Skill’s signed alert calls do not send. Use the schedule.
Does a scheduled run need an SEO Skill plan?
No. Search Console, Google Analytics, index checks and page checks are free, so a run that works from them uses nothing on SEO Skill. Research such as keywords, competitors and AI answers uses your plan’s usage, your free credit or your own DataForSEO key. When that runs out, the run says so and keeps going with the free tools. A plan also adds the weekly site audit, and a run never picks a plan or buys a top-up without your yes.
Put your site on autopilot in Claude Code
Give Claude Code this prompt. It connects SEO Skill, writes your business context with you and sets up the first scheduled run.
Give this prompt to Claude Code
Set up SEO Skill in Claude Code scheduled tasks so you can work on my site's SEO with my own Search Console data. Do every step yourself and only stop when you need me.
Claude Code adds SEO Skill as a claude.ai connector, waits while you sign in with Google and saves the weekly run as a cloud scheduled task. New accounts get $1 of free research once a Search Console site is connected, with no card.