/ai-seo:seo-index [URLs…] [site=URL] [since=YYYY-MM-DD|Nd] [engines=google,bing,brave] [property=…] [browser=yes|no] [dry-run]from ai-seo
Submits new or changed pages to Google, Bing, and Brave for indexing. Checks URLs, uses IndexNow, Bing Webmaster API, Google Search Console, and Brave submit page. Reports results and offers retry.
Ships in ai-seo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A new page can wait days or weeks before a search engine finds it on its own. /seo-index tells the engines about pages that went live or changed recently, through the routes each engine offers site owners:
| Engine | Routes, in order of preference | Limit |
|---|---|---|
| Bing, and the other IndexNow engines (Yandex, Seznam, Naver, Yep and more) | IndexNow, when the site serves a key file | Up to 10,000 URLs per request |
| Bing | The Bing Webmaster API with an API key, or the URL Submission page in the browser | A daily quota per site, shown by the API and the page |
| The sitemap, through the Search Console API or the Sitemaps page. Then Request Indexing in Search Console, one URL at a time, in the browser | Request Indexing has a small daily quota. Google doesn't publish the number | |
| Brave | The submit page at search.brave.com/submit-url, one URL at a time, in the browser | None published |
A submission is a hint. Each engine still decides when and whether to crawl and index a page. Over time, the sitemap and links from other pages matter more than any request.
The text typed after the command holds the arguments. In Claude Code it is inserted here: $ARGUMENTS. In other agents, read it from the user's message. It may be empty.
| Argument | Sets | Default |
|---|---|---|
URLs starting with http:// or https://, separated by spaces or new lines | The pages to submit | Asked, or found with since= |
site=URL | The site's canonical origin | Found in the repo, or the host of the URLs |
since=YYYY-MM-DD or since=Nd (such as 7d) | Pick the sitemap URLs whose lastmod is on or after that date | None |
engines=google,bing,brave | Which engines to submit to | All three |
property= | The Search Console property, such as sc-domain:example.com or https://www.example.com/ | Found in Search Console |
browser=yes or browser=no | Whether to use the user's signed-in browser for Search Console, Bing's page and Brave's page | yes when a browser tool is available |
dry-run | Check the URLs and list the plan. Submit nothing and open no browser | Off |
task=<id> and misses=N | Set by a scheduled retry (Step 9). Users don't type these | None |
If the arguments are plain language ("submit the new pricing page to Google only"), map what clearly matches and use the defaults for the rest. Any other text in the arguments, such as the instructions a scheduled run carries, is context for the run. Follow it unless it conflicts with the Rules.
Examples:
/seo-index https://example.com/blog/new-post/seo-index since=7d/seo-index engines=google,brave https://example.com/a https://example.com/b/seo-index since=2026-10-01 dry-runIf no one can answer (an unattended run, such as a scheduled or headless session), don't ask. Stop if there are no URLs and no since=. Otherwise use the defaults, create no files, and mark each default "(default)" on the report's Settings line.
noindex page, or a page whose canonical points somewhere else.JobPosting or a BroadcastEvent in a VideoObject, and can revoke access for misuse. Never use the old sitemap ping URLs. Bing retired its ping in 2022, and Google retired its ping in 2023.request_secret, use it. Otherwise tell the user which variable to set..claude/rules/kb/, .claude/kb/). They may name the production URL, the Search Console property and how indexing was done before.site=. Otherwise look in the framework's site config (site or siteUrl settings, metadataBase), env example files, a CNAME file, package.json homepage and the robots.txt Sitemap: line. Otherwise use the host of the URLs, or ask.since=, read the sitemap: the Sitemap: lines in robots.txt, or /sitemap.xml, following sitemap index files. Save each file in the scratch folder and read loc and lastmod with python3 -I. If the sitemap has no lastmod, say so and ask for the URLs.lastmod)# fragments and duplicates, and keep the query string. Move URLs on other hosts to the skipped list.INDEX_DIR=$(mktemp -d).mcp__claude-in-chrome__* tools), which drives the user's own Chrome. In other agents, use a browser tool that drives a browser where the user is signed in. Playwright MCP opens a fresh browser with no sign-in, so it works only after the user signs in there. With browser=no, or with no such tool, the browser steps become manual steps in the report.Fetch each URL with curl, one at a time, without following redirects:
curl -sS --max-time 20 -o "$INDEX_DIR/page-1.html" -D "$INDEX_DIR/head-1.txt" \
-w '%{http_code} %{redirect_url}\n' "https://www.example.com/blog/new-post"
noindex in an X-Robots-Tag header or a robots <meta> tag (for all robots, googlebot or bingbot): skip it.<link rel="canonical"> or a Link header) that points to a different URL: replace the URL with the canonical when it's on the same site. Otherwise skip it.Record a verdict for each URL: ready, replaced or skipped, with the reason. Then drop duplicates again.
With dry-run, stop here and give the plan: the verdicts, the routes each engine would use, and what would need the user.
Skip this step when engines= leaves out bing. Use the first route that works.
Find an IndexNow key. Use the INDEXNOW_KEY environment variable, or a key file in the site's public folder. A key file is a .txt file whose name, without .txt, is 8 to 128 letters, digits or dashes, and whose content is that same string. Check that the live site serves it: curl -sS https://www.example.com/<key>.txt must return exactly the key.
No key yet. In an interactive run with a repo whose public folder is served at the site root, offer to create one. Generate it with openssl rand -hex 16 and write it as the only content of <public-dir>/<key>.txt. Say that IndexNow works only after the file deploys, so this run uses the next route. Skip IndexNow on hosted platforms that can't serve a file at the root, such as Shopify, Wix or Squarespace.
IndexNow. Send one POST per host. The shared endpoint passes the URLs to every IndexNow engine:
curl -sS --max-time 30 -o "$INDEX_DIR/indexnow.txt" -w '%{http_code}\n' \
-X POST https://api.indexnow.org/indexnow \
-H 'Content-Type: application/json; charset=utf-8' \
-d '{"host":"www.example.com","key":"<key>","keyLocation":"https://www.example.com/<key>.txt","urlList":["https://www.example.com/blog/new-post"]}'
200 means accepted, and 202 means accepted with the key check still pending. 403 means the engine can't find the key file or the file doesn't match. 422 means a URL isn't on the host. 429 means too many requests: stop, and put the URLs on the retry list.
Bing Webmaster API, when BING_WEBMASTER_API_KEY is set. The site must be verified in Bing Webmaster Tools under exactly this siteUrl. Read the quota, then submit no more than the daily quota and no more than 500 URLs per call:
curl -sS --max-time 30 "https://ssl.bing.com/webmaster/api.svc/json/GetUrlSubmissionQuota?siteUrl=https%3A%2F%2Fwww.example.com&apikey=$BING_WEBMASTER_API_KEY"
curl -sS --max-time 30 -X POST "https://ssl.bing.com/webmaster/api.svc/json/SubmitUrlbatch?apikey=$BING_WEBMASTER_API_KEY" \
-H 'Content-Type: application/json; charset=utf-8' \
-d '{"siteUrl":"https://www.example.com","urlList":["https://www.example.com/blog/new-post"]}'
{"d":null} means accepted. Record any other answer. URLs over the quota go on the retry list. Never use curl -v or set -x here, because both print the key.
Bing's page in the browser. Open Bing Webmaster Tools, pick the site, open URL Submission and choose Submit URLs. Enter one URL per line, submit, and read the remaining quota on the page.
Otherwise, list Bing as a manual step: set up IndexNow, or set BING_WEBMASTER_API_KEY from Bing Webmaster Tools under Settings, API Access.
Skip this step when engines= leaves out google. Do it once per run, before the URL requests.
Find the property. Use property= or the project's docs. Otherwise read the property list in Search Console in the browser. Prefer a domain property (sc-domain:example.com) that covers the host. Otherwise use the URL-prefix property that the URLs start with. With no property, the Google steps become one manual step: verify the site in Search Console.
Check the sitemap lists the URLs. If it doesn't list them yet, say so. Some platforms update their sitemap a while after a page goes live.
The Search Console API, when SEARCH_CONSOLE_ACCESS_TOKEN holds an OAuth access token with the https://www.googleapis.com/auth/webmasters scope, for an account that has access to the property. URL-encode the property and the sitemap URL:
curl -sS --max-time 30 -o /dev/null -w '%{http_code}\n' -X PUT -H 'Content-Length: 0' \
-H "Authorization: Bearer $SEARCH_CONSOLE_ACCESS_TOKEN" \
"https://www.googleapis.com/webmasters/v3/sites/sc-domain%3Aexample.com/sitemaps/https%3A%2F%2Fwww.example.com%2Fsitemap.xml"
200 or 204 means accepted. 401 means the token expired. 403 means the account has no access to the property.
The Sitemaps page in the browser. Open the property, choose Indexing, then Sitemaps. Enter the sitemap URL under "Add a new sitemap" and submit. Resubmit a sitemap Google already has the same way.
Skip this step when engines= leaves out google, or when there's no browser. Put new pages first when you know which ones are new, from the user, the commits or the sitemap. Keep the rest in the order given.
https://search.google.com/search-console?resource_id=<URL-encoded property>. If it asks for a sign-in, or the account has no access to the property, stop the Google steps. Keep the tab open for the user and say why. Request Indexing needs an Owner or Full user on the property.lastmod or what the user said. When you don't know when the page changed and the user named the URL, request it.noindex, a robots.txt block or an error. Record Google's reason. Don't retry it.Skip this step when engines= leaves out brave, or when there's no browser.
https://search.brave.com/submit-url. For each URL, enter it in the field, submit, and read the confirmation. Submit one URL at a time, a few seconds apart.Close every tab this run opened, even when a step failed. Keep a tab open only when the user must act in it, such as to sign in or solve a CAPTCHA, and say which tab and why.
Give the report as your reply, following any reply format the user's instructions set. Use the template below. Give times in the user's time zone when you know it, otherwise in UTC.
A retry is only for URLs held back by a quota: Google's daily quota, Bing's daily quota, or an IndexNow 429. Don't retry rejected, skipped or failed URLs. Each one needs a fix first.
When. Retry 24 hours after the quota error, plus 15 minutes. Google doesn't say whether its quota window is a calendar day or a rolling 24 hours, and its message says to try again tomorrow. Waiting 24 hours after the error covers both.
The command. /seo-index engines=<engines with URLs left> site=<site> property=<property> <URLs>.
In T3 Code (the schedule_task tool exists), in an interactive run without task=: ask whether to schedule the retry, and give the time. Create nothing unless the user says yes. Then:
schedule_task with a title such as "Retry indexing: www.example.com", schedule set to {"type": "interval", "everyMs": 87300000} (24 hours and 15 minutes), bindToCurrentThread: false, and the prompt below with <task-id> left in.boundThreadId is null. If it isn't, call schedule_task again with the scheduledTaskId and bindToCurrentThread: false. Note the scheduledTaskId and the next run time.schedule_task with the scheduledTaskId and the prompt with the real task ID in place of <task-id>.The prompt:
/seo-index engines=<engines with URLs left> site=https://www.example.com property=sc-domain:example.com task=<task-id> misses=0
https://www.example.com/blog/new-post
https://www.example.com/blog/older-post
Scheduled retry for the project at <absolute project path>. An earlier /seo-index run hit a daily quota at <time and time zone>. Submit only the URLs above, and ask no questions. The browser steps need the user's Chrome with Claude in Chrome connected.
Each run starts its own thread, so the prompt must hold every fact the run needs. Add anything the user's own instructions require in a scheduled-task prompt.
In a scheduled retry (a run with task=), end with exactly one of these:
delete_scheduled_task.schedule_task with the scheduledTaskId and a prompt that lists only the URLs left, with misses=0. Leave schedule and bindToCurrentThread out of the call so they stay as they are.misses. Below 3, update the prompt with the new count. At 3, delete the task and tell the user that three retries in a row got nothing through. Ask them to check that the account is an Owner or Full user of the property, and whether other sessions spend the quota.Elsewhere, give the retry time and the command in the report.
Every section is required. Write "None" rather than dropping one.
# Indexing Run: <host>
**Date:** <ISO 8601 timestamp with time zone>
**Site:** <origin> · **Search Console property:** <property | not found>
**Routes:** <the route used for each engine, such as IndexNow, Sitemaps page, Request Indexing in the browser, Brave's submit page>
**Settings:** <each setting and where it came from: argument, answer or (default)>
## Summary
<Two or three sentences: how many URLs each engine accepted, whether Google's quota ran out and after how many requests, and what's left and when it retries.>
## URLs
| URL | Check | In sitemap | Bing / IndexNow | Google | Brave |
|-----|-------|------------|-----------------|--------|-------|
| <url> | <ready / replaced by <url> / skipped: <reason>> | <yes / not yet> | <accepted / pending key check / quota / failed: <reason>> | <requested / already crawled / quota / rejected: <reason>> | <submitted / manual> |
## Waiting for a Retry
<The URLs and engines, the retry time and the command, and the T3 Code task with its ID and next run, if one exists.>
## Needs You
<Each manual step, written so the user can do it without this report: sign in, solve a CAPTCHA, verify a property, set an API key, deploy the IndexNow key file.>
## Method
- **Requests:** <n> page checks with curl, <API calls by route>, <n> browser submissions
- **Google quota:** <n> requests accepted before the quota message at <time> | not reached
- **Scratch folder:** <path>
- **Repo:** <unchanged | IndexNow key file added at <path>, not committed>
Before giving the report:
boundThreadId null. In a scheduled retry: the task updated or deleted.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/seo-auditAudit a site's code through three lenses: SEO (rankings, deprecated tags LLMs still generate, meta tags, structured data, performance signals), AEO (being the direct answer in featured snippets, voice replies and answer boxes) and GEO (being cited in AI answers: crawler access, topical authority, evidence, authorship, entities). Optional live URL check and brand web search. Writes one timestamped report with a score per lens to docs/seo-audit/./seo-crawlCrawl a live site the way search engines do and report what they get: the title and content in the served HTML for Googlebot and a browser, status codes, redirects, soft 404s, robots.txt rules under RFC 9309, sitemaps, canonical and robots signals, metadata, structured data, page weight, caching, mobile and security headers. Works on any site, with or without its repo. Splits the checks across up to three parallel workers, re-checks the serious findings, says where each fix goes (a repo file, or a host, CDN or platform setting), and ends with a verdict on whether fixing them is worth it. Read-only until you pick the fixes./seo-faqBuild, update or validate visible FAQ sections and, if you want it, their FAQPage or QAPage JSON-LD. Drafts questions and answers from a page's own content, the latest question map or answers you supply, renders the FAQ and any markup from one data source, and checks existing markup against the visible text. Supports --dry-run.npx claudepluginhub charlesjones-dev/ai-agent-plugins --plugin ai-seoOther plugins' skills for the same job