seo-supervisor 0.0.0-stage → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/.claude-plugin/icon.png +0 -0
  2. package/.claude-plugin/marketplace.json +16 -0
  3. package/.claude-plugin/plugin.json +27 -0
  4. package/CHANGELOG.md +461 -0
  5. package/LICENSE +25 -0
  6. package/NOTICE +7 -0
  7. package/README.md +402 -2
  8. package/agents/seo-auditor.md +16 -0
  9. package/agents/seo-reviewer.md +16 -0
  10. package/bin/agents.mjs +230 -0
  11. package/bin/extras.mjs +422 -0
  12. package/bin/prompt.mjs +96 -0
  13. package/bin/seo-supervisor.mjs +477 -0
  14. package/commands/seo-audit.md +33 -0
  15. package/commands/seo-brief.md +28 -0
  16. package/commands/seo-connect.md +27 -0
  17. package/commands/seo-fix.md +34 -0
  18. package/commands/seo-grow.md +26 -0
  19. package/commands/seo-launch.md +21 -0
  20. package/commands/seo-review.md +19 -0
  21. package/commands/seo-rewrite.md +25 -0
  22. package/commands/seo-setup.md +35 -0
  23. package/commands/seo-watch.md +28 -0
  24. package/hooks/hooks.json +117 -0
  25. package/package.json +58 -4
  26. package/skills/seo-supervisor/NOTICE +7 -0
  27. package/skills/seo-supervisor/SKILL.md +480 -0
  28. package/skills/seo-supervisor/audience.md +61 -0
  29. package/skills/seo-supervisor/examples/drafts/security.md +41 -0
  30. package/skills/seo-supervisor/examples/hooks/README.md +28 -0
  31. package/skills/seo-supervisor/examples/hooks/claude-code-settings.json +15 -0
  32. package/skills/seo-supervisor/examples/hooks/codex-hooks.json +17 -0
  33. package/skills/seo-supervisor/examples/hooks/copilot-hooks.json +15 -0
  34. package/skills/seo-supervisor/examples/hooks/cursor-hooks.json +11 -0
  35. package/skills/seo-supervisor/examples/hooks/github-actions.yml +21 -0
  36. package/skills/seo-supervisor/examples/hooks/pre-commit +17 -0
  37. package/skills/seo-supervisor/examples/hooks/reading-ease.yml +24 -0
  38. package/skills/seo-supervisor/examples/sample-audit.json +532 -0
  39. package/skills/seo-supervisor/examples/sample-report.html +704 -0
  40. package/skills/seo-supervisor/examples/sample-report.md +360 -0
  41. package/skills/seo-supervisor/examples/scheduled-runs.md +89 -0
  42. package/skills/seo-supervisor/examples/security-tools-profile.md +73 -0
  43. package/skills/seo-supervisor/examples/snippets.md +781 -0
  44. package/skills/seo-supervisor/frameworks/nextjs.md +98 -0
  45. package/skills/seo-supervisor/frameworks/rails.md +34 -0
  46. package/skills/seo-supervisor/frameworks/spa.md +14 -0
  47. package/skills/seo-supervisor/grow.md +342 -0
  48. package/skills/seo-supervisor/og-images.md +85 -0
  49. package/skills/seo-supervisor/page-types.md +124 -0
  50. package/skills/seo-supervisor/planning.md +157 -0
  51. package/skills/seo-supervisor/profile-template.md +96 -0
  52. package/skills/seo-supervisor/report-format.md +313 -0
  53. package/skills/seo-supervisor/rewrite.md +59 -0
  54. package/skills/seo-supervisor/rules/ai-search.md +93 -0
  55. package/skills/seo-supervisor/rules/content.md +84 -0
  56. package/skills/seo-supervisor/rules/crawl-index.md +92 -0
  57. package/skills/seo-supervisor/rules/internal-linking.md +104 -0
  58. package/skills/seo-supervisor/rules/launch-monitoring.md +57 -0
  59. package/skills/seo-supervisor/rules/media.md +42 -0
  60. package/skills/seo-supervisor/rules/metadata.md +71 -0
  61. package/skills/seo-supervisor/rules/performance.md +78 -0
  62. package/skills/seo-supervisor/rules/rendering.md +79 -0
  63. package/skills/seo-supervisor/rules/search-intent.md +32 -0
  64. package/skills/seo-supervisor/rules/sitemaps-robots.md +49 -0
  65. package/skills/seo-supervisor/rules/structured-data.md +98 -0
  66. package/skills/seo-supervisor/rules/trust-security.md +48 -0
  67. package/skills/seo-supervisor/rules/urls.md +54 -0
  68. package/skills/seo-supervisor/scripts/ai-answers.mjs +314 -0
  69. package/skills/seo-supervisor/scripts/backlinks.mjs +412 -0
  70. package/skills/seo-supervisor/scripts/change-check.mjs +281 -0
  71. package/skills/seo-supervisor/scripts/checks/agents.mjs +488 -0
  72. package/skills/seo-supervisor/scripts/checks/assets.mjs +404 -0
  73. package/skills/seo-supervisor/scripts/checks/bots.mjs +146 -0
  74. package/skills/seo-supervisor/scripts/checks/business-type.mjs +193 -0
  75. package/skills/seo-supervisor/scripts/checks/content.mjs +391 -0
  76. package/skills/seo-supervisor/scripts/checks/coverage.mjs +184 -0
  77. package/skills/seo-supervisor/scripts/checks/crawl.mjs +95 -0
  78. package/skills/seo-supervisor/scripts/checks/hreflang.mjs +396 -0
  79. package/skills/seo-supervisor/scripts/checks/hygiene.mjs +227 -0
  80. package/skills/seo-supervisor/scripts/checks/lighthouse.mjs +271 -0
  81. package/skills/seo-supervisor/scripts/checks/link-strength.mjs +59 -0
  82. package/skills/seo-supervisor/scripts/checks/links.mjs +360 -0
  83. package/skills/seo-supervisor/scripts/checks/local.mjs +101 -0
  84. package/skills/seo-supervisor/scripts/checks/media.mjs +194 -0
  85. package/skills/seo-supervisor/scripts/checks/outbound.mjs +53 -0
  86. package/skills/seo-supervisor/scripts/checks/page.mjs +223 -0
  87. package/skills/seo-supervisor/scripts/checks/probes.mjs +130 -0
  88. package/skills/seo-supervisor/scripts/checks/render.mjs +552 -0
  89. package/skills/seo-supervisor/scripts/checks/robots.mjs +144 -0
  90. package/skills/seo-supervisor/scripts/checks/schema.mjs +206 -0
  91. package/skills/seo-supervisor/scripts/checks/site-agents.mjs +79 -0
  92. package/skills/seo-supervisor/scripts/checks/site-content.mjs +135 -0
  93. package/skills/seo-supervisor/scripts/checks/site-hygiene.mjs +202 -0
  94. package/skills/seo-supervisor/scripts/checks/site-pages.mjs +474 -0
  95. package/skills/seo-supervisor/scripts/checks/site-security.mjs +102 -0
  96. package/skills/seo-supervisor/scripts/checks/sitemap.mjs +473 -0
  97. package/skills/seo-supervisor/scripts/checks/speed.mjs +267 -0
  98. package/skills/seo-supervisor/scripts/checks/technical.mjs +368 -0
  99. package/skills/seo-supervisor/scripts/checks/tls.mjs +297 -0
  100. package/skills/seo-supervisor/scripts/checks/trust.mjs +421 -0
  101. package/skills/seo-supervisor/scripts/checks/visual.mjs +1132 -0
  102. package/skills/seo-supervisor/scripts/checks/writing.mjs +192 -0
  103. package/skills/seo-supervisor/scripts/commoncrawl.mjs +452 -0
  104. package/skills/seo-supervisor/scripts/connect-keys.mjs +422 -0
  105. package/skills/seo-supervisor/scripts/content-scan.mjs +530 -0
  106. package/skills/seo-supervisor/scripts/crawl/catalog.mjs +1248 -0
  107. package/skills/seo-supervisor/scripts/crawl/fetch.mjs +362 -0
  108. package/skills/seo-supervisor/scripts/crawl/page.mjs +741 -0
  109. package/skills/seo-supervisor/scripts/crawl/queue.mjs +190 -0
  110. package/skills/seo-supervisor/scripts/dashboard.mjs +140 -0
  111. package/skills/seo-supervisor/scripts/data/ai-bots.json +38 -0
  112. package/skills/seo-supervisor/scripts/data/build-schema-vocab.mjs +57 -0
  113. package/skills/seo-supervisor/scripts/data/business-types.json +338 -0
  114. package/skills/seo-supervisor/scripts/data/google-rich-results.json +79 -0
  115. package/skills/seo-supervisor/scripts/data/schema-vocab.json +1 -0
  116. package/skills/seo-supervisor/scripts/deploy-check.mjs +462 -0
  117. package/skills/seo-supervisor/scripts/disavow.mjs +176 -0
  118. package/skills/seo-supervisor/scripts/doctor.mjs +174 -0
  119. package/skills/seo-supervisor/scripts/fonts/OFL-BricolageGrotesque.txt +93 -0
  120. package/skills/seo-supervisor/scripts/fonts/OFL-Geist.txt +93 -0
  121. package/skills/seo-supervisor/scripts/fonts/OFL-GeistMono.txt +93 -0
  122. package/skills/seo-supervisor/scripts/fonts/bricolage-grotesque.woff2 +0 -0
  123. package/skills/seo-supervisor/scripts/fonts/geist-mono.woff2 +0 -0
  124. package/skills/seo-supervisor/scripts/fonts/geist.woff2 +0 -0
  125. package/skills/seo-supervisor/scripts/geo-grid.mjs +371 -0
  126. package/skills/seo-supervisor/scripts/google/search-console.mjs +151 -0
  127. package/skills/seo-supervisor/scripts/google/session.mjs +167 -0
  128. package/skills/seo-supervisor/scripts/google-updates.mjs +189 -0
  129. package/skills/seo-supervisor/scripts/google.mjs +1341 -0
  130. package/skills/seo-supervisor/scripts/gsc-import.mjs +298 -0
  131. package/skills/seo-supervisor/scripts/guard/adapters/claude-code.mjs +149 -0
  132. package/skills/seo-supervisor/scripts/guard/adapters/cline.mjs +28 -0
  133. package/skills/seo-supervisor/scripts/guard/adapters/codex.mjs +26 -0
  134. package/skills/seo-supervisor/scripts/guard/adapters/copilot.mjs +36 -0
  135. package/skills/seo-supervisor/scripts/guard/adapters/cursor.mjs +33 -0
  136. package/skills/seo-supervisor/scripts/guard/adapters/devin.mjs +25 -0
  137. package/skills/seo-supervisor/scripts/guard/adapters/edits.mjs +124 -0
  138. package/skills/seo-supervisor/scripts/guard/mode.mjs +37 -0
  139. package/skills/seo-supervisor/scripts/guard/rules.mjs +931 -0
  140. package/skills/seo-supervisor/scripts/guard.mjs +74 -0
  141. package/skills/seo-supervisor/scripts/images.mjs +408 -0
  142. package/skills/seo-supervisor/scripts/indexnow.mjs +300 -0
  143. package/skills/seo-supervisor/scripts/issues.mjs +217 -0
  144. package/skills/seo-supervisor/scripts/keys/authority.mjs +135 -0
  145. package/skills/seo-supervisor/scripts/keys/bing.mjs +239 -0
  146. package/skills/seo-supervisor/scripts/keys/clarity.mjs +137 -0
  147. package/skills/seo-supervisor/scripts/keys/dataforseo.mjs +57 -0
  148. package/skills/seo-supervisor/scripts/keys/googleplaces.mjs +26 -0
  149. package/skills/seo-supervisor/scripts/keys/http.mjs +212 -0
  150. package/skills/seo-supervisor/scripts/keys/matomo.mjs +138 -0
  151. package/skills/seo-supervisor/scripts/keys/openai.mjs +26 -0
  152. package/skills/seo-supervisor/scripts/keys/perplexity.mjs +26 -0
  153. package/skills/seo-supervisor/scripts/keys/posthog.mjs +165 -0
  154. package/skills/seo-supervisor/scripts/keys/semrush.mjs +25 -0
  155. package/skills/seo-supervisor/scripts/keys/services.mjs +41 -0
  156. package/skills/seo-supervisor/scripts/keys/store.mjs +140 -0
  157. package/skills/seo-supervisor/scripts/keys/visits.mjs +58 -0
  158. package/skills/seo-supervisor/scripts/keys/youtube.mjs +84 -0
  159. package/skills/seo-supervisor/scripts/keyword-data.mjs +316 -0
  160. package/skills/seo-supervisor/scripts/keyword-ideas.mjs +503 -0
  161. package/skills/seo-supervisor/scripts/lib/args.mjs +56 -0
  162. package/skills/seo-supervisor/scripts/lib/business.mjs +27 -0
  163. package/skills/seo-supervisor/scripts/lib/cdp.mjs +242 -0
  164. package/skills/seo-supervisor/scripts/lib/cli.mjs +56 -0
  165. package/skills/seo-supervisor/scripts/lib/csv.mjs +38 -0
  166. package/skills/seo-supervisor/scripts/lib/findings.mjs +100 -0
  167. package/skills/seo-supervisor/scripts/lib/google-client.mjs +9 -0
  168. package/skills/seo-supervisor/scripts/lib/html.mjs +146 -0
  169. package/skills/seo-supervisor/scripts/lib/http.mjs +28 -0
  170. package/skills/seo-supervisor/scripts/lib/image-size.mjs +78 -0
  171. package/skills/seo-supervisor/scripts/lib/is-main.mjs +13 -0
  172. package/skills/seo-supervisor/scripts/lib/net.mjs +116 -0
  173. package/skills/seo-supervisor/scripts/lib/proxy.mjs +47 -0
  174. package/skills/seo-supervisor/scripts/lib/recheck.mjs +106 -0
  175. package/skills/seo-supervisor/scripts/lib/redact.mjs +78 -0
  176. package/skills/seo-supervisor/scripts/lib/robots.mjs +73 -0
  177. package/skills/seo-supervisor/scripts/lib/score.mjs +266 -0
  178. package/skills/seo-supervisor/scripts/lib/settings-dir.mjs +81 -0
  179. package/skills/seo-supervisor/scripts/links-import.mjs +603 -0
  180. package/skills/seo-supervisor/scripts/log-scan.mjs +597 -0
  181. package/skills/seo-supervisor/scripts/og-card.mjs +273 -0
  182. package/skills/seo-supervisor/scripts/osm.mjs +359 -0
  183. package/skills/seo-supervisor/scripts/rdap.mjs +164 -0
  184. package/skills/seo-supervisor/scripts/render-report.mjs +340 -0
  185. package/skills/seo-supervisor/scripts/report/client.js +37 -0
  186. package/skills/seo-supervisor/scripts/report/diff.mjs +264 -0
  187. package/skills/seo-supervisor/scripts/report/findings.mjs +165 -0
  188. package/skills/seo-supervisor/scripts/report/format.mjs +111 -0
  189. package/skills/seo-supervisor/scripts/report/markdown.mjs +250 -0
  190. package/skills/seo-supervisor/scripts/report/model.mjs +171 -0
  191. package/skills/seo-supervisor/scripts/report/overview-lines.mjs +158 -0
  192. package/skills/seo-supervisor/scripts/report/overview.mjs +224 -0
  193. package/skills/seo-supervisor/scripts/report/page.mjs +127 -0
  194. package/skills/seo-supervisor/scripts/report/panel.mjs +172 -0
  195. package/skills/seo-supervisor/scripts/report/panels/ai.mjs +211 -0
  196. package/skills/seo-supervisor/scripts/report/panels/connections.mjs +139 -0
  197. package/skills/seo-supervisor/scripts/report/panels/content.mjs +204 -0
  198. package/skills/seo-supervisor/scripts/report/panels/data-search.mjs +379 -0
  199. package/skills/seo-supervisor/scripts/report/panels/data-site.mjs +44 -0
  200. package/skills/seo-supervisor/scripts/report/panels/links.mjs +380 -0
  201. package/skills/seo-supervisor/scripts/report/panels/local.mjs +221 -0
  202. package/skills/seo-supervisor/scripts/report/panels/site.mjs +359 -0
  203. package/skills/seo-supervisor/scripts/report/panels/speed-media.mjs +267 -0
  204. package/skills/seo-supervisor/scripts/report/sources.mjs +163 -0
  205. package/skills/seo-supervisor/scripts/report/styles.css +223 -0
  206. package/skills/seo-supervisor/scripts/report/traffic.mjs +264 -0
  207. package/skills/seo-supervisor/scripts/report-plan.mjs +241 -0
  208. package/skills/seo-supervisor/scripts/schema-check.mjs +717 -0
  209. package/skills/seo-supervisor/scripts/seo-crawl.mjs +1151 -0
  210. package/skills/seo-supervisor/scripts/seo-diff.mjs +584 -0
  211. package/skills/seo-supervisor/scripts/update-check.mjs +82 -0
  212. package/skills/seo-supervisor/site-types/content.md +55 -0
  213. package/skills/seo-supervisor/site-types/ecommerce.md +64 -0
  214. package/skills/seo-supervisor/site-types/local-business.md +118 -0
  215. package/skills/seo-supervisor/site-types/services.md +68 -0
  216. package/skills/seo-supervisor/site-types/tools.md +127 -0
  217. package/skills/seo-supervisor/strategy.md +232 -0
  218. package/skills/seo-supervisor/troubleshooting.md +56 -0
package/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Zaman Khan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ The fonts in skills/seo-supervisor/scripts/fonts/ (Geist, Geist Mono and
24
+ Bricolage Grotesque) are licensed separately under the SIL Open Font License
25
+ 1.1; their licence files are in that folder.
package/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ SEO Supervisor
2
+ Copyright (c) 2026 Zaman Khan. MIT License (see LICENSE).
3
+
4
+ The structured data checker's vocabulary (skills/seo-supervisor/scripts/data/schema-vocab.json) is derived
5
+ from the Schema.org vocabulary, version 30.1 (https://schema.org), reduced to type, parent, domain and range
6
+ names. Schema.org is licensed under the Creative Commons Attribution-ShareAlike 3.0 licence
7
+ (CC BY-SA 3.0, https://creativecommons.org/licenses/by-sa/3.0/). schema-vocab.json is shared under the same licence.
package/README.md CHANGED
@@ -1,3 +1,403 @@
1
- # Temporary Holding Version
1
+ <p align="center"><img src="assets/logo/icon-256.png" width="112" height="112" alt=""></p>
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <h1 align="center">SEO Supervisor</h1>
4
+
5
+ <p align="center">
6
+ <b>Audits, fixes and guards your site's SEO from inside your coding agent, and never touches your content without asking.</b>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://github.com/m-zaman-khan/seo-supervisor/actions/workflows/ci.yml"><img alt="Tests" src="https://github.com/m-zaman-khan/seo-supervisor/actions/workflows/ci.yml/badge.svg"></a>
11
+ <a href="https://www.npmjs.com/package/seo-supervisor"><img alt="npm" src="https://img.shields.io/npm/v/seo-supervisor?color=2459c9"></a>
12
+ <a href="LICENSE"><img alt="MIT license" src="https://img.shields.io/badge/license-MIT-238a52"></a>
13
+ <img alt="Node 22+" src="https://img.shields.io/badge/node-22%2B-3a4757">
14
+ <img alt="Zero dependencies" src="https://img.shields.io/badge/dependencies-0-3a4757">
15
+ </p>
16
+
17
+ <p align="center">
18
+ <a href="https://m-zaman-khan.github.io/seo-supervisor/"><b>See a live sample report →</b></a>
19
+ </p>
20
+
21
+ <p align="center">
22
+ <img src="docs/images/report-overview-dark.png" alt="SEO Supervisor report: a 49/100 health score held down by two blockers, the 90 the site reaches once they are fixed, and the areas losing the most points" width="900">
23
+ </p>
24
+
25
+ SEO Supervisor is a skill for Claude Code and other coding agents. It crawls your site the way Google does and checks it against 171 current SEO rules. Then it gives you one clear report: a 0–100 score, every problem with its evidence, and what to do first.
26
+
27
+ Then it fixes what can safely be fixed in code, re-checks each fix, and tells you plainly what only you can fix.
28
+
29
+ ```bash
30
+ npx seo-supervisor # then, in Claude Code: /seo-audit
31
+ ```
32
+
33
+ ## Contents
34
+
35
+ - [What's new in 2.0](#whats-new-in-20)
36
+ - [Install](#install)
37
+ - [Commands](#commands)
38
+ - [Starting from zero](#starting-from-zero)
39
+ - [The report](#the-report)
40
+ - [Optional: outside checks and Search Console](#optional-outside-checks-and-search-console)
41
+ - [What it checks](#what-it-checks)
42
+ - [Safe by default](#safe-by-default)
43
+ - [Tested](#tested)
44
+ - [Updating](#updating)
45
+ - [FAQ](#faq)
46
+
47
+ ## What's new in 2.0
48
+
49
+ - **Since last audit.** Each audit compares itself with the previous crawl and lists what got worse (a page now noindex, a lost H1, a new error) and what got better.
50
+ - **Deeper checks:** hreflang, document basics, meta refresh, robots header conflicts, image weight and format, shop merchant-listing schema, Content-Signal, Markdown for agents, and a missing or malformed llms.txt.
51
+ - **Live HTTPS checks** with `--check-live`: certificate trust, hosts and time left, the http→https redirect and HSTS. A certificate blocker fails `/seo-launch`.
52
+ - **Real-world data, only if you switch it on:** real-user Core Web Vitals from Google PageSpeed Insights, and a headless Chrome render that shows what your JavaScript changes.
53
+ - **Search Console:** drop your Performance export into `seo-audit/` and findings show their clicks, with new findings for low click rates, pages almost on page one and pages competing for one query.
54
+ - **Search intent and briefs:** checks whether a page is the kind of page that ranks for its phrase, and the new `/seo-brief` writes a content brief.
55
+ - **Free tools that need no account:** a share-image generator using your own Chrome, IndexNow pings to Bing and others, an offline structured-data checker with optional git, CI and agent hooks, and a server-log scan that shows what search and AI crawlers really get.
56
+ - **A fairer score:** a site whose pages all share a default title, or have no H1 or canonical, now scores as Poor instead of Good.
57
+ - **Speed you can act on:** which part of the main image's load is slow, with the fix for that part, and "Since last audit" says when a page got slower. Plus checks for next-page preloading, instant Back and Forward, and oversized pages.
58
+ - **More connections and checks:** Matomo and PostHog visits, a check that your known backlinks still exist, Google ranking updates next to your numbers, Lighthouse on every page if you want it, and "Since last audit" now notices schema that lost fields.
59
+ - **Search Console in more depth:** image, video, news and Discover clicks, clicks by device and country, the change from the period before with the pages that dropped most, and the rich-result errors Google reports. It also warns when a period overlaps a data problem Google has documented.
60
+ - **Fewer blind spots:**
61
+ - Gzipped and plain-text sitemaps are read; a broken sitemap is reported with its line, and an empty one or a relative `<loc>` is flagged.
62
+ - robots `none` counts as noindex.
63
+ - Tests the www/bare-domain redirect, and compares what Googlebot gets with what visitors get.
64
+ - Checks the favicon and your phone number and address on the page.
65
+ - Business Profile, Bing Places and Apple Business guidance for local businesses.
66
+ - **Trust and the right schema:**
67
+ - A Trust signals (E-E-A-T) view on the Site & content tab, for example "73/100 · 8 of 11 found", listing what to add. It's SEO Supervisor's own check, not a Google score, and it never changes your health score.
68
+ - The Local SEO and Content quality views show the existing area scores under clearer names.
69
+ - The crawler recognises 48 kinds of business (restaurants, clinics, trades, salons, hotels, shops, schools, publishers…), flags a schema that's too general, and asks you when two types fit.
70
+ - **Free backlink view:** export Search Console's three Links tables into `seo-audit/links/`. The Links tab then shows how many sites link to you, your most-linked pages and the mix of link text. If linking sites fall by 30% and at least 10, "Since last audit" says so. There are no toxic-link scores, because Google discounts spam links itself.
71
+ - **Writing and AI agents:**
72
+ - Writing notes on English pages point out long sentences, long paragraphs and stock phrases. They're information only.
73
+ - Form fields and buttons with no name are flagged, since screen readers and browsing AI agents both need those names.
74
+ - An AI agents note lists WebMCP tools, a UCP shop profile and agent files when a site has them.
75
+ - **More rich results and small checks:**
76
+ - The schema checker knows every rich-result type in Google's search gallery, flags retired ones, and `examples/snippets.md` has copy-ready code for each.
77
+ - Desktop speed with good / needs improvement / poor bands, and INP and CLS in "Since last audit".
78
+ - Small checks: sitemap duplicates and nested indexes, unencoded links, images without `srcset` or lazy loading, repeated head tags, cookie flags, short HSTS, old TLS versions, and tap targets on phones.
79
+ - `page-types.md` gives a checklist per page type.
80
+ - **Languages, images and deeper comparisons:**
81
+ - hreflang is read from the page, the HTTP `Link` header and the sitemap, as one set. The skill flags missing language versions, untranslated copies, `lang` tags that don't match, and the Google Translate widget used as a site's only translation.
82
+ - An "Images by possible saving" table, and `images.mjs` to convert heavy images to WebP or AVIF with an optional add-on, only with your yes.
83
+ - "Since last audit" also shows robots.txt changes, pages leaving or joining the sitemap, pages losing internal links, and changed redirects. Pages other sites link to that now break are flagged.
84
+ - With `--render all`, every page is tested in a browser, up to 200, not just 10. Form fields that iPhones zoom into are flagged, and Lighthouse keeps every failed audit with the files behind it.
85
+ - Matomo and PostHog visits by device and country, and an optional Bing URL submission.
86
+ - **Grow, rewrite and know your audience:**
87
+ - `/seo-grow` turns your own data into an ordered to-do list for more visitors: who visits, what they search for, quick wins, and when to check the results.
88
+ - `/seo-rewrite` rewrites a page in plain words, paragraph by paragraph. You see before and after, and nothing changes without your yes. No API needed: your own agent does it.
89
+ - Keyword ideas (`keyword-ideas.mjs`) from your own Search Console queries and crawl: queries almost on page one, queries no page is about, and real questions. With outside checks on, phrases from search results are added, each with its source. No made-up volumes, and you pick the targets.
90
+ - Keyword data (`keyword-data.mjs`) from your own DataForSEO or Semrush account: monthly searches, difficulty, cost per click and intent for those ideas, and with DataForSEO the keywords a competitor ranks for and you don't. A dry run shows the most it can cost first.
91
+ - Audience check: name up to 4 audiences in the profile, and the report lists what each key page gives them and what's missing, with evidence from the page. No score, and no invented personas.
92
+ - Links worth a look, and a disavow helper. The Links panel lists links that stand out, with what to check, and no score. `disavow.mjs` writes a disavow file from the domains you pick, keeping your old list, for you to upload. It's only for real cases, such as a manual action or links you bought.
93
+ - Share previews: a share image without `twitter:card` (X then shows at most a small card), and a `twitter:card` value X doesn't define.
94
+ - **Security, crawling and structured data:**
95
+ - TRUST-01 also checks:
96
+ - how strong the content security policy is
97
+ - Permissions-Policy
98
+ - HSTS that browsers ignore or that leaves out subdomains, and preload readiness
99
+ - mixed content in the head and in media
100
+ - server versions with known critical holes
101
+ - Headless Chrome and Lighthouse can't reach private or cloud-metadata addresses. Secrets, home folders and emails are masked in findings and notes.
102
+ - The crawler:
103
+ - reads RSS and Atom sitemaps and `/wp-sitemap.xml`
104
+ - merges repeated and versioned robots.txt groups
105
+ - reads the one group Googlebot obeys (its own, else `*`)
106
+ - waits when a site says "too many requests" (429)
107
+ - audits one section (`--include`, `--exclude`)
108
+ - estimates the site's size past its page limit
109
+ - compares Google's indexed count with its own
110
+ - flags indexable pages with URL parameters, and malformed links
111
+ - Schema: placeholder text left in JSON-LD, missing or empty `@type`, schema images that don't load, the deprecated Attorney type, and imprecise map coordinates.
112
+ - **Content and guides:**
113
+ - Descriptions that barely match their page, end with the title's brand, or are templated across the site.
114
+ - Stale guides, keyword-use verdicts, more claim patterns ("grew 40%", "3x faster") with a source check, and an opt-in reading-ease check for CI (your pass mark; SEO Supervisor's own check, not Google's).
115
+ - New guides:
116
+ - competitor analysis
117
+ - a one-page intent review with a wireframe
118
+ - a cluster map
119
+ - fuller briefs
120
+ - comparison, case-study, hybrid and language-version pages
121
+ - publisher rules
122
+ - **Links and connections:**
123
+ - New linking sites since the last export.
124
+ - Pages no other site links to.
125
+ - Reciprocal link swaps in "Worth a look".
126
+ - Each backlink's target, text and nofollow.
127
+ - Outbound link counts.
128
+ - A free Common Crawl lookup.
129
+ - Domain age from RDAP.
130
+ - Optional Moz and YouTube keys.
131
+ - Property totals and the "AI Assistant" channel from Google, more from Bing, Matomo and PostHog, and imports of Google's and Bing's AI reports.
132
+ - **Shops, images, phones, local, AI and the report:**
133
+ - Shop checks for a missing product image, a price of 0, a price end date that has passed, a currency that isn't an ISO code, a stock status schema.org doesn't list, an "N/A" brand, unlabelled adult products and one H1 shared by many product pages. The report counts which products give a brand, GTIN, SKU, colour, size, material and category.
134
+ - Image checks: weak alt text, extra image preloads, images over 500 KB, and a main image without `fetchpriority`. Image credits and AI labels are read from the files, and `images.mjs --label-ai` adds the AI label without re-encoding the image.
135
+ - More real-user speed detail: the share of good and poor visits, FCP and TTFB, the data's period, 4-week averages, and tablet and home-page trends. Server response time per page, and Lighthouse on as many pages as you name.
136
+ - With outside checks on, each sample page's desktop and phone loads are also read for: browser errors, text only JavaScript adds, what's on the first screen, the phone menu, ads, hidden text and jump links. Whole-page, 1920×1080 and tablet screenshots, and `--render-page` renders a page you pick.
137
+ - Tells a storefront from a business that goes to its customers, and doesn't ask the second for a street address. With your yes, it adds nearby competitors and an address check from OpenStreetMap: free, no key.
138
+ - A table of which AI crawlers robots.txt lets in, a check of where Content-Signal lines sit, and, with your yes, a test of whether a firewall turns AI search crawlers away. The log scan knows more Google, OpenAI and Meta bots, from the same list as the table, and can check visits against the vendors' published addresses.
139
+ - "Since last audit" now covers H1 and H2 text, hreflang, more share tags, retired schema and shrunk sections. It keeps a timeline of every crawl and can run on a schedule.
140
+ - A PDF report (`render-report.mjs --pdf`), a score per page, `npx seo-supervisor doctor` when something fails, `npx seo-supervisor dashboard` for several sites, and per-client logins for agencies (`SEO_SUPERVISOR_CLIENT`). `--with-browser` adds Chrome for containers and CI, and `--zip` makes a zip to upload to claude.ai (Customize → Skills, with code execution on).
141
+
142
+ ## Install
143
+
144
+ Pick **one** of these per machine.
145
+
146
+ **Claude Code plugin**
147
+
148
+ ```text
149
+ /plugin marketplace add m-zaman-khan/seo-supervisor
150
+ /plugin install seo-supervisor@seo-supervisor
151
+ ```
152
+
153
+ Claude Code puts the plugin name in front of plugin commands, so they appear as `/seo-supervisor:seo-audit` and so on.
154
+
155
+ **One command with npx** (any agent)
156
+
157
+ ```bash
158
+ npx seo-supervisor
159
+ ```
160
+
161
+ It asks two things:
162
+
163
+ 1. **Install for:** you, in every project, or this project only (to commit for your team).
164
+ 2. **Which agents:** a checklist of 21 coding agents, including Claude Code, Codex, Cursor, Devin (formerly Windsurf), Gemini CLI, Antigravity, GitHub Copilot, OpenCode, Grok, Cline and Kiro. The agents installed on your machine are found and ticked for you.
165
+
166
+ ```text
167
+ ? Which agents? (space to select, a for all, enter to confirm)
168
+ ❯ ◉ Claude Code found · ~/.claude/skills
169
+ ◉ Codex found · ~/.agents/skills
170
+ ◉ Cursor found · ~/.cursor/skills
171
+ ◯ Devin (formerly Windsurf) ~/.config/devin/skills
172
+ …
173
+ ```
174
+
175
+ The skill goes into each agent's own skills folder, and agents that share a folder get one copy. Each agent also gets what it supports:
176
+ - **The `/seo-audit`, `/seo-fix`, `/seo-review`, `/seo-launch`, `/seo-setup`, `/seo-brief`, `/seo-rewrite`, `/seo-grow`, `/seo-watch` and `/seo-connect` commands:** Claude Code, OpenCode, Roo Code, Augment and Gemini CLI. Most other agents show the skill itself as `/seo-supervisor`. In any agent you can also just ask in plain words: "audit the SEO of this site", "did my change help?", "is my setup OK?".
177
+ - **Subagents** (`seo-auditor`, `seo-reviewer`): Cursor, OpenCode and GitHub Copilot (and the Claude Code plugin).
178
+ - **The guard hook** ([below](#the-guard)): Codex, Cursor, GitHub Copilot, Devin and Cline (and the Claude Code plugin). It's added next to any hooks you already have. Codex runs it once you trust it in `/hooks`. Cline runs it in its CLI, SDK and Kanban only: its VS Code and JetBrains extensions don't run plugins yet. `--no-guard` leaves it out.
179
+
180
+ The installer only ever replaces or removes its own files, and `--uninstall` also removes the folders it made, once they're empty.
181
+
182
+ For scripts and CI, use flags to skip the questions:
183
+
184
+ ```bash
185
+ npx seo-supervisor --agent claude-code,cursor --scope project # those agents, in this project
186
+ npx seo-supervisor --yes # the agents it finds, for you
187
+ npx seo-supervisor --agent cursor --no-guard # without the guard hook
188
+ npx seo-supervisor --uninstall # remove it again
189
+ ```
190
+
191
+ `npx seo-supervisor --help` lists every agent key. Using an agent that isn't on the list? `npx skills add m-zaman-khan/seo-supervisor` covers 40+ more.
192
+
193
+ Needs Node 22 or newer. There's nothing else to install: zero dependencies, plus two optional add-ons, both kept in `~/.seo-supervisor/tools`, never in your project:
194
+ - **Lighthouse** (about 170 MB) gives real Performance, SEO, Accessibility and Best practices scores. The installer offers it; add it later with `npx seo-supervisor --with-lighthouse`.
195
+ - **sharp** (about 20 MB) converts heavy images to WebP or AVIF. The installer doesn't ask about it; fix mode offers it when it finds heavy images, or add it with `npx seo-supervisor --with-image-tools`.
196
+
197
+ Every key or account is optional too: see [Optional: outside checks and Search Console](#optional-outside-checks-and-search-console).
198
+
199
+ ## Commands
200
+
201
+ | Command | What it does | Edits anything? |
202
+ | --- | --- | --- |
203
+ | `/seo-audit [url]` | Crawls a production build of your site, inspects the code and the content data, and writes the report to `seo-audit/`. Give a page's URL to check just that page. Ends by offering connections, GitHub issues, the AI answer check and, for local businesses, the geo-grid | Never |
204
+ | `/seo-fix [F-001 F-004]` | Fixes the named findings, or all open ones, at the root (the shared metadata helper, sitemap or layout), re-checks each fix and updates the report. Asks first before CMS edits, removing or merging pages, live URLs, robots, and AI crawler rules | Only what you approved |
205
+ | `/seo-review [PR or branch]` | Finds the SEO problems a change introduces: a lost canonical, an accidental noindex, a dropped H1, made-up ratings… with a before/after crawl comparison and a structured data check | Never |
206
+ | `/seo-launch [url]` | A pass/fail gate before you switch indexing on, plus the launch-day checklist: IndexNow, a deploy check for CI, and the redirect checks for a site move | Never |
207
+ | `/seo-setup [url]` | For a site with **no SEO yet**: proposes a full SEO plan, then builds it once you approve | Only after you approve the plan |
208
+ | `/seo-brief [topic or URL]` | Writes a content brief: intent, phrases, outline, questions to answer, the facts it needs from you, and internal links | Never (writes only `seo-audit/briefs/`) |
209
+ | `/seo-rewrite [page, file, or "writing notes"]` | Rewrites a page's text in plain words, paragraph by paragraph, keeping facts, links and target phrases | Only what you say yes to |
210
+ | `/seo-grow [goal, page or audience]` | An ordered to-do list for more visitors, from your own data: who visits, what they search for, quick wins, and when to check the results, plus the ideas it left out and why | Never (writes only `seo-audit/grow-plan.md`) |
211
+ | `/seo-watch [change date or pages]` | What changed since the last audit, whether a change helped (changed pages against similar unchanged ones in Search Console), Google updates in the period, and a dashboard for several sites. Offers a deploy check for CI and scheduled runs | Never (writes only `seo-audit/watch/`) |
212
+ | `/seo-connect [service]` | Checks your setup first, then shows each data connection (Search Console, Bing, Clarity and the rest) and offers to connect the missing ones. Keys are typed at a hidden prompt, never in chat | Never |
213
+
214
+ Fix, rewrite and setup run only when you type them, never on Claude's own initiative. As a Claude Code plugin, each command pre-approves the scripts it runs, for that turn only, named one by one, and the ones that send or write outside (GitHub issues, IndexNow, AI answers, the geo-grid, sitemap submits) still ask.
215
+
216
+ ### The guard
217
+
218
+ Before an AI agent does something risky for SEO, SEO Supervisor stops it and asks you: a script that contacts an outside service or writes to your accounts, a noindex, a robots.txt or AI crawler rule, a redirect change, a removed page or a changed canonical. Each question says what would happen, for example "Every page would drop out of Google." An API key pasted in chat is stopped before the AI sees it (except in Cline, which has no hook for that). A bare 32-character hex key, like Bing's or Matomo's, is caught when a word like "key" or "bing" sits just before it. Still, type keys only at `connect-keys.mjs set <service>`'s hidden prompt.
219
+
220
+ It comes with the Claude Code plugin, and the npx installer adds it to Codex, Cursor, GitHub Copilot, Devin and Cline (its CLI, SDK and Kanban; not yet its VS Code or JetBrains extension). Where the agent can show a yes/no box (Claude Code, Cursor's shell commands, Copilot CLI, Cline), you're asked there. Elsewhere the step is stopped with the reason, and the AI asks you in chat; if you say yes, do the step yourself, or set `"guard": "off"` in `seo-audit/settings.json` for that one step. Codex runs a new hook only after you trust it in `/hooks`.
221
+
222
+ It's on by default (ask). Switch it to block (the AI must ask you in chat) or off: in Claude Code with `/plugin configure seo-supervisor@seo-supervisor`, elsewhere with `SEO_SUPERVISOR_GUARD=block` or `"guard": "block"` in `seo-audit/settings.json`.
223
+
224
+ ### What the Claude Code plugin adds
225
+
226
+ - **The guard,** as above.
227
+ - **A structured data check after each edit** of an HTML or JSON-LD file. Its errors go straight back to the AI.
228
+ - **A review reminder:** at the end of a session that changed SEO files, a one-time note suggests `/seo-review`.
229
+ - **Two subagents,** `seo-auditor` and `seo-reviewer`, that run an audit or a review in their own context and keep the crawl out of your chat (`@agent-seo-supervisor:seo-auditor`).
230
+ - **Two settings,** asked once when you enable the plugin: your site address (the default for audits) and the guard mode.
231
+
232
+ ## Starting from zero
233
+
234
+ New site, or an old app that never had any SEO? Run `/seo-setup`. It plans first instead of handing you 60 problems:
235
+
236
+ 1. **It works out what your site is** from your own pages and routes. A landing page, a SaaS app, a blog, a shop, a portfolio and a local business each get a different plan, and none of them get pages they don't need.
237
+ 2. **It proposes the plan on a Plan tab.** That covers every page's title, description, H1, schema, target search phrase and links. Big sets like posts or products get one template instead of thousands of rows. New pages are proposed only where your site shows a gap, such as a missing `/docs` parent or a privacy page your forms need.
238
+ 3. **You approve it.** Risky changes are listed separately under **Needs your yes**, and each one needs its own yes: a domain change, robots, AI crawlers, anything in your CMS.
239
+ 4. **It builds the foundation and fixes the rest.** First the metadata helper, sitemap, robots, schema, headings, breadcrumbs and internal links. Then the other code problems the audit found, such as forms, results output, rendering and speed. Those are listed in the plan, so you approve them too. It drafts any copy you still need to approve, with visible placeholders instead of invented facts.
240
+ 5. **It proves it with an audit:** the score before and after, and what's still waiting for you.
241
+
242
+ Run `/seo-setup` again at any point and it continues where it stopped.
243
+
244
+ <p align="center">
245
+ <img src="docs/images/report-plan-dark.png" alt="The Plan tab: 83% of the agent's work done, the site structure as a tree, and every planned page with its target phrase and status" width="900">
246
+ </p>
247
+
248
+ ## The report
249
+
250
+ One HTML file that works offline. It opens in dark mode and has a light-mode switch, and it comes with a Markdown twin that holds every detail.
251
+
252
+ - **A 0–100 health score with area scores,** and the points each area loses, so you know where to start.
253
+ - **"Fix the blockers and the score rises to 90."** A blocker caps the score, and the report shows what fixing it unlocks.
254
+ - **"Needs you."** Anything only the owner can do (content, CMS edits, business decisions) is labelled, so it's clear what the agent will and won't change.
255
+ - **Action first:** the Overview shows the verdict and score, then **Fix first** (up to 5 things the agent can fix, each with a `/seo-fix F-012` line to copy) and **Needs you** (up to 3 owner tasks or decisions). Every finding ends with its next step.
256
+ - **The rest in tabs:** Findings and Decisions, then Search & AI, Speed, Links and Site & content, each only when it has data, then Since last audit (from the second audit on), Changes, Passed and Limits. Every finding says what's wrong, why it matters, how to fix it, and gives the evidence: URLs, files and line numbers.
257
+ - **How long each fix takes:** findings can say roughly whether a fix is quick, an hour or two, or half a day.
258
+ - **Traffic and speed when you have them:** Search Console clicks on the findings and plan rows they concern, with clicks and Core Web Vitals in the Overview's key numbers, and the detail on the Search & AI and Speed tabs.
259
+
260
+ <p align="center">
261
+ <img src="docs/images/report-diff-dark.png" alt="The Since last audit tab: two regressions, one improvement linked to its finding, and one page added" width="900">
262
+ </p>
263
+
264
+ <p align="center">
265
+ <img src="docs/images/report-overview-light.png" alt="The same report in light mode" width="49%">
266
+ <img src="docs/images/report-finding-dark.png" alt="An expanded finding with what's wrong, why it matters, how to fix and the evidence" width="49%">
267
+ </p>
268
+
269
+ ## Optional: outside checks and Search Console
270
+
271
+ **Outside checks are off until you say yes.** The agent asks once per project and remembers your answer in `seo-audit/settings.json`. Saying yes allows these:
272
+
273
+ | Check | What leaves your machine |
274
+ | --- | --- |
275
+ | Real-user speed (Core Web Vitals) | Up to 10 public page URLs, sent to Google PageSpeed Insights (needs `PSI_API_KEY`) |
276
+ | Lighthouse scores (only if you added Lighthouse) | Nothing is sent by the skill, but the sample pages load in your Chrome and run their own scripts. Chrome's own background services are switched off. 5 pages by default; `--lighthouse 20` covers that many, and `--lighthouse all` every page (up to 200, about 20 seconds each) |
277
+ | What your JavaScript changes, how pages look on a phone, and whether Back and Forward are instant | Nothing is sent by the skill, but up to 10 pages run in a headless Chrome or Edge, so their own scripts (analytics included) run. Chrome's own background services (updates, sync, usage reports) are switched off, so Chrome itself contacts nothing. Screenshots are saved locally |
278
+ | Search intent | Your pages' target phrases, sent to the agent's web search provider |
279
+ | Off-site brand presence | Your brand name, sent to the agent's web search provider |
280
+ | Google ranking updates in the period, so you can tell a drop that came with a Google update from one your site caused | Nothing about your site: a plain read of Google's public Search Status Dashboard, and with `--blog` the Search Central blog's feed |
281
+
282
+ A few more things reach out, each only after its own yes:
283
+ - **IndexNow** sends the URLs of changed pages to api.indexnow.org.
284
+ - **The backlink check** visits the pages that link to you, to see if the links are still there. Useful after a redesign or a move.
285
+ - **Broken outgoing links** (`--outbound-links`) visits up to 100 other websites your pages link to, to find broken links. It's asked about separately, even when outside checks are on.
286
+ - **Desktop speed** (`--desktop`) sends the same sample URLs to Google PageSpeed again, for desktop. It's also asked about separately.
287
+ - **Testing every page in a browser** (`--render all`) runs every page's own scripts, analytics included, up to 200 pages. It's asked about separately, with the time it will take.
288
+ - **Bing URL submission** (`connect-keys.mjs submit-bing`) sends the URLs you choose to Bing Webmaster Tools, within Bing's daily quota. It only sends after your yes. IndexNow already tells Bing about changed pages.
289
+ - **hreflang on other sites** (`--hreflang-other-sites`) visits up to 20 of your language versions hosted on other sites, to check that they link back.
290
+ - **The AI crawler test** (`--ai-bot-probe`) asks up to 3 of your pages again as ChatGPT's, Claude's and Perplexity's search crawlers, to see whether a firewall turns them away.
291
+ - **Competitor analysis** visits a few pages on each competitor site you name.
292
+ - **Product copy lookup** sends one sentence from one product description to the agent's web search, to see whether it's copied from the maker.
293
+ - **OpenStreetMap** (`osm.mjs`) sends your business's address to OpenStreetMap to check it, and asks for similar businesses nearby. A service-area business's street is never sent.
294
+ - **Domain age** (`rdap.mjs`) sends your domain and any competitors' to their registries' public RDAP servers.
295
+ - **Common Crawl** (`commoncrawl.mjs`) asks Common Crawl's public index about your site and the pages that link to you. With `--rank` it also reads your domain's rank in Common Crawl's web graph, streaming up to 500 MB of its public rank file (nothing is stored).
296
+ - **Bot IP check** (`log-scan.mjs --verify-ips`) downloads the AI vendors' public IP lists. Nothing about your site is sent.
297
+ - **The browser add-on** (`npx seo-supervisor --with-browser`) downloads Chrome for Testing when no Chrome or Edge is installed.
298
+ - **The connections** below send your site's address and domain names to Google, Bing, Open PageRank, Ahrefs, Moz or YouTube, and your chosen keywords to DataForSEO or Semrush. Matomo and PostHog get only your site or project ID and a request for search visits, sent to your own Matomo or PostHog server.
299
+
300
+ To switch them on for one run, say so: `/seo-audit with outside checks`. Real-user speed needs a free PageSpeed Insights API key from Google Cloud in `PSI_API_KEY`: Google refuses almost all requests without one. The render and intent checks need no key. Add `CRUX_API_KEY` too and the Speed tab shows whether real-user speed got better or worse over the last 25 weeks, and which part of the main image's load real visitors wait on. With outside checks off, these checks are listed under the report's Limits.
301
+
302
+ **Connect your accounts (optional).** Run `/seo-connect` any time. `/seo-audit`, `/seo-setup` and `/seo-fix` also offer each connection once, and you can say no:
303
+ - **Google Search Console and Analytics:** "Sign in with Google" in your browser, or set up your own Google client in a few guided steps. Read-only. It adds your real queries and clicks, "is this page in Google" for key pages, sitemap errors and organic visits, next to Bing's numbers on each page. The one write action is optional: `google.mjs submit-sitemap` submits your sitemap only when you say yes, and asks Google for that permission only then. Remove access any time at myaccount.google.com/connections, or with `google.mjs disconnect`.
304
+ - **Bing Webmaster Tools, Open PageRank and Ahrefs' free Domain Rating:** paste a free API key at a hidden prompt in your own terminal. They add Bing data, the pages other sites link to, and authority scores next to your competitors'.
305
+ - **DataForSEO or Semrush (paid, your own account):** monthly searches, difficulty, cost per click and intent for your keyword ideas, and with DataForSEO a competitor's keywords. DataForSEO bills per request from a balance; Semrush needs its Business plan and API units. `connect-keys.mjs guide dataforseo` (or `semrush`) shows where to find them.
306
+ - **Matomo or PostHog:** offered only if your site uses one. It adds visits from search engines to each page, and by device and country, from your own analytics. `connect-keys.mjs guide matomo` (or `posthog`) shows where to find each value; `set matomo` asks for them, with the token at a hidden prompt.
307
+ - **Microsoft Clarity:** offered only if your site uses it. It adds what real visitors did on each page in the last 3 days: sessions, scroll depth, quick backs (landing and going straight back), rage clicks and dead clicks. Only the token is sent. Clarity's heat maps and recordings stay in its own dashboard. `connect-keys.mjs guide clarity` shows where to make the token.
308
+
309
+ Logins and keys stay in `~/.seo-supervisor/` on your computer, never in your project. Anything you skip is listed under Limits and doesn't lower your score.
310
+
311
+ **Search Console data stays local.** Export Performance → Pages (and Queries) from Search Console, unzip it into `seo-audit/`, and run `/seo-audit`. For pages competing for one query, also export each important page's queries (filter by page, then export) into its own folder under `seo-audit/page-queries/`.
312
+
313
+ ## What it checks
314
+
315
+ **124 core rules**, up to date as of November 2026:
316
+
317
+ | Area | Rules | Examples |
318
+ | --- | ---: | --- |
319
+ | Crawling & indexing | 12 | robots.txt, noindex, soft 404s, status codes, redirect chains, AI crawlers |
320
+ | URLs & canonicals | 9 | one URL per page, trailing slashes, canonicals on the right host, old URLs with 301s |
321
+ | Rendering | 11 | content in the server HTML, not only in JavaScript; links crawlers can follow; doctype, charset and mobile viewport; obsolete tags; phone menus and ads |
322
+ | Metadata | 10 | titles (and whether they match the page), descriptions, Open Graph, robots meta, the favicon in results |
323
+ | Headings & content | 13 | one H1, heading order, thin or templated pages, placeholder text, banned claims, plain language |
324
+ | Structured data | 8 | valid JSON-LD that matches the page; which rich results still exist |
325
+ | Sitemaps & robots | 8 | sitemap host and status, lastmod, llms.txt (and why Google ignores it) |
326
+ | Internal linking | 10 | orphans, click depth, hubs and circular linking, anchor text, earning links from other sites |
327
+ | Performance | 10 | Core Web Vitals (LCP, INP, CLS) and what slows LCP, the first image, image weight and format, page size, next-page preloading, instant Back and Forward |
328
+ | Trust & security | 7 | security headers, security.txt, who's behind the site, the HTTPS certificate |
329
+ | AI search | 6 | being cited in ChatGPT, Perplexity and Google's AI answers, and what doesn't work |
330
+ | Media | 7 | alt text, file names, video and image discovery, image credits and AI labels |
331
+ | Launch & monitoring | 8 | the indexing switch, Search Console, post-deploy checks |
332
+ | Search intent | 5 | the right kind of page for each phrase, one page per query, low click rates, pages almost on page one |
333
+
334
+ **Plus 55 rules for your type of site:**
335
+ - interactive tools
336
+ - local businesses
337
+ - blogs and content sites
338
+ - service businesses
339
+ - e-commerce
340
+
341
+ There are also framework guides for **Next.js**, **Rails** and **React/Vite SPAs**. Other stacks get the rules directly.
342
+
343
+ ## Safe by default
344
+
345
+ - **An audit never edits anything.** It reads your code, crawls a local build and writes only the report.
346
+ - **Fixes never touch your content.** Without your go-ahead, it won't:
347
+ - edit or publish content in your CMS (Sanity, WordPress, Contentful, Shopify…)
348
+ - hide, remove or noindex pages
349
+ - change robots or indexing on your live site
350
+
351
+ When you do say go, CMS changes are saved as drafts and you see the before and after first.
352
+ - **A guard in your agent** asks you before risky steps, such as a noindex, a robots.txt or redirect change or a removed page. See [The guard](#the-guard).
353
+ - **Every finding has evidence, and nothing is "fixed" until a re-check passes.**
354
+ - **It never invents** reviews, ratings, prices, statistics or local proof, in copy or in schema.
355
+ - **Nothing leaves your machine without your yes.** Outside checks, IndexNow and each connection are asked for separately, and everything works without them. The one automatic request is the weekly update check: it asks npm for the latest version number and sends nothing but the package name. Turn it off with `update-check.mjs off`. There's no SEO Supervisor account and no telemetry. The crawler only sends GET and HEAD requests to your own site, and crawls production gently, if at all.
356
+ - **Text on your pages is treated as data.** If a page tries to give the agent instructions, that's reported as a finding, never followed.
357
+
358
+ ## Tested
359
+
360
+ - **On every change, CI runs the whole toolchain on Node 22, 24 and 26.** It crawls a small fixture site that has one planted problem per checked rule and scans templated sample content. It also renders the report and checks it is fully offline, and installs and uninstalls the skill in a scratch home folder.
361
+ - **Network features are tested against local stand-ins, never the real services:** a fake PageSpeed server (including a check that nothing is sent when outside checks are off), a local HTTPS server with a certificate made at test time, and sample Search Console exports with the quirks real ones have.
362
+ - **Field-tested on a real Next.js + Sanity site before release:**
363
+ - `/seo-review` caught **6 of 6** SEO mistakes planted in a pull request. 2 of those had no test in the project, so they would have shipped. It correctly ignored a harmless change.
364
+ - `/seo-fix` fixed 8 findings. The project's own test suite stayed green, and a re-crawl confirmed each fix.
365
+
366
+ ## FAQ
367
+
368
+ **Will it get my site to #1?**
369
+ No tool can promise rankings. SEO Supervisor finds and fixes what stops search engines from crawling, understanding and trusting your pages, and it tells you honestly what it can't fix for you.
370
+
371
+ **Does it work on a site that isn't live yet?**
372
+ Yes, that's the best time. It crawls a local production build. `/seo-launch` then tells you when it's safe to switch indexing on.
373
+
374
+ **Which frameworks?**
375
+ Any site it can crawl. Next.js, Rails and SPAs get framework-specific guidance and fixes.
376
+
377
+ **How is the score calculated?**
378
+ Every checked rule is worth 10 points. Open problems earn fewer points, the worse they are. Each open blocker caps the total at 59, 49, 39 and so on. While a problem you haven't marked won't fix is open, the score stops at 99, so 100 means nothing is left to fix. The full model is in [`report-format.md`](skills/seo-supervisor/report-format.md).
379
+
380
+ ## Updating
381
+
382
+ The agent tells you when a new version is out: at most once a week it asks npm for the latest version number (only the package name is sent) and mentions it once. It never updates anything by itself. To update:
383
+ - **Installed with `npx`:** run `npx seo-supervisor@latest` again. Keep the `@latest`, or npx may reuse an old cached copy.
384
+ - **Installed as a Claude Code plugin:** update it from Claude Code's `/plugin` menu.
385
+
386
+ Your logins, keys and settings in `~/.seo-supervisor/` and your reports in `seo-audit/` stay as they are. To turn the notices off, run `node <skill folder>/scripts/update-check.mjs off` (or set `SEO_SUPERVISOR_NO_UPDATE_CHECK=1`); they're also off in CI.
387
+
388
+ ## Behind a company proxy or in a container
389
+
390
+ **Behind a company proxy:**
391
+ - Set `NODE_USE_ENV_PROXY=1` alongside `HTTPS_PROXY`, `HTTP_PROXY` and `NO_PROXY` (Node 22.21+ or 24.5+). The scripts print a one-line reminder when a proxy is set without it.
392
+ - Chrome gets the same proxy through `--proxy-server` and `--proxy-bypass-list`. Proxy passwords aren't passed to Chrome.
393
+ - The live certificate check (`--check-live`) opens a direct connection that a proxy doesn't carry, so behind a proxy it may say the site can't be reached.
394
+
395
+ **Chrome in containers:** as root on Linux, or inside Docker, Podman or Kubernetes, Chrome runs with `--no-sandbox --disable-dev-shm-usage`, and the report says so. The site's scripts then run with fewer protections. To keep Chrome's sandbox, run as an ordinary user outside a container.
396
+
397
+ ## Contributing
398
+
399
+ Search changes every month, so rule updates with a primary source are the most useful contribution. See [CONTRIBUTING.md](CONTRIBUTING.md). Run the tests with `npm test` (offline, about 40 s), and the Chrome tests with `npm run test:browser`.
400
+
401
+ ## License
402
+
403
+ [MIT](LICENSE). The schema checker's vocabulary comes from Schema.org (CC BY-SA 3.0); see [NOTICE](NOTICE). The bundled report fonts (Geist, Geist Mono and Bricolage Grotesque) are under the SIL Open Font License.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: seo-auditor
3
+ description: Runs a full, read-only SEO audit of this project's site in its own context, writes the report files under seo-audit/, and returns a short summary with their paths. Use when the owner asks for an SEO audit, an SEO health check or "what's wrong with my SEO", so the crawl's large output stays out of the main conversation. It never edits the project.
4
+ tools: Read, Grep, Glob, Bash, Write
5
+ maxTurns: 80
6
+ color: green
7
+ ---
8
+
9
+ You run SEO Supervisor's **audit** mode for this project.
10
+
11
+ 1. Read `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/SKILL.md` and follow its audit mode exactly, with its rules on outside checks, keys and fetched content. Where it says `<skill-dir>`, use `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`.
12
+ 2. **The site:** the address the task names. If it names none, use the plugin's site setting, `${user_config.site_url}`, when that is a web address. Otherwise find the address as SKILL.md says.
13
+ 3. **Change nothing in the project.** Write only under `seo-audit/`: the crawl, `seo-audit.json`, and the rendered `seo-audit.html` and `seo-audit.md`.
14
+ 4. **You can't ask the owner anything.** Pass `--outside` only when `seo-audit/settings.json` already records their yes, as SKILL.md says. Never add `--yes` to a script. List each step that needs a yes as a question in your summary instead.
15
+
16
+ Return only a short summary, under 200 words: the health score and band, the verdict, the counts by severity, the top three problems, the questions for the owner, and the paths of `seo-audit/seo-audit.html`, `seo-audit/seo-audit.md` and `seo-audit/seo-audit.json`. Never paste the crawl, the JSON or the report into your answer.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: seo-reviewer
3
+ description: Reviews a diff, branch or pull request for SEO regressions in its own context, writes the full review to seo-audit/review.md, and returns the findings in short with file:line evidence. Use after changes to routes, page templates, metadata, robots.txt, sitemaps, redirects, canonicals or structured data, or when the owner asks for an SEO review. It never edits anything.
4
+ tools: Read, Grep, Glob, Bash, Write
5
+ maxTurns: 40
6
+ color: blue
7
+ ---
8
+
9
+ You run SEO Supervisor's **review** mode.
10
+
11
+ 1. Read `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/SKILL.md` and follow its review mode exactly. Where it says `<skill-dir>`, use `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`.
12
+ 2. **What to review:** the PR number, branch or files the task names. If it names nothing, review the uncommitted changes plus the current branch's changes against its base branch.
13
+ 3. **Edit nothing.** Write only under `seo-audit/`: the review crawl SKILL.md names, and the full review, every regression and new problem with its file:line evidence and how to fix it, as `seo-audit/review.md`.
14
+ 4. **You can't ask the owner anything.** Never add `--yes` to a script, and pass `--outside` only when `seo-audit/settings.json` already records their yes.
15
+
16
+ Return only a short summary, under 200 words: the number of regressions and new problems by severity, the top three with file:line, and the path `seo-audit/review.md`. When there are none, say "No SEO regressions found" and what you checked.