I graded 56 SEO changes in Search Console. 9 got the clicks I predicted, 32 missed and 15 were inconclusive. Graded on 1 December 2026 against the rest of each section in the same 2 windows

I logged 56 SEO changes on ppc.io with a written prediction, then graded each one in Search Console against the rest of the site. 9 got the clicks I predicted. 32 missed. Most of the misses moved up the results and still got almost no clicks.

That record is why this Claude SEO skill works the way it does. It plans pages from what people type, logs every change with a prediction, and grades it 4 weeks later. It’s free and needs no SEO tool.

Copy the free skill

Save SKILL.md and seo.py in ~/.claude/skills/seo-loop/, then ask Claude Code “What should I write next about [your topic]?” Add your Search Console exports and it also finds the searches you nearly rank for. It needs Python 3. In the Claude app, upload both files in Customize > Skills.

Jump to the skill

What most Claude SEO skills do

Type “claude seo” into Google and autocomplete gives you skill, plugin, agent, audit and github. I pulled 301 phrases from 150 autocomplete calls on 1 December. People want a skill they can install, and most of the ones that rank are audit tools.

Google and YouTube autocomplete on 1 December 2026 for claude seo. Top phrases: claude seo skill (Google 5, YouTube 2), claude seo plugin, claude seo analysis skill, claude seo skill github, claude seo agent, claude seo audit skill, claude seo audit and how to use claude code for seo

Here are the main ones, checked on 1 December 2026:

SkillBest forNeeds
claude-seo by Daniel AgriciFull site audits: technical SEO, schema, AI search. 29 sub-skills and 20 sub-agentsNothing. Free and open source
SE Ranking SEO skillsContent briefs, backlink gaps and audits from SE Ranking dataAn SE Ranking account. It starts with 100K free credits
SEO Skill by Ian NuttallQuestions about your own Search Console, Analytics and Bing dataA free account. Some data uses paid credits
InfraNodus SEO skillSearch intent and content gaps from live Google resultsA free InfraNodus account
This skillWhat to write next, and whether each change workedYour Search Console exports

They’re good at what they do. I ran Ian’s SEO Skill on ppc.io this week, and its lint check caught a line in one of my posts that my own 2 checks missed.

I wanted one that keeps a record of every change I make and grades each one against the rest of my site. That’s the job I built this one for.

What 56 graded changes taught me

Every change I make to ppc.io goes into a ledger with the URL, the numbers before, a prediction and a check date. On 1 December I graded the 56 that were past their date, each against the rest of its section in the same 2 windows.

What I changedResultWhat it taught me
New pages for “[AI tool] + [marketing job]” in the exact typed wordsHitThey rank in days, even when Keyword Planner shows 10 a month
”[Competitor] alternatives” pages4 of 4 hit on impressionsOne had 24,825 impressions at position 8.3 and 0 clicks
Put back a title that had earned clicksHit21 clicks went to 49 while the blog fell 24%
Rewrites aimed at broad head termsMostly missesThe page moved up and AI answers took the clicks
Service pages for “google ads agency”MissA site our size doesn’t move on those terms
New pages for phrases not in autocompleteMiss3 of them had 0 impressions at the check date

The biggest lesson was about my own predictions. I set click targets from hope. Now the skill sets them from what pages at that position already earn on the same site.

The one that changed how I plan was /blog/claude-landing-page-design. Keyword Planner showed 10 searches a month. It got clicks from its first day, during a Google core update that pushed the rest of my blog down.

Search Console clicks a day for /blog/claude-landing-page-design from 23 to 29 November 2026: 2, 2, 8, 8, 7, 4 and 4 clicks, 35 clicks and 725 impressions in 7 days, while the rest of the blog was falling in a core update

How the skill works

It does 5 jobs. Ask for any of them in plain words.

  1. What to write next. It takes your topic, checks which phrases are in Google and YouTube autocomplete, and adds the queries where you sit at position 5 to 20 with no page made for them. Then it reads who ranks for the top 5.
  2. The page brief. The title, H1 and URL start with the exact phrase. The brief lists the questions from autocomplete and the proof you have that the top results don’t.
  3. Log the change. Before you ship, it adds a row to seo-ledger.csv with a click prediction and a check date 28 days out.
  4. Grade the changes. It reads 2 Search Console exports and puts each page next to the rest of its section.
  5. Why did traffic drop. It checks the section first, then Google’s update dates, then the page.

It keeps 2 files in your project: the ledger and seo-learnings.md. A rule goes into the learnings file only when 2 or more graded changes back it. Over a few months your own results replace the generic advice.

Test 1: grading a change I already knew

On 30 October I put back the old title on /blog/ai-tools-google-ads. A newer title had cut its clicks. My ledger said the page went from 21 to 49 clicks while the rest of the blog fell.

I exported Pages from Search Console for 9 to 29 October and 31 October to 20 November, and ran the skill’s grade command on them:

python3 seo.py grade before.csv after.csv /blog/ai-tools-google-ads /blog/google-ads-ai-agents

what | clicks before | clicks after | change | impressions before -> after | position before -> after
/blog/ai-tools-google-ads | 21 | 49 | +133% | 12860 -> 23837 | 10.9 -> 10.0
/blog/google-ads-ai-agents | 14 | 4 | -71% | 2830 -> 1917 | 9.3 -> 22.9
control: rest of /blog | 514 | 393 | -24% | 276739 -> 247833 | -

It matched. It also showed the second page in the same change was a miss. That one fell 71% while the blog fell 24%, so the title wasn’t the problem there.

seo.py grade on a real change: /blog/ai-tools-google-ads went from 21 to 49 clicks, up 133 percent, while the rest of the blog went from 514 to 393 clicks, down 24 percent, in the same 2 windows

Without the control, you can’t tell a good change from a good month. Here the rest of the blog fell 24% in the same weeks, and this page more than doubled.

Test 2: a UK hen party company

I ran job 1 on a client’s Search Console exports: a UK company that books hen party houses, September to November 2026. There were 148 queries at position 5 to 20 with 50 or more impressions.

The skill’s answer surprised me. The 3 biggest groups already had a page. Their titles used other words: “7 Best Bath Hen Party Ideas”, “15 Classy Hen Party Gifts For The Bride-To-Be” and “How To Create The Perfect Hen Party Bag”.

Test 2 on a UK hen party company: 148 near-miss queries, and the top 3 groups already have a page. bath hen do ideas has 1,663 impressions at 12 to 18 and its page got 4 clicks. hen party gifts has 989 at 11.2. hen party bags has 773 at 16. The fix for each is to start the title with the phrase

The Bath ideas page had 4,106 impressions and 4 clicks. Most Bath searches say “hen do”, and the title says “hen party”. The top results are wedding blogs, Visit Bath and activity sellers. The company rents houses in Bath, and the post linked only to its general houses page.

So the plan was 3 retitles and one link from the Bath ideas post to the Bath houses. No new posts.

What it won’t do

  • Crawl your site. For broken links, schema and speed, run claude-seo or a crawler.
  • Show search volume. Autocomplete shows that people type a phrase. It does not show how many. The Claude keyword research skill explains why I trust it more than volume for new searches.
  • Count impressions as a win. On ppc.io, “ai tools for ppc agencies” showed 1,113 times from 116 countries at position 4.8 and got 0 clicks. Real people at position 5 click, so the skill grades on clicks.

The Claude SEO skill

seo-loop/SKILL.md
---
name: seo-loop
description: SEO from your own Search Console data and what people type into Google. Finds the next page to write, writes the brief, logs every change with a prediction and grades it 4 weeks later against the rest of the site. No paid SEO tool. Use for "what should I write next", "SEO plan", "why did traffic drop", "did my change work", "grade my SEO changes", "write a page that ranks", or before any title or page change.
---

# The SEO loop

Most SEO advice is never checked. This skill checks it. Every change gets a written prediction, and 4 weeks later you compare the page with the rest of its section in Search Console. Over time your own results replace the advice.

Keep 2 files in the project root. Create them the first time:
- `seo-ledger.csv`: one row per change. Columns: `id,date_shipped,pages,change,prediction,check_date,outcome,note`.
- `seo-learnings.md`: rules that 2 or more graded rows support, each with the row ids.

Read both before you plan, write or change any page.

## Get the data

Use the best source you have, in this order:
1. A Search Console MCP or API that is already connected.
2. CSV exports: Search Console > Performance > Export > CSV. The "Queries" and "Pages" tabs, last 3 months.

Ask for the exports once if you have neither. Never guess traffic. Never use a keyword tool's monthly volume as a reason to skip a phrase. Those tools show new searches as 0 or 10.

## Job 1: what to write next

1. Take the user's topic or product. Write 5 to 15 phrases a buyer would type, such as "[tool] + [job]" or "[service] + [city]".
2. Run `python3 seo.py suggest "<phrase>" "<phrase>" ...`. Keep the phrases Google or YouTube autocomplete has. If Google suggests a phrase, enough people typed it.
3. From the Queries export, add queries at position 5 to 20 with 50+ impressions that no page has in its title.
4. For the top 5 phrases, search the exact phrase and read the top 5 results. Write one line each: who ranks and what they lack. A phrase is open when the top 5 have no first-hand proof.
5. Remove a phrase when an existing page already ranks top 10 for it. Improve that page instead. 2 pages on one phrase split the clicks.

Output a table: phrase, autocomplete (Google, YouTube), who ranks, what they lack, new page or existing page.

## Job 2: the page brief

1. The title, the H1 and the URL start with the exact phrase. The title is 60 characters or fewer. It has one concrete hook: a real number or a result.
2. List 5 to 10 questions from autocomplete ("how to ...", "... vs ...", "can ...") as H2s or an FAQ.
3. List the proof the page will show: your own numbers, tests, screenshots and dates. The top results rarely have proof. That is how a small site wins.
4. Every outside fact gets a source link and a "checked on" date.
5. Link to the new page from 3 or more related pages on the site. A page with no links in does not get indexed.

## Job 3: log the change

Before a change ships, add a row to `seo-ledger.csv`:
- `pages`: the URL paths, separated by a space.
- `prediction`: clicks, never impressions. Example: "10+ clicks in the 28 days to the check date". Base it on what pages at that position earn on this site today.
- `check_date`: 28 days after the ship date.
- `outcome`: `pending`.

## Job 4: grade the changes

For each row past its check date:
1. Get 2 Pages exports of the same length: the 28 days before the ship date and the 28 days to the check date.
2. Run `python3 seo.py grade before.csv after.csv <pages>`.
3. Compare the clicks with the prediction and with the control (the rest of the same section). If the whole blog fell 30% and the page fell 10%, the page did better than its section.
4. Set `outcome` to hit, miss or inconclusive. Put the numbers in `note`.
5. If 2 or more graded rows show the same pattern, add a rule to `seo-learnings.md` with the row ids.

## Job 5: why did traffic drop

1. Compare the page with its section in the same 2 windows. A drop across the whole section is not a page fault.
2. Check Google's status page for a core update in those dates: https://status.search.google.com/summary
3. Read the live page and the query rows before you blame a change. The cause is often not in the code.
4. Wait 7 days of data before you revert anything.

## Rules

- Count clicks. Impressions at a good position with 0 clicks are often bots or AI tools.
- One phrase, one page.
- Never invent a number, a result or a source. Every number in a page or a grade comes from data you pulled.
- Say the date of every pull.

## seo.py

Save `seo.py` next to this file. `suggest` checks autocomplete. `grade` reads 2 Pages exports and prints the pages next to their section.
seo-loop/seo.py
"""The SEO loop helper. Free, no API key, Python 3 standard library only.

  python3 seo.py suggest "claude seo skill" "claude seo audit"
      Is each phrase in Google and YouTube autocomplete? Prints what Google suggests.
  python3 seo.py grade before.csv after.csv /blog/my-post /pricing
      Clicks, impressions and position for those pages in 2 Search Console exports,
      next to the rest of the same section (the control).

Export each CSV from Search Console > Performance > Pages > Export > CSV, one per
date range. Use 2 ranges of the same length: before the change and after it."""
import csv, io, json, re, sys, time, urllib.parse, urllib.request, zipfile

BASE = "https://suggestqueries.google.com/complete/search?client=firefox&hl=en&gl=us"


def suggest(q, yt=False):
    url = BASE + ("&ds=yt" if yt else "") + "&q=" + urllib.parse.quote(q)
    try:
        with urllib.request.urlopen(url, timeout=10) as r:
            return [s.lower() for s in json.loads(r.read().decode("utf-8", "ignore"))[1]]
    except Exception:
        return []


def cmd_suggest(phrases):
    print("phrase | google | youtube | google suggests")
    for p in phrases:
        p = p.lower().strip()
        g = suggest(p[:-1]) + suggest(p)  # type it, then type all but the last letter
        y = suggest(p[:-1], yt=True) + suggest(p, yt=True)
        time.sleep(0.3)
        more = sorted({s for s in g if s != p and s.startswith(p)})[:5]
        print(f"{p} | {'yes' if p in g else 'no'} | {'yes' if p in y else 'no'} | {'; '.join(more) or '-'}")


def path(u):
    u = re.sub(r"^https?://[^/]+", "", u.strip()).split("#")[0].split("?")[0]
    return u.rstrip("/") or "/"


def load(f):
    """Read a Search Console Pages export: the CSV, or the zip it comes in."""
    if f.endswith(".zip"):
        z = zipfile.ZipFile(f)
        name = [n for n in z.namelist() if "page" in n.lower()][0]
        text = z.read(name).decode("utf-8-sig")
    else:
        text = open(f, encoding="utf-8-sig").read()
    rows = list(csv.reader(io.StringIO(text)))
    head = [h.lower() for h in rows[0]]
    ci = next(i for i, h in enumerate(head) if "click" in h)
    ii = next(i for i, h in enumerate(head) if "impression" in h)
    pi = next(i for i, h in enumerate(head) if "position" in h)
    num = lambda s: float(str(s).replace(",", "").replace("%", "") or 0)  # noqa: E731
    out = {}
    for r in rows[1:]:
        if r and r[0]:
            a = out.setdefault(path(r[0]), [0, 0, 0.0])
            a[0] += num(r[ci]); a[1] += num(r[ii]); a[2] += num(r[pi]) * num(r[ii])
    return out


def total(d, keep):
    c = i = w = 0
    for p, (cl, im, wp) in d.items():
        if keep(p):
            c += cl; i += im; w += wp
    return int(c), int(i), (round(w / i, 1) if i else None)


def pct(a, b):
    return "n/a" if not a else f"{round(100 * (b - a) / a):+d}%"


def cmd_grade(before, after, pages):
    b, a = load(before), load(after)
    pages = [path(p) for p in pages]
    mine = lambda p: p in pages  # noqa: E731
    sections = {"/" + p.strip("/").split("/")[0] for p in pages if p != "/"} or {"/"}
    ctrl = lambda p: not mine(p) and any(p.startswith(s + "/") or p == s for s in sections)  # noqa: E731
    if sections == {"/"}:
        ctrl = lambda p: not mine(p)  # noqa: E731
    print("what | clicks before | clicks after | change | impressions before -> after | position before -> after")
    for p in pages:
        x, y = total(b, lambda q: q == p), total(a, lambda q: q == p)
        print(f"{p} | {x[0]} | {y[0]} | {pct(x[0], y[0])} | {x[1]} -> {y[1]} | {x[2]} -> {y[2]}")
    x, y = total(b, ctrl), total(a, ctrl)
    print(f"control: rest of {', '.join(sorted(sections))} | {x[0]} | {y[0]} | {pct(x[0], y[0])} | {x[1]} -> {y[1]} | -")
    print("Judge clicks. A page that fell less than its control did better than the section.")


if __name__ == "__main__":
    if len(sys.argv) > 2 and sys.argv[1] == "suggest":
        cmd_suggest(sys.argv[2:])
    elif len(sys.argv) > 4 and sys.argv[1] == "grade":
        cmd_grade(sys.argv[2], sys.argv[3], sys.argv[4:])
    else:
        print(__doc__)

Claude Code: save both files in ~/.claude/skills/seo-loop/, then ask “What should I write next?” or “Did my title change work?”. The Claude app: upload them in Customize > Skills. If autocomplete calls are blocked in the app’s sandbox, run seo.py on your computer and paste the output in.

It works well with my other free skills. The keyword research skill goes deeper on one seed, and the Claude landing page design skill builds the page once you know what to write. They’re all on the free skills page, with the Claude skills for Google Ads.

Ranking gets the visit. The page still has to turn it into a lead, and Postclick audits that part. The first audit is free.

Is there a free Claude SEO skill?
Yes. The skill on this page is free and needs no account or API key. It works from your own Search Console exports and Google autocomplete. claude-seo by Daniel Agrici is also free and open source, and it is the one to use for full site audits.
Can Claude do SEO optimization?
Yes, with your data. On its own Claude guesses from training. Give it your Search Console exports and live autocomplete and it can find near-miss queries, write a brief and grade whether a change worked.
How do I use Claude Code for SEO?
Install a skill, give it your Search Console data, and ask in plain words: what should I write next, or did this change work. This skill keeps a ledger of every change in your project, so Claude can grade them 4 weeks later.
What is the best Claude SEO skill?
It depends on the job. For a full technical audit, claude-seo. For keyword and backlink data, SE Ranking's skills, which need an SE Ranking account. For deciding what to write and checking which changes worked, the free skill on this page.
Is the Claude SEO skill on GitHub?
claude-seo by Daniel Agrici is on GitHub. The skill on this page is 2 files you copy from this page: SKILL.md and seo.py.
Stewart Dunlop

Stewart

CEO

Your landing page, at this level.

See what the best pages in your trade do that yours doesn’t.

Checking you're not a bot. Protected by Cloudflare Turnstile.

Not ready to paste a URL? See a finished audit first.

From the Postclick library: Palmetto, Graza, Clay, Noble Mobile, Habito.