Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
fix(review): resolve pre-release audit findings (Tier 1+2+4)
Danielf78f633d3e75
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex e50f4d8..09bf9f4 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -30,24 +30,3 @@ updates:commit-message:prefix: "deps"include: "scope"-- # v2 added MCP-backed extensions (DataForSEO, Firecrawl, Ahrefs, etc.)- # which install npm packages via `npx`. Dependabot's npm watcher tracks- # the pinned versions in each extension's install script through any- # package.json we ship; today the closest we have is the root, so- # Dependabot scans it without requiring a manifest to exist.- - package-ecosystem: "npm"- directory: "/"- schedule:- interval: "weekly"- day: "monday"- time: "06:00"- timezone: "UTC"- open-pull-requests-limit: 5- labels:- - "dependencies"- - "npm"- - "extensions"- commit-message:- prefix: "deps"- include: "scope"diff --git a/AGENTS.md b/AGENTS.mdindex 078e54e..f814fac 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -154,7 +154,7 @@ skills/ # 25 sub-skills (auto-discovered)seo-dataforseo/ # DataForSEO (extension)seo-image-gen/ # AI images (extension)agents/ # 18 subagents-scripts/ # 30 Python scripts+scripts/ # 50 Python scriptsschema/ # JSON-LD templatesextensions/ # Optional add-ons (DataForSEO, Firecrawl, Banana, ASO)```diff --git a/CITATION.cff b/CITATION.cffindex f13dd6f..256f42f 100644--- a/CITATION.cff+++ b/CITATION.cff@@ -13,7 +13,7 @@ repository-code: 'https://github.com/AgriciDaniel/claude-seo'url: 'https://github.com/AgriciDaniel/claude-seo'license: MITversion: 2.2.0-date-released: '2026-05-17'+date-released: '2026-06-12'keywords:- seo- claude-codediff --git a/CLAUDE.md b/CLAUDE.mdindex 49ed4ee..2a49295 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -21,7 +21,7 @@ claude-seo/CONTRIBUTORS.md # Community credits (Pro Hub Challenge)AGENTS.md # Multi-platform agent instructions (Cursor, Antigravity).claude-plugin/- plugin.json # Plugin manifest (v2.1.0)+ plugin.json # Plugin manifest (v2.2.0)marketplace.json # Marketplace catalog for distributionskills/ # 25 sub-skills (auto-discovered)seo/ # Main orchestrator skilldiff --git a/README.md b/README.mdindex 492ca1c..cbf94d3 100644--- a/README.md+++ b/README.md@@ -8,7 +8,7 @@[](https://claude.ai/claude-code)[](LICENSE)[](https://github.com/AgriciDaniel/claude-seo/releases)-[](tests/)+[](tests/)[](https://www.skool.com/ai-marketing-hub-pro)> **Two versions of this skill.**@@ -138,7 +138,7 @@ claude-27 user-invokable commands across the orchestrator and 25 sub-skills. Full reference in [docs/COMMANDS.md](docs/COMMANDS.md).+27 user-invocable commands across the orchestrator and 25 sub-skills. Full reference in [docs/COMMANDS.md](docs/COMMANDS.md).| Command | Description ||---------|-------------|@@ -179,7 +179,7 @@ E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) is evaluated### What Schema.org types does Claude SEO support?-JSON-LD is the preferred format (Google's stated preference). Active types Claude SEO detects, validates, and generates: Organization, LocalBusiness, Article, BlogPosting, NewsArticle, Product, ProductGroup, Offer, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ProfilePage, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting, Reservation, OrderAction, plus video and specialized types (BroadcastEvent, Clip, SeekToAction, SoftwareSourceCode). Restricted: FAQ (government and healthcare authority sites only since August 2023). Deprecated and never recommended: HowTo (rich results removed September 2023), SpecialAnnouncement (July 2025), ClaimReview, VehicleListing, EstimatedSalary, LearningVideo, CourseInfo carousel (all retired June 2025). Replacement guidance: [skills/seo-schema/references/deprecated-types-2024-2026.md](skills/seo-schema/references/deprecated-types-2024-2026.md).+JSON-LD is the preferred format (Google's stated preference). Active types Claude SEO detects, validates, and generates: Organization, LocalBusiness, Article, BlogPosting, NewsArticle, Product, ProductGroup, Offer, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ProfilePage, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting, Reservation, OrderAction, plus video and specialized types (BroadcastEvent, Clip, SeekToAction, SoftwareSourceCode). FAQPage: Google stopped showing FAQ rich results for all sites on May 7, 2026; still useful as a supporting AI/entity signal, not for rich results. Deprecated and never recommended: HowTo (rich results removed September 2023), SpecialAnnouncement (July 2025), ClaimReview, VehicleListing, EstimatedSalary, LearningVideo, CourseInfo carousel (all retired June 2025). Replacement guidance: [skills/seo-schema/references/deprecated-types-2024-2026.md](skills/seo-schema/references/deprecated-types-2024-2026.md).### How does Claude SEO optimize for AI search?@@ -474,7 +474,7 @@ MIT License. See [LICENSE](LICENSE) for details.## Contributing-Contributions welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting PRs. The project enforces a per-PR audit gate covering manifest consistency (14 assertions), the test suite (316 passing), and an 8-dimension security review before any merge to `main`.+Contributions welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting PRs. The project enforces a per-PR audit gate covering manifest consistency (14 assertions), the test suite (326 passing), and an 8-dimension security review before any merge to `main`.---diff --git a/branding/diagrams-preview.html b/branding/diagrams-preview.htmldeleted file mode 100644index cba69a4..0000000--- a/branding/diagrams-preview.html+++ /dev/null@@ -1,283 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="UTF-8">-<title>claude-seo — diagram windows on desktop</title>-<link rel="preconnect" href="https://fonts.googleapis.com">-<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap" rel="stylesheet">-<style>- :root {- /* claude-seo "ops console" — sage / teal desktop matching the teal banner palette */- --desktop: #7e9489;- --bar: #f1efe7;- --bar-bd: #6f8a80;- --ink: #14181A;- --muted: #4F6A62;- --hover: #d8e2dc;- --cta: #4F7B6E;- --cta-hover: #3E6358;- }- * { box-sizing: border-box; margin: 0; padding: 0; }- body {- background: var(--desktop);- background-image:- repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0, transparent 1px, transparent 2px, rgba(0,0,0,0.03) 3px),- repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0, transparent 1px, transparent 2px, rgba(0,0,0,0.03) 3px);- color: var(--ink);- font-family: 'Inter', system-ui, sans-serif;- min-height: 100vh;- padding-top: 48px;- }-- /* ============ TOP MENU BAR ============ */- .menu-bar {- position: fixed; top: 0; left: 0; right: 0; z-index: 100;- height: 36px;- background: var(--bar);- border-bottom: 1px solid var(--bar-bd);- display: flex; align-items: center; padding: 0 16px;- font-size: 14px; color: var(--ink); font-weight: 500;- gap: 16px;- }- .menu-bar .brand { font-weight: 700; }- .menu-bar .links { display: flex; gap: 4px; }- .menu-bar .links button {- background: transparent; border: none;- padding: 4px 10px; border-radius: 4px;- font-size: 13px; color: var(--ink);- cursor: pointer;- font-family: inherit;- }- .menu-bar .links button:hover { background: var(--hover); }- .menu-bar .cta {- margin-left: auto;- background: var(--cta); color: #f5f4ed;- border: none; padding: 5px 14px; border-radius: 4px;- font-weight: 600; font-size: 13px;- cursor: pointer; font-family: inherit;- }- .menu-bar .cta:hover { background: var(--cta-hover); }-- /* ============ DESKTOP CONTENT ============ */- .desktop-content {- max-width: 1700px;- margin: 0 auto;- padding: 32px 24px 80px;- }-- header { margin-bottom: 32px; padding: 0 4px; }- header .eyebrow {- font-family: 'JetBrains Mono', monospace;- font-size: 11px; color: var(--muted);- letter-spacing: 2px; text-transform: uppercase;- margin-bottom: 8px;- }- header h1 {- font-size: 36px; font-weight: 700; letter-spacing: -0.6px;- color: var(--ink); margin-bottom: 8px;- }- header p { color: var(--muted); max-width: 760px; line-height: 1.5; font-size: 14px; }-- /* ============ BANNER PREVIEW SECTION ============ */- .banner-section {- margin-bottom: 48px;- }- .banner-section h2 {- font-size: 22px; font-weight: 600; margin-bottom: 14px;- color: var(--ink); display: flex; align-items: baseline; gap: 12px;- }- .banner-section h2 .key {- font-family: 'JetBrains Mono', monospace;- color: var(--muted); font-size: 14px; font-weight: 500;- }- .banner-section .holder {- box-shadow: 0 8px 24px rgba(0,0,0,0.18);- border-radius: 10px; overflow: hidden;- background: #fff;- }- .banner-section .holder img,- .banner-section .holder object {- display: block; width: 100%; height: auto;- }-- /* ============ DIAGRAM GROUPS ============ */- .group { margin-bottom: 48px; }- .group-head {- display: flex; align-items: baseline; gap: 16px;- margin-bottom: 18px; padding: 0 4px;- }- .group-head .num {- font-family: 'JetBrains Mono', monospace;- font-size: 22px; color: var(--ink); font-weight: 700;- background: rgba(0,0,0,0.08);- padding: 4px 12px; border-radius: 4px;- }- .group-head .title { font-size: 20px; font-weight: 600; color: var(--ink); }- .group-head .desc {- margin-left: auto;- font-family: 'JetBrains Mono', monospace;- font-size: 12px; color: var(--muted);- }-- .row {- display: grid;- grid-template-columns: repeat(3, 1fr);- gap: 18px;- }- .variant {- background: transparent;- overflow: visible;- }- .variant .vh {- display: flex; justify-content: space-between; align-items: baseline;- margin-bottom: 8px; padding: 0 4px;- font-family: 'JetBrains Mono', monospace;- }- .variant .vh .letter {- font-size: 18px; font-weight: 700; color: var(--ink);- }- .variant .vh .filename {- font-size: 10px; color: var(--muted); letter-spacing: 0.6px;- }- .variant object,- .variant img {- width: 100%; height: auto; display: block;- filter: drop-shadow(0 6px 18px rgba(0,0,0,0.22));- border-radius: 10px;- }- .variant .caption {- margin-top: 10px;- font-size: 12px; color: var(--muted);- line-height: 1.5;- padding: 0 4px;- }-- /* ============ FOOTER LEGEND ============ */- .legend {- padding-top: 24px;- border-top: 1px solid var(--bar-bd);- color: var(--muted);- font-size: 13px;- line-height: 1.6;- }- .legend code {- background: var(--bar);- color: var(--ink);- padding: 2px 6px;- border-radius: 3px;- font-family: 'JetBrains Mono', monospace;- font-size: 12px;- border: 1px solid var(--bar-bd);- }-</style>-</head>-<body>--<!-- Top menu bar -->-<div class="menu-bar">- <span class="brand">claude-seo</span>- <div class="links">- <button>Audit</button>- <button>Sub-skills</button>- <button>Framework</button>- <button>Docs</button>- <button>Community</button>- </div>- <button class="cta">Get started — free</button>-</div>--<div class="desktop-content">--<header>- <div class="eyebrow">claude-seo · brand assets preview · v2.0.0</div>- <h1>Banner + 5 diagrams, OS-window style</h1>- <p>Every asset rendered as an "app window" on a sage desktop. Dark CRT terminal content lives inside cream OS chrome (title bar, traffic lights, tan border). Pick A/B/C for each diagram. The banner is unified to one design.</p>-</header>--<!-- ═══════════════════════ BANNER ═══════════════════════ -->-<section class="banner-section">- <h2>Banner <span class="key">assets/banner.svg</span></h2>- <div class="holder">- <object data="../assets/banner.svg" type="image/svg+xml"></object>- </div>-</section>--<!-- ═══════════════════════ DIAGRAM 1 ═══════════════════════ -->-<section class="group">- <div class="group-head">- <span class="num">01</span>- <span class="title">System architecture</span>- <span class="desc">how /seo audit becomes a report</span>- </div>- <div class="row">- <div class="variant"><div class="vh"><span class="letter">A · top-down</span><span class="filename">01-architecture-A.svg</span></div><object data="../assets/diagrams/01-architecture-A.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">B · horizontal</span><span class="filename">01-architecture-B.svg</span></div><object data="../assets/diagrams/01-architecture-B.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">C · radial</span><span class="filename">01-architecture-C.svg</span></div><object data="../assets/diagrams/01-architecture-C.svg" type="image/svg+xml"></object></div>- </div>-</section>--<!-- ═══════════════════════ DIAGRAM 2 ═══════════════════════ -->-<section class="group">- <div class="group-head">- <span class="num">02</span>- <span class="title">Audit pipeline</span>- <span class="desc">stage-by-stage execution flow · up to 15 parallel agents</span>- </div>- <div class="row">- <div class="variant"><div class="vh"><span class="letter">A · linear</span><span class="filename">02-pipeline-A.svg</span></div><object data="../assets/diagrams/02-pipeline-A.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">B · swimlanes</span><span class="filename">02-pipeline-B.svg</span></div><object data="../assets/diagrams/02-pipeline-B.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">C · vertical</span><span class="filename">02-pipeline-C.svg</span></div><object data="../assets/diagrams/02-pipeline-C.svg" type="image/svg+xml"></object></div>- </div>-</section>--<!-- ═══════════════════════ DIAGRAM 3 ═══════════════════════ -->-<section class="group">- <div class="group-head">- <span class="num">03</span>- <span class="title">Sub-skill ecosystem</span>- <span class="desc">25 modules, grouped into 7 + 1 categories</span>- </div>- <div class="row">- <div class="variant"><div class="vh"><span class="letter">A · grid</span><span class="filename">03-sub-skill-map-A.svg</span></div><object data="../assets/diagrams/03-sub-skill-map-A.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">B · concentric</span><span class="filename">03-sub-skill-map-B.svg</span></div><object data="../assets/diagrams/03-sub-skill-map-B.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">C · cluster cards</span><span class="filename">03-sub-skill-map-C.svg</span></div><object data="../assets/diagrams/03-sub-skill-map-C.svg" type="image/svg+xml"></object></div>- </div>-</section>--<!-- ═══════════════════════ DIAGRAM 4 ═══════════════════════ -->-<section class="group">- <div class="group-head">- <span class="num">04</span>- <span class="title">10-principle thinking framework</span>- <span class="desc">perceive → analyze → validate → act</span>- </div>- <div class="row">- <div class="variant"><div class="vh"><span class="letter">A · flow</span><span class="filename">04-framework-A.svg</span></div><object data="../assets/diagrams/04-framework-A.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">B · wheel</span><span class="filename">04-framework-B.svg</span></div><object data="../assets/diagrams/04-framework-B.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">C · swim-lane</span><span class="filename">04-framework-C.svg</span></div><object data="../assets/diagrams/04-framework-C.svg" type="image/svg+xml"></object></div>- </div>-</section>--<!-- ═══════════════════════ DIAGRAM 5 ═══════════════════════ -->-<section class="group">- <div class="group-head">- <span class="num">05</span>- <span class="title">Wave roadmap</span>- <span class="desc">v1.7.0 → v3.0.0 · v2.0.0 highlighted</span>- </div>- <div class="row">- <div class="variant"><div class="vh"><span class="letter">A · horizontal</span><span class="filename">05-roadmap-A.svg</span></div><object data="../assets/diagrams/05-roadmap-A.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">B · vertical</span><span class="filename">05-roadmap-B.svg</span></div><object data="../assets/diagrams/05-roadmap-B.svg" type="image/svg+xml"></object></div>- <div class="variant"><div class="vh"><span class="letter">C · kanban</span><span class="filename">05-roadmap-C.svg</span></div><object data="../assets/diagrams/05-roadmap-C.svg" type="image/svg+xml"></object></div>- </div>-</section>--<div class="legend">- <p><strong>Asset locations:</strong> banner at <code>assets/banner.svg</code>, diagrams at <code>assets/diagrams/*.svg</code>. Both render inline in GitHub README via <code><img src="..."></code>.</p>- <p style="margin-top: 8px;"><strong>To pick variants:</strong> tell me which letter for each diagram (e.g. <code>1A 2B 3C 4A 5A</code>) and I'll keep those, remove the rest, and embed them in README at the right sections.</p>-</div>--</div>--</body>-</html>diff --git a/branding/final.html b/branding/final.htmldeleted file mode 100644index 2affe95..0000000--- a/branding/final.html+++ /dev/null@@ -1,232 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="UTF-8">-<title>claude-seo — final brand assets</title>-<link rel="preconnect" href="https://fonts.googleapis.com">-<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap" rel="stylesheet">-<style>- :root {- --desktop: #7d6c52;- --bar: #f5f1e8;- --bar-bd: #a89968;- --ink: #1A1816;- --muted: #6F5F54;- --hover: #e5dcc8;- --cta: #fbbf24;- }- * { box-sizing: border-box; margin: 0; padding: 0; }- body {- background: var(--desktop);- background-image:- repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0, transparent 1px, transparent 2px, rgba(0,0,0,0.03) 3px),- repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0, transparent 1px, transparent 2px, rgba(0,0,0,0.03) 3px);- color: var(--ink);- font-family: 'Inter', system-ui, sans-serif;- min-height: 100vh;- padding-top: 48px;- }- .menu-bar {- position: fixed; top: 0; left: 0; right: 0; z-index: 100;- height: 36px; background: var(--bar);- border-bottom: 1px solid var(--bar-bd);- display: flex; align-items: center; padding: 0 16px;- font-size: 14px; color: var(--ink); font-weight: 500; gap: 16px;- }- .menu-bar .brand { font-weight: 700; }- .menu-bar .links { display: flex; gap: 4px; }- .menu-bar .links button {- background: transparent; border: none; padding: 4px 10px; border-radius: 4px;- font-size: 13px; color: var(--ink); cursor: pointer; font-family: inherit;- }- .menu-bar .links button:hover { background: var(--hover); }- .menu-bar .cta {- margin-left: auto; background: var(--cta); color: #1A1816;- border: none; padding: 5px 14px; border-radius: 4px;- font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit;- }- .menu-bar .cta:hover { background: #f59e0b; }-- .desktop-content { max-width: 1400px; margin: 0 auto; padding: 40px 24px 80px; }- header { margin-bottom: 48px; padding: 0 4px; }- header .eyebrow {- font-family: 'JetBrains Mono', monospace;- font-size: 11px; color: var(--muted);- letter-spacing: 2px; text-transform: uppercase;- margin-bottom: 8px;- }- header h1 {- font-size: 38px; font-weight: 700; letter-spacing: -0.6px;- color: var(--ink); margin-bottom: 10px;- }- header p { color: var(--muted); max-width: 780px; line-height: 1.55; font-size: 15px; }- header .meta {- margin-top: 16px; display: flex; gap: 18px;- font-family: 'JetBrains Mono', monospace; font-size: 12px;- color: var(--muted);- }- header .meta strong { color: var(--ink); font-weight: 600; }-- .section { margin-bottom: 56px; }- .section .label {- display: flex; align-items: baseline; gap: 14px;- margin-bottom: 14px; padding: 0 4px;- }- .section .label .num {- font-family: 'JetBrains Mono', monospace;- font-size: 18px; color: var(--ink); font-weight: 700;- background: rgba(0,0,0,0.08);- padding: 4px 12px; border-radius: 4px; min-width: 40px; text-align: center;- }- .section .label .title { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }- .section .label .desc { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }- .section .holder {- border-radius: 10px;- filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));- }- .section .holder object,- .section .holder img {- display: block; width: 100%; height: auto; border-radius: 10px;- }- .section .filename {- margin-top: 10px; padding: 0 4px;- font-family: 'JetBrains Mono', monospace;- font-size: 11px; color: var(--muted);- display: flex; align-items: center; gap: 8px;- }- .section .filename .key {- background: var(--bar); border: 1px solid var(--bar-bd);- color: var(--ink); padding: 2px 8px; border-radius: 3px;- }-- .legend {- padding: 24px 4px 0;- border-top: 1px solid var(--bar-bd);- color: var(--muted); font-size: 13px; line-height: 1.6;- }- .legend code {- background: var(--bar); color: var(--ink);- padding: 2px 6px; border-radius: 3px;- font-family: 'JetBrains Mono', monospace; font-size: 12px;- border: 1px solid var(--bar-bd);- }- .legend ul { margin-top: 10px; padding-left: 20px; }- .legend li { margin-bottom: 6px; }-</style>-</head>-<body>--<div class="menu-bar">- <span class="brand">claude-seo</span>- <div class="links">- <button>Audit</button>- <button>Sub-skills</button>- <button>Docs</button>- <button>Community</button>- <button>Company</button>- </div>- <button class="cta">Get started — free</button>-</div>--<div class="desktop-content">-- <header>- <div class="eyebrow">claude-seo · v2.0.0 · final brand assets</div>- <h1>Brand kit — banner + 5 diagrams</h1>- <p>Same brand system as claude-ads (OS-window framed dark CRT terminal) but with the teal-green "ops console" palette. All diagrams use proper arrangement — hub-and-cluster for 03, clean L-routed connectors for 01, brighter labels in 04.</p>- <div class="meta">- <span>BANNER: <strong>assets/banner.svg</strong></span>- <span>DIAGRAMS: <strong>assets/diagrams/*.svg</strong></span>- <span>TOTAL: <strong>6 SVG files</strong></span>- </div>- </header>-- <section class="section">- <div class="label">- <span class="num">00</span>- <span class="title">Banner / cover</span>- <span class="desc">README hero · animated terminal</span>- </div>- <div class="holder">- <object data="../assets/banner.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/banner.svg</span><span>breathing teal gradient · scanning row highlight · cursor blink</span></div>- </section>-- <section class="section">- <div class="label">- <span class="num">01</span>- <span class="title">System architecture</span>- <span class="desc">B · left-to-right pipeline</span>- </div>- <div class="holder">- <object data="../assets/diagrams/01-architecture-B.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/diagrams/01-architecture-B.svg</span><span>/seo audit → orchestrator → 3 branches → scoring → report</span></div>- </section>-- <section class="section">- <div class="label">- <span class="num">02</span>- <span class="title">Audit pipeline</span>- <span class="desc">A · linear horizontal</span>- </div>- <div class="holder">- <object data="../assets/diagrams/02-pipeline-A.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/diagrams/02-pipeline-A.svg</span><span>input · crawl · dispatch · collect · report</span></div>- </section>-- <section class="section">- <div class="label">- <span class="num">03</span>- <span class="title">Sub-skill ecosystem</span>- <span class="desc">B · hub + 8 clusters · 25 modules</span>- </div>- <div class="holder">- <object data="../assets/diagrams/03-sub-skill-map-B.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/diagrams/03-sub-skill-map-B.svg</span><span>orchestrator centre · 8 category panels arranged top/bottom</span></div>- </section>-- <section class="section">- <div class="label">- <span class="num">04</span>- <span class="title">10-principle thinking framework</span>- <span class="desc">B · radial wheel</span>- </div>- <div class="holder">- <object data="../assets/diagrams/04-framework-B.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/diagrams/04-framework-B.svg</span><span>perceive → analyze → validate → act · 10 principles grouped by quadrant</span></div>- </section>-- <section class="section">- <div class="label">- <span class="num">05</span>- <span class="title">Wave roadmap</span>- <span class="desc">A · horizontal timeline</span>- </div>- <div class="holder">- <object data="../assets/diagrams/05-roadmap-A.svg" type="image/svg+xml"></object>- </div>- <div class="filename"><span class="key">assets/diagrams/05-roadmap-A.svg</span><span>v1.7.0 → v3.0.0 · 9 months</span></div>- </section>-- <div class="legend">- <strong>What ships:</strong>- <ul>- <li><code>assets/banner.svg</code> — animated cover</li>- <li><code>assets/diagrams/01-architecture-B.svg</code></li>- <li><code>assets/diagrams/02-pipeline-A.svg</code></li>- <li><code>assets/diagrams/03-sub-skill-map-B.svg</code></li>- <li><code>assets/diagrams/04-framework-B.svg</code></li>- <li><code>assets/diagrams/05-roadmap-A.svg</code></li>- </ul>- <p style="margin-top: 14px;">The 10 unselected variants stay in <code>assets/diagrams/</code> for swap-in. <code>branding/diagrams-preview.html</code> still shows all 15 A/B/C if you want to pick differently.</p>- </div>--</div>--</body>-</html>diff --git a/branding/scripts/generate_diagrams.py b/branding/scripts/generate_diagrams.pydeleted file mode 100644index 7808fa2..0000000--- a/branding/scripts/generate_diagrams.py+++ /dev/null@@ -1,736 +0,0 @@-#!/usr/bin/env python3-"""-claude-seo brand-kit generator (v2 — proper arrangement).--Same brand system as claude-ads v1.7.0: OS-window-framed dark CRT terminal-with TEAL-GREEN accent palette. Applies all claude-ads layout fixes:- · 01-B clean L-routed connectors (no overlap at scoring node)- · 02-A linear pipeline- · 03-B HUB + 8 category clusters (no more concentric-ring overlap)- · 04-B radial wheel with brighter labels- · 05-A horizontal timeline- · OS title bar with traffic lights (dark, matching canvas family)- · Banner with animated row-highlight scanner--Emits all 15 variants (5 diagrams × 3 each).-The 5 locked picks (1B 2A 3B 4B 5A) are referenced from README and-showcased in branding/final.html.--Usage:- python3 generate_diagrams.py-"""--import math-from pathlib import Path-from textwrap import dedent--ROOT = Path(__file__).resolve().parent.parent.parent-ASSETS = ROOT / "assets"-DIAG_DIR = ASSETS / "diagrams"-ASSETS.mkdir(parents=True, exist_ok=True)-DIAG_DIR.mkdir(parents=True, exist_ok=True)--# ============================================================================-# BRAND-ORANGE PALETTE — unified across claude-ads + claude-seo-# ============================================================================-ACCENT = "#D97757"-ACCENT_BRIGHT = "#F5B095"-ACCENT_MID = "#E89270"-ACCENT_DEEP = "#7A3A1F"-ACCENT_DARKER = "#5C2A14"-ACCENT_LIGHT = "#F0A283"-ACCENT_FAINT = "#6F3922"-CANVAS = "#1F1B16"--# ============================================================================-# SHARED STYLE-# ============================================================================-STYLE = dedent(f"""-<defs>- <style type="text/css"><![CDATA[- @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');- .bg {{ fill: {CANVAS}; }}- .bg-soft {{ fill: {CANVAS}; }}- .box {{ fill: #26221C; stroke: #4A3D32; stroke-width: 1; }}- .box-focal {{ fill: #1F2D27; stroke: {ACCENT}; stroke-width: 1.4; }}- .box-future {{ fill: #221E18; stroke: #3A312A; stroke-width: 1; stroke-dasharray: 4 3; }}- .box-soft {{ fill: #232019; stroke: #3A312A; stroke-width: 1; }}- .label-h {{ font-family: 'JetBrains Mono', monospace; fill: #F5F4ED; font-size: 16px; font-weight: 700; letter-spacing: 0.3px; }}- .label {{ font-family: 'JetBrains Mono', monospace; fill: #F5F4ED; font-size: 14px; font-weight: 600; }}- .label-sub {{ font-family: 'JetBrains Mono', monospace; fill: #9C8B7E; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }}- .label-tiny {{ font-family: 'JetBrains Mono', monospace; fill: #6F5F54; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }}- .label-radial {{ font-family: 'JetBrains Mono', monospace; fill: #E0D2C4; font-size: 13px; font-weight: 600; letter-spacing: 0.6px; }}- .label-accent {{ font-family: 'JetBrains Mono', monospace; fill: {ACCENT}; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }}- .conn {{ stroke: #6F5F54; stroke-width: 1; fill: none; }}- .conn-soft {{ stroke: #4A3D32; stroke-width: 1; fill: none; }}- .conn-dashed {{ stroke: #4A3D32; stroke-width: 1; fill: none; stroke-dasharray: 4 3; }}- .accent-fill {{ fill: {ACCENT}; }}- .accent-bright {{ fill: {ACCENT_BRIGHT}; }}- .corner-mark {{ font-family: 'JetBrains Mono', monospace; fill: #5A5750; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }}- ]]></style>- <marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse">- <path d="M 0 0 L 10 5 L 0 10 z" fill="#6F5F54"/>- </marker>-</defs>-""").strip()---# ---- OS window chrome (DARK title bar) -----TITLE_H = 48-WIN_RADIUS = 10-WIN_BORDER = "#3A312A"-WIN_BAR_BG = "#2A2520"-WIN_BAR_FG = "#E0D2C4"-TL_YELLOW = "#fbbf24"-TL_GREEN = "#10b981"-TL_RED = "#ef4444"-TL_RADIUS = 9-TL_SPACING = 28---def window_chrome(w, title):- cy = TITLE_H / 2- tl_x_close = w - 28- tl_x_max = tl_x_close - TL_SPACING- tl_x_min = tl_x_max - TL_SPACING- return f'''- <path d="M 0 {WIN_RADIUS} Q 0 0 {WIN_RADIUS} 0 L {w-WIN_RADIUS} 0 Q {w} 0 {w} {WIN_RADIUS} L {w} {TITLE_H} L 0 {TITLE_H} Z" fill="{WIN_BAR_BG}"/>- <line x1="0" y1="{TITLE_H}" x2="{w}" y2="{TITLE_H}" stroke="{WIN_BORDER}" stroke-width="1"/>- <text x="20" y="{cy + 5}" font-family="JetBrains Mono, monospace" font-size="15" fill="{WIN_BAR_FG}" font-weight="600">{title}</text>- <circle cx="{tl_x_min}" cy="{cy}" r="{TL_RADIUS}" fill="{TL_YELLOW}" stroke="{WIN_BORDER}" stroke-width="0.7"/>- <circle cx="{tl_x_max}" cy="{cy}" r="{TL_RADIUS}" fill="{TL_GREEN}" stroke="{WIN_BORDER}" stroke-width="0.7"/>- <circle cx="{tl_x_close}" cy="{cy}" r="{TL_RADIUS}" fill="{TL_RED}" stroke="{WIN_BORDER}" stroke-width="0.7"/>-'''---def svg(viewbox_w, viewbox_h, body, corner="claude-seo · v2.0.0", win_title=None):- if win_title is None:- win_title = f"claude-seo.app — {corner}"- total_h = viewbox_h + TITLE_H- chrome = window_chrome(viewbox_w, win_title)- inner_corner = f'<text x="{viewbox_w-20}" y="{viewbox_h-12}" class="corner-mark" text-anchor="end">{corner}</text>'- return dedent(f"""<?xml version="1.0" encoding="UTF-8"?>-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {viewbox_w} {total_h}"- preserveAspectRatio="xMidYMid meet" width="100%" font-family="JetBrains Mono, monospace">-{STYLE}-<rect x="0.5" y="0.5" width="{viewbox_w-1}" height="{total_h-1}" rx="{WIN_RADIUS}" fill="{WIN_BAR_BG}" stroke="{WIN_BORDER}" stroke-width="1"/>-{chrome}-<g transform="translate(0, {TITLE_H})">- <rect class="bg" width="{viewbox_w}" height="{viewbox_h}"/>- {body}- {inner_corner}-</g>-</svg>-""")---# ---- helpers -----def box(x, y, w, h, klass="box", rx=4, animate=False):- anim = '<animate attributeName="opacity" values="0.85;1;0.85" dur="4.2s" repeatCount="indefinite"/>' if animate else ""- return f'<rect x="{x}" y="{y}" width="{w}" height="{h}" rx="{rx}" class="{klass}">{anim}</rect>'---def text(x, y, content, klass="label", anchor="middle"):- return f'<text x="{x}" y="{y}" class="{klass}" text-anchor="{anchor}">{content}</text>'---def label_box(cx, cy, w, h, lines, klass="box", focal=False):- if focal:- klass = "box-focal"- x = cx - w / 2- y = cy - h / 2- line_h = 20- total_h = (len(lines) - 1) * line_h- start_y = cy - total_h / 2 + 5- out = [box(x, y, w, h, klass, animate=focal)]- for i, ln in enumerate(lines):- cls = "label-accent" if (i == 0 and len(lines) > 1) else "label"- out.append(text(cx, start_y + i * line_h, ln, cls))- return "\n".join(out)---def conn(x1, y1, x2, y2, klass="conn", arrow="arrow"):- return f'<path d="M {x1} {y1} L {x2} {y2}" class="{klass}" marker-end="url(#{arrow})"/>'---def line_only(x1, y1, x2, y2, klass="conn-soft"):- return f'<path d="M {x1} {y1} L {x2} {y2}" class="{klass}"/>'---# ============================================================================-# CLAUDE-SEO CONTENT-# ============================================================================-SUB_SKILLS = {- "audit": ["seo-audit", "seo-page", "seo-flow"],- "content": ["seo-content", "seo-content-brief", "seo-cluster"],- "schema": ["seo-schema", "seo-sitemap", "seo-images"],- "technical": ["seo-technical", "seo-google", "seo-backlinks"],- "ai · search": ["seo-geo", "seo-sxo", "seo-drift"],- "local · maps": ["seo-local", "seo-maps"],- "commerce · intl": ["seo-ecommerce", "seo-hreflang", "seo-plan", "seo-programmatic", "seo-competitor-pages"],- "extensions": ["seo-dataforseo", "seo-image-gen"],-}--# 10-principle framework-FRAMEWORK = [- ("perceive", "gather signals", ["observe-external", "observe-internal", "listen"]),- ("analyze", "make sense of them", ["think", "connect-lateral", "connect-system"]),- ("validate", "test the read", ["feel", "accept"]),- ("act", "ship the response", ["create", "grow"]),-]--WAVES = [- ("v1.7.0", "mar 2026", "google APIs", "GSC · PSI · CrUX\nindexing · GA4", False),- ("v1.8.0", "mar 2026", "free backlinks", "moz · bing · common-crawl", False),- ("v1.9.0", "apr 2026", "community challenge", "cluster · sxo · drift\necommerce · hreflang",False),- ("v2.0.0", "may 2026", "AI search + framework","GEO · 10-principle thinking", True),- ("v2.5.0", "q3 2026", "auto-fix engine", "patch generation\nweb-vitals lab", False),- ("v3.0.0", "q4 2026", "audit-as-code", "CI integration\nrolling baselines", False),-]---# ============================================================================-# DIAGRAM 01 — SYSTEM ARCHITECTURE (3 variants)-# ============================================================================-def diag_01_a():- """A: Top-down hierarchical flow."""- body = []- W, H = 1200, 950- cx = W / 2- body.append(label_box(cx, 100, 360, 80, ["entry", "/seo audit"], focal=True))- body.append(label_box(cx, 240, 360, 80, ["orchestrator", "seo/SKILL.md"]))- body.append(label_box(280, 430, 280, 130, ["sub-skills", "25 modules", "8 categories"]))- body.append(label_box(cx, 430, 280, 130, ["audit agents", "6 parallel", "content · schema · perf", "technical · sitemap · visual"]))- body.append(label_box(920, 430, 280, 130, ["ai search", "GEO · brand mentions", "AI Overviews · LLMs"]))- body.append(label_box(cx, 660, 480, 100, ["scoring engine", "weighted by 7 dimensions"]))- body.append(label_box(cx, 830, 480, 100, ["audit report", "score 0-100 · action plan · pdf"]))-- body.append(conn(cx, 140, cx, 200))- body.append(line_only(cx, 280, cx, 350))- body.append(line_only(280, 350, 920, 350))- body.append(conn(280, 350, 280, 365))- body.append(conn(cx, 350, cx, 365))- body.append(conn(920, 350, 920, 365))- body.append(line_only(280, 495, 280, 590))- body.append(line_only(cx, 495, cx, 590))- body.append(line_only(920, 495, 920, 590))- body.append(line_only(280, 590, 920, 590))- body.append(conn(cx, 590, cx, 610))- body.append(conn(cx, 710, cx, 780))- return svg(W, H, "\n".join(body), corner="01 · system architecture · A")---def diag_01_b():- """B: Left-to-right horizontal (clean L-routed connectors, no overlap)."""- body = []- W, H = 1600, 700- cy = H / 2- x_entry = 150; x_orch = 430; x_branch = 800- x_join = 1080; x_score = 1200; x_report = 1430-- body.append(label_box(x_entry, cy, 220, 100, ["entry", "/seo audit"], focal=True))- body.append(label_box(x_orch, cy, 220, 100, ["orchestrator", "seo/SKILL.md"]))- body.append(label_box(x_branch, 200, 240, 90, ["sub-skills", "25 modules"]))- body.append(label_box(x_branch, cy, 240, 90, ["audit agents", "6 parallel"]))- body.append(label_box(x_branch, 500, 240, 90, ["ai search", "GEO · LLMs"]))- body.append(label_box(x_score, cy, 220, 100, ["scoring", "weighted dimensions"]))- body.append(label_box(x_report, cy, 220, 100, ["report", "score · plan"]))-- body.append(conn(x_entry + 110, cy, x_orch - 110, cy))- body.append(line_only(x_orch + 110, cy, x_orch + 165, cy))- body.append(line_only(x_orch + 165, 200, x_orch + 165, 500))- body.append(conn(x_orch + 165, 200, x_branch - 120, 200))- body.append(conn(x_orch + 165, cy, x_branch - 120, cy))- body.append(conn(x_orch + 165, 500, x_branch - 120, 500))- body.append(line_only(x_branch + 120, 200, x_join - 60, 200))- body.append(line_only(x_branch + 120, cy, x_join - 60, cy))- body.append(line_only(x_branch + 120, 500, x_join - 60, 500))- body.append(line_only(x_join - 60, 200, x_join - 60, 500))- body.append(conn(x_join - 60, cy, x_score - 110, cy))- body.append(conn(x_score + 110, cy, x_report - 110, cy))- return svg(W, H, "\n".join(body), corner="01 · system architecture · B")---def diag_01_c():- """C: Radial hub-and-spoke."""- body = []- W, H = 1200, 1000- cx, cy = W / 2, H / 2- body.append(label_box(cx, cy, 280, 100, ["orchestrator", "seo/SKILL.md"], focal=True))- angles = [-90, -30, 30, 90, 150, 210]- labels = [- (["audit report", "score · plan"], False),- (["sub-skills", "25 modules"], False),- (["audit agents", "6 parallel"], False),- (["scoring", "7 dimensions"], False),- (["ai search", "GEO · drift"], False),- (["entry", "/seo audit"], True),- ]- R = 340- for ang_deg, (lns, focal) in zip(angles, labels):- ang = math.radians(ang_deg)- nx = cx + R * math.cos(ang)- ny = cy + R * math.sin(ang)- body.append(f'<path d="M {cx + 140*math.cos(ang)} {cy + 50*math.sin(ang)} L {nx - 120*math.cos(ang)} {ny - 40*math.sin(ang)}" class="conn-soft"/>')- body.append(label_box(nx, ny, 240, 80, lns, focal=focal))- return svg(W, H, "\n".join(body), corner="01 · system architecture · C")---# ============================================================================-# DIAGRAM 02 — AUDIT PIPELINE (3 variants)-# ============================================================================-def diag_02_a():- """A: Linear horizontal flow."""- body = []- W, H = 1600, 480- cy = H / 2- stages = [- ("input", "/seo audit", True),- ("crawl", "up to 500\npages", False),- ("dispatch", "6 specialists\nin parallel", False),- ("collect", "scores +\nfindings", False),- ("report", "score · plan\n· action items", False),- ]- box_w = 220; box_h = 130- gap = (W - 5 * box_w) / 6- for i, (eyebrow, body_text, focal) in enumerate(stages):- x = gap + i * (box_w + gap) + box_w / 2- lines = [eyebrow] + body_text.split("\n")- body.append(label_box(x, cy, box_w, box_h, lines, focal=focal))- if i < len(stages) - 1:- x_next = gap + (i + 1) * (box_w + gap) + box_w / 2- body.append(conn(x + box_w / 2 + 4, cy, x_next - box_w / 2 - 4, cy))- return svg(W, H, "\n".join(body), corner="02 · audit pipeline · A")---def diag_02_b():- """B: Swimlane parallel tracks."""- body = []- W, H = 1600, 720- body.append(label_box(150, 100, 220, 80, ["input", "/seo audit"], focal=True))- lanes = [- ("audit lane", 220, ["technical", "page", "content", "schema", "images"]),- ("ai search", 400, ["geo", "sxo", "drift"]),- ("commerce", 560, ["ecommerce", "hreflang", "plan", "programmatic"]),- ]- for label, y, items in lanes:- body.append(text(80, y + 30, label, "label-sub", anchor="start"))- for i, it in enumerate(items):- x = 320 + i * 160- body.append(label_box(x + 70, y + 25, 140, 50, [it]))- body.append(label_box(W - 180, H / 2, 280, 100, ["score · report", "0-100 + action plan"]))- body.append(line_only(280, 100, 280, H / 2))- body.append(conn(280, H / 2, W - 320, H / 2))- return svg(W, H, "\n".join(body), corner="02 · audit pipeline · B")---def diag_02_c():- """C: Vertical compact."""- body = []- W, H = 900, 1100- cx = W / 2- stages = [- ("input · /seo audit", "from prompt", True),- ("crawl site", "up to 500 pages", False),- ("dispatch agents", "6 parallel · context fork", False),- ("run checks", "271 tests · weighted", False),- ("aggregate scores", "by 7 dimensions", False),- ("emit report", "md + pdf + action plan", False),- ]- for i, (label, annot, focal) in enumerate(stages):- y = 100 + i * 160- body.append(label_box(cx, y, 480, 90, [label]))- body.append(text(cx + 280, y - 5, annot, "label-tiny", anchor="start"))- body.append(text(cx + 280, y + 15, f"step {i+1:02d}", "label-accent", anchor="start"))- if i < len(stages) - 1:- body.append(conn(cx, y + 45, cx, y + 115))- return svg(W, H, "\n".join(body), corner="02 · audit pipeline · C")---# ============================================================================-# DIAGRAM 03 — SUB-SKILL ECOSYSTEM (3 variants, 25 sub-skills, 8 categories)-# ============================================================================-def diag_03_a():- """A: 4-column grid grouped by domain."""- body = []- W, H = 1600, 1100- body.append(text(W/2, 80, "25 sub-skills · 8 categories", "label-sub"))- cats = list(SUB_SKILLS.items())- cols = 4- col_w = (W - 100) / cols- for idx, (title, items) in enumerate(cats):- col = idx % cols- row = idx // cols- # heights vary per row based on max items in that row- row_items = [len(cats[r*cols + c][1]) for r in range(2) for c in range(cols) if r*cols+c < len(cats) and r == row]- max_items_in_row = max(row_items) if row_items else 1- gx = 50 + col * col_w- gy = 130 + row * (max(180, max_items_in_row * 52 + 80))- body.append(text(gx + 20, gy + 28, title.upper(), "label-accent", anchor="start"))- body.append(text(gx + col_w - 30, gy + 28, f"{len(items):02d}", "label-tiny", anchor="end"))- body.append(box(gx + 10, gy + 45, col_w - 30, len(items) * 52 + 14, "box-soft", rx=6))- for j, item in enumerate(items):- yy = gy + 60 + j * 52- body.append(label_box(gx + col_w/2 - 5, yy + 22, col_w - 70, 42, [item]))- return svg(W, H, "\n".join(body), corner="03 · sub-skill ecosystem · A")---def diag_03_b():- """B: Hub + 8 category clusters (proper arrangement, no overlap)."""- body = []- W, H = 1600, 1100- cx, cy = W / 2, H / 2-- # 8 category clusters positioned around the orchestrator.- # Top row: audit, content, schema, technical (4 panels)- # Bottom row: ai-search, local-maps, commerce-intl, extensions (4 panels)- panel_w = 360- panel_h_top = 220- panel_h_btm = 220- top_y = 130- btm_y = H - 130-- clusters_data = [- # (title, items, cx, cy, w, h, side)- ("audit", SUB_SKILLS["audit"], 80 + panel_w/2, top_y, panel_w, panel_h_top, "top"),- ("content", SUB_SKILLS["content"], 80 + panel_w + 30 + panel_w/2, top_y, panel_w, panel_h_top, "top"),- ("schema", SUB_SKILLS["schema"], W - 80 - panel_w - 30 - panel_w/2, top_y, panel_w, panel_h_top, "top"),- ("technical", SUB_SKILLS["technical"], W - 80 - panel_w/2, top_y, panel_w, panel_h_top, "top"),-- ("ai · search", SUB_SKILLS["ai · search"], 80 + panel_w/2, btm_y, panel_w, panel_h_btm, "bottom"),- ("local · maps", SUB_SKILLS["local · maps"], 80 + panel_w + 30 + panel_w/2, btm_y, panel_w, panel_h_btm, "bottom"),- ("commerce · intl", SUB_SKILLS["commerce · intl"], W - 80 - panel_w - 30 - panel_w/2, btm_y, panel_w, panel_h_btm + 80, "bottom"),- ("extensions", SUB_SKILLS["extensions"], W - 80 - panel_w/2, btm_y, panel_w, panel_h_btm, "bottom"),- ]-- # Draw connectors FIRST (under everything)- for title, items, gcx, gcy, gw, gh, side in clusters_data:- if side == "top":- body.append(line_only(gcx, gcy + gh/2, gcx, cy - 55))- else:- body.append(line_only(gcx, gcy - gh/2, gcx, cy + 55))-- # Draw horizontal "rail" lines at orchestrator level- body.append(line_only(80 + panel_w/2, cy - 55, W - 80 - panel_w/2, cy - 55))- body.append(line_only(80 + panel_w/2, cy + 55, W - 80 - panel_w/2, cy + 55))-- # Cluster panels- for title, items, gcx, gcy, gw, gh, side in clusters_data:- gx = gcx - gw/2- gy = gcy - gh/2- body.append(box(gx, gy, gw, gh, "box-soft", rx=8))- body.append(text(gx + 18, gy + 26, title.upper(), "label-accent", anchor="start"))- body.append(text(gx + gw - 18, gy + 26, f"{len(items):02d}", "label-tiny", anchor="end"))-- item_w = gw - 40- item_h = 38- for i, item in enumerate(items):- iy = gy + 50 + i * (item_h + 6)- body.append(label_box(gx + gw/2, iy + item_h/2, item_w, item_h, [item]))-- # Orchestrator drawn last (on top)- body.append(label_box(cx, cy, 320, 110, ["orchestrator", "seo/SKILL.md"], focal=True))- return svg(W, H, "\n".join(body), corner="03 · sub-skill ecosystem · B")---def diag_03_c():- """C: Cluster cards — 8 grouped panels in clean 4×2 grid."""- body = []- W, H = 1600, 1200- body.append(text(W/2, 60, "25 sub-skills · 8 domain clusters", "label-sub"))- groups = [- ("audit", SUB_SKILLS["audit"]),- ("content", SUB_SKILLS["content"]),- ("schema", SUB_SKILLS["schema"]),- ("technical", SUB_SKILLS["technical"]),- ("ai · search", SUB_SKILLS["ai · search"]),- ("local · maps", SUB_SKILLS["local · maps"]),- ("commerce · intl", SUB_SKILLS["commerce · intl"]),- ("extensions", SUB_SKILLS["extensions"]),- ]- cols = 4- col_w = (W - 100) / cols- row_h_top = 290- row_h_btm = 400- for idx, (title, items) in enumerate(groups):- col = idx % cols- row = idx // cols- gx = 50 + col * col_w + 10- gy = 110 + row * (row_h_top + 30)- gw = col_w - 20- gh = row_h_btm if (idx == 6) else (row_h_top if len(items) <= 4 else row_h_btm - 80)- body.append(box(gx, gy, gw, gh, "box-soft", rx=8))- body.append(text(gx + 18, gy + 28, title.upper(), "label-accent", anchor="start"))- body.append(text(gx + gw - 18, gy + 28, f"{len(items):02d}", "label-tiny", anchor="end"))- item_w = gw - 40- item_h = 42- for i, item in enumerate(items):- iy = gy + 50 + i * (item_h + 8)- body.append(label_box(gx + gw/2, iy + item_h/2, item_w, item_h, [item]))- return svg(W, H, "\n".join(body), corner="03 · sub-skill ecosystem · C")---# ============================================================================-# DIAGRAM 04 — 10-PRINCIPLE THINKING FRAMEWORK (3 variants)-# ============================================================================-def diag_04_a():- """A: Horizontal flow — 4 phase columns, principles stacked below each."""- body = []- W, H = 1700, 720- body.append(text(W/2, 60, "10-principle thinking framework · perceive → act", "label-sub"))- stage_w = (W - 200) / 4- cy = 200- for i, (stage, subtitle, principles) in enumerate(FRAMEWORK):- cx = 100 + stage_w * i + stage_w / 2- focal = (i == 0)- body.append(label_box(cx, cy, stage_w - 60, 110, [f"phase {i+1:02d}", stage, subtitle], focal=focal))- if i < 3:- nx = 100 + stage_w * (i + 1) + stage_w / 2- body.append(conn(cx + (stage_w - 60)/2 + 4, cy, nx - (stage_w - 60)/2 - 4, cy))- for j, p in enumerate(principles):- py = cy + 130 + j * 70- body.append(label_box(cx, py, stage_w - 90, 56, [p]))- return svg(W, H, "\n".join(body), corner="04 · thinking framework · A")---def diag_04_b():- """B: Radial wheel — central hub, 4 stage satellites, 10 principles on outer ring.- PROPER SPACING + EXPLICIT LINKING: each principle has a clean connector to its- parent stage card, lines never cross the central card or other stage cards."""- body = []- W, H = 1500, 1500- cx, cy = W / 2, H / 2-- # Dimensions- HUB_W, HUB_H = 360, 110 # central card- STAGE_W, STAGE_H = 220, 80- PRINCIPLE_W, PRINCIPLE_H = 210, 52- R_STAGE = 340 # well clear of hub (hub half-width = 180)- R_PRINCIPLE = 580 # well clear of stage cards (stage half-width = 110, R_STAGE+110 = 450)-- # Faint ring guides- body.append(f'<circle cx="{cx}" cy="{cy}" r="{R_PRINCIPLE}" fill="none" stroke="{ACCENT_FAINT}" stroke-width="1" stroke-dasharray="3 3" opacity="0.25"/>')- body.append(f'<circle cx="{cx}" cy="{cy}" r="{R_STAGE}" fill="none" stroke="{ACCENT_FAINT}" stroke-width="1" stroke-dasharray="3 3" opacity="0.30"/>')-- # Quadrant separator dashed lines (between stage quadrants)- for ang_deg in [-135, -45, 45, 135]:- a = math.radians(ang_deg)- x1 = cx + (R_STAGE - 40) * math.cos(a)- y1 = cy + (R_STAGE - 40) * math.sin(a)- x2 = cx + (R_PRINCIPLE + 50) * math.cos(a)- y2 = cy + (R_PRINCIPLE + 50) * math.sin(a)- body.append(f'<path d="M {x1} {y1} L {x2} {y2}" class="conn-dashed" opacity="0.25"/>')-- # Stage positions- quadrant_angles = [-90, 0, 90, 180] # perceive top, analyze right, validate bottom, act left-- # Precompute stage card centres (used by both stage rendering + principle connectors)- stage_centres = []- for ang_deg in quadrant_angles:- ang = math.radians(ang_deg)- sx = cx + R_STAGE * math.cos(ang)- sy = cy + R_STAGE * math.sin(ang)- stage_centres.append((sx, sy, ang_deg))-- # Principles — pre-compute angles within each quadrant- # Spread principles ±28° from stage centre angle- principle_layout = [] # list of (stage_idx, principle_name, px, py, principle_ang_deg)- for stage_i, (_, _, principles) in enumerate(FRAMEWORK):- stage_centre_deg = quadrant_angles[stage_i]- n = len(principles)- spread = 28- if n == 1:- local_offsets = [0]- else:- local_offsets = [-spread + i * (2 * spread / (n - 1)) for i in range(n)]- for k, (p, off) in enumerate(zip(principles, local_offsets)):- p_ang_deg = stage_centre_deg + off- p_ang = math.radians(p_ang_deg)- px = cx + R_PRINCIPLE * math.cos(p_ang)- py = cy + R_PRINCIPLE * math.sin(p_ang)- principle_layout.append((stage_i, p, px, py, p_ang_deg))-- # ─── Draw connectors FIRST (underneath everything) ───- # Each principle gets its own line from its parent stage card edge to the principle's near edge.- for stage_i, pname, px, py, p_ang_deg in principle_layout:- sx_centre, sy_centre, stage_ang_deg = stage_centres[stage_i]- # Direction from stage centre to principle centre- dx = px - sx_centre- dy = py - sy_centre- d = math.hypot(dx, dy)- if d == 0:- continue- ux, uy = dx / d, dy / d- # Start at stage card edge in that direction- # Approximate edge crossing: STAGE_W/2 horizontal or STAGE_H/2 vertical, whichever first- # Simple ellipse-edge approximation- edge_dist_stage = min(- abs((STAGE_W / 2) / ux) if abs(ux) > 0.01 else 1e9,- abs((STAGE_H / 2) / uy) if abs(uy) > 0.01 else 1e9- )- x1 = sx_centre + ux * edge_dist_stage- y1 = sy_centre + uy * edge_dist_stage- # End at principle card edge (going back toward the stage)- edge_dist_pri = min(- abs((PRINCIPLE_W / 2) / ux) if abs(ux) > 0.01 else 1e9,- abs((PRINCIPLE_H / 2) / uy) if abs(uy) > 0.01 else 1e9- )- x2 = px - ux * edge_dist_pri- y2 = py - uy * edge_dist_pri- body.append(f'<path d="M {x1:.1f} {y1:.1f} L {x2:.1f} {y2:.1f}" class="conn-soft" opacity="0.6"/>')-- # ─── Stage cards ───- for (stage, subtitle, _), (sx, sy, _) in zip(FRAMEWORK, stage_centres):- body.append(label_box(sx, sy, STAGE_W, STAGE_H, [stage, subtitle]))-- # ─── Principle boxes ───- for stage_i, pname, px, py, _ in principle_layout:- body.append(label_box(px, py, PRINCIPLE_W, PRINCIPLE_H, [pname]))-- # ─── Central hub (drawn LAST so it sits on top, never overlapped) ───- body.append(label_box(cx, cy, HUB_W, HUB_H, ["thinking framework", "10 principles · 4 phases"], focal=True))-- return svg(W, H, "\n".join(body), corner="04 · thinking framework · B")---def diag_04_c():- """C: Swim-lane — 4 horizontal lanes, one per stage."""- body = []- W, H = 1500, 820- body.append(text(W/2, 60, "10-principle framework · 4 phases, 10 principles", "label-sub"))- lane_h = 150- lane_gap = 20- start_y = 110- label_x = 30- content_x = 240- for i, (stage, subtitle, principles) in enumerate(FRAMEWORK):- ly = start_y + i * (lane_h + lane_gap)- focal = (i == 0)- klass = "box-focal" if focal else "box-soft"- body.append(box(label_x, ly, W - 60, lane_h, klass, rx=8))- body.append(text(label_x + 30, ly + 50, f"phase {i+1:02d}", "label-accent", anchor="start"))- body.append(text(label_x + 30, ly + 78, stage, "label", anchor="start"))- body.append(text(label_x + 30, ly + 105, subtitle, "label-tiny", anchor="start"))- n = len(principles)- avail = W - content_x - 60- pill_w = min(280, (avail - (n - 1) * 24) / max(n, 1))- for j, p in enumerate(principles):- px = content_x + j * (pill_w + 24) + pill_w / 2- body.append(label_box(px, ly + lane_h / 2, pill_w, 70, [p]))- return svg(W, H, "\n".join(body), corner="04 · thinking framework · C")---# ============================================================================-# DIAGRAM 05 — WAVE ROADMAP (3 variants)-# ============================================================================-def diag_05_a():- """A: Horizontal timeline with alternating cards."""- body = []- W, H = 1800, 600- cy = 310- n = len(WAVES)- x_start, x_end = 120, W - 120- step = (x_end - x_start) / (n - 1)- body.append(f'<line x1="{x_start}" y1="{cy}" x2="{x_end}" y2="{cy}" class="conn-soft" stroke-width="2"/>')- for i, (v, dt, title, items, focal) in enumerate(WAVES):- x = x_start + i * step- r = 14 if focal else 10- fill = ACCENT_BRIGHT if focal else ACCENT- body.append(f'<circle cx="{x}" cy="{cy}" r="{r}" fill="{fill}" stroke="#0A0807" stroke-width="2"/>')- above = (i % 2 == 0)- by = cy - 160 if above else cy + 30- body.append(label_box(x, by + 60, 260, 130, [v + " · " + dt, title, ""], focal=focal))- for k, ln in enumerate(items.split("\n")):- body.append(text(x, by + 90 + k * 16, ln, "label-tiny"))- if above:- body.append(line_only(x, cy - r, x, by + 60 + 65))- else:- body.append(line_only(x, cy + r, x, by + 60 - 65))- return svg(W, H, "\n".join(body), corner="05 · roadmap · A")---def diag_05_b():- """B: Vertical timeline."""- body = []- W, H = 900, 1300- cx = W / 2- n = len(WAVES)- y_start, y_end = 100, H - 100- step = (y_end - y_start) / (n - 1)- body.append(f'<line x1="{cx}" y1="{y_start}" x2="{cx}" y2="{y_end}" class="conn-soft" stroke-width="2"/>')- for i, (v, dt, title, items, focal) in enumerate(WAVES):- y = y_start + i * step- r = 16 if focal else 12- fill = ACCENT_BRIGHT if focal else ACCENT- body.append(f'<circle cx="{cx}" cy="{y}" r="{r}" fill="{fill}" stroke="#0A0807" stroke-width="2"/>')- left = (i % 2 == 0)- side = -1 if left else 1- bx = cx + side * 260- body.append(label_box(bx, y, 360, 110, [v + " · " + dt, title], focal=focal))- for k, ln in enumerate(items.split("\n")):- body.append(text(bx, y + 70 + k * 14, ln, "label-tiny"))- body.append(line_only(cx + side * r, y, bx - side * 180, y))- return svg(W, H, "\n".join(body), corner="05 · roadmap · B")---def diag_05_c():- """C: Kanban columns."""- body = []- W, H = 1400, 800- cols = [- ("shipped", ["v1.7.0", "v1.8.0", "v1.9.0", "v2.0.0"], True),- ("next", ["v2.5.0"], False),- ("future", ["v3.0.0"], False),- ]- col_w = 400- col_gap = 40- start_x = (W - 3 * col_w - 2 * col_gap) / 2- for ci, (cname, versions, focal) in enumerate(cols):- cx = start_x + ci * (col_w + col_gap)- body.append(box(cx, 100, col_w, H - 180, "box-soft", rx=8))- body.append(text(cx + 20, 130, cname.upper(), "label-accent", anchor="start"))- body.append(text(cx + col_w - 20, 130, f"{len(versions):02d}", "label-tiny", anchor="end"))- for vi, v in enumerate(versions):- wave = next((w for w in WAVES if w[0] == v), None)- if not wave:- continue- _, dt, title, items, fc = wave- wy = 170 + vi * 140- body.append(label_box(cx + col_w/2, wy + 50, col_w - 40, 100, [v + " · " + dt, title], focal=fc))- for k, ln in enumerate(items.split("\n")):- body.append(text(cx + col_w/2, wy + 90 + k * 14, ln, "label-tiny"))- return svg(W, H, "\n".join(body), corner="05 · roadmap · C")---# ============================================================================-# MAIN-# ============================================================================-DIAGRAMS = {- "01-architecture-A.svg": diag_01_a,- "01-architecture-B.svg": diag_01_b,- "01-architecture-C.svg": diag_01_c,- "02-pipeline-A.svg": diag_02_a,- "02-pipeline-B.svg": diag_02_b,- "02-pipeline-C.svg": diag_02_c,- "03-sub-skill-map-A.svg": diag_03_a,- "03-sub-skill-map-B.svg": diag_03_b,- "03-sub-skill-map-C.svg": diag_03_c,- "04-framework-A.svg": diag_04_a,- "04-framework-B.svg": diag_04_b,- "04-framework-C.svg": diag_04_c,- "05-roadmap-A.svg": diag_05_a,- "05-roadmap-B.svg": diag_05_b,- "05-roadmap-C.svg": diag_05_c,-}---def main():- for fname, fn in DIAGRAMS.items():- out = DIAG_DIR / fname- out.write_text(fn())- print(f" ✓ {fname}")- print(f"\n{len(DIAGRAMS)} diagrams emitted to {DIAG_DIR}")---if __name__ == "__main__":- main()diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.mdindex 35c23c0..3497f3a 100644--- a/docs/INSTALLATION.md+++ b/docs/INSTALLATION.md@@ -17,7 +17,7 @@ The recommended path. Inside Claude Code:```/plugin marketplace add AgriciDaniel/claude-seo-/plugin install claude-seo@agricidaniel-seo+/plugin install claude-seo@agricidaniel-claude-seo```### Manual Install (Unix, macOS, Linux)@@ -112,7 +112,7 @@ You should see a help message or prompt for a URL.If installed as a plugin:```-/plugin uninstall claude-seo@agricidaniel-seo+/plugin uninstall claude-seo@agricidaniel-claude-seo/plugin marketplace remove AgriciDaniel/claude-seo```@@ -129,6 +129,8 @@ bash claude-seo/uninstall.shTo upgrade to the latest version:+Caution: Prefer downloading, inspecting, then running remote scripts; the pipe-to-shell form below is the less-safe convenience option.+```bash# Uninstall current versioncurl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/uninstall.sh | bashdiff --git a/docs/MIGRATION-v1-to-v2.md b/docs/MIGRATION-v1-to-v2.mdindex 9a88384..b72f68f 100644--- a/docs/MIGRATION-v1-to-v2.md+++ b/docs/MIGRATION-v1-to-v2.md@@ -158,6 +158,8 @@ We considered but ultimately did **not** break the following:## How to upgrade+Caution: Prefer downloading, inspecting, then running remote scripts; the pipe-to-shell form below is the less-safe convenience option.+```bash# Pull v2.0.0curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bashdiff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex bfc782b..c68bc27 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -25,6 +25,9 @@ claude```4. Re-run installer:++Caution: Prefer downloading, inspecting, then running remote scripts; the pipe-to-shell form below is the less-safe convenience option.+```bashcurl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash```diff --git a/extensions/ahrefs/docs/AHREFS-SETUP.md b/extensions/ahrefs/docs/AHREFS-SETUP.mdindex a4b67c8..19084de 100644--- a/extensions/ahrefs/docs/AHREFS-SETUP.md+++ b/extensions/ahrefs/docs/AHREFS-SETUP.md@@ -1,6 +1,6 @@# Ahrefs extension setup-Wires the official [`@ahrefs/mcp`](https://www.npmjs.com/package/@ahrefs/mcp)+Wires the official [`@ahrefs/[email protected]`](https://www.npmjs.com/package/@ahrefs/mcp)server into your Claude Code session so the `seo-ahrefs` skill can calllive Ahrefs data.@@ -15,7 +15,7 @@ The installer:1. Verifies Python 3 + Node 18+ are on `$PATH`.2. Prompts for your Ahrefs API token (input is hidden).-3. Pre-warms the `@ahrefs/mcp` npm package via `npx --yes` so the first+3. Pre-warms the `@ahrefs/[email protected]` npm package via `npx --yes` so the firstMCP call doesn't spend 10+ seconds downloading.4. Copies `skills/seo-ahrefs/SKILL.md` into `~/.claude/skills/seo-ahrefs/`.5. Atomically writes `mcpServers.ahrefs` into `~/.claude/settings.json`@@ -31,7 +31,7 @@ Open a new Claude Code session and ask:```If you see "Ahrefs MCP not connected", the npm package is not yet cached.-Re-run the installer to pre-warm or run `npx --yes --package=@ahrefs/mcp ahrefs-mcp --help` manually.+Re-run the installer to pre-warm or run `npx --yes --package=@ahrefs/[email protected] mcp --help` manually.## Rotate tokendiff --git a/extensions/ahrefs/install.ps1 b/extensions/ahrefs/install.ps1index 09e5eb6..fee98f4 100644--- a/extensions/ahrefs/install.ps1+++ b/extensions/ahrefs/install.ps1@@ -32,7 +32,7 @@ Copy-Item -Path (Join-Path $SourceDir "skills/seo-ahrefs/SKILL.md") `Write-Host "✓ Installed skill: $SkillTarget"# Pre-warm.-& npx --yes --package=@ahrefs/mcp ahrefs-mcp --help *> $null+& npx --yes --package=@ahrefs/[email protected] mcp --help *> $null# Merge settings.json.$pyScript = @"@@ -46,7 +46,7 @@ if os.path.exists(path):data = {}data.setdefault('mcpServers', {})['ahrefs'] = {'command': 'npx',- 'args': ['--yes', '--package=@ahrefs/mcp', 'ahrefs-mcp'],+ 'args': ['--yes', '--package=@ahrefs/[email protected]', 'mcp'],'env': {'AHREFS_API_TOKEN': token},}fd, tmp = tempfile.mkstemp(dir=os.path.dirname(path) or '.', prefix='.settings.', suffix='.json')diff --git a/extensions/ahrefs/install.sh b/extensions/ahrefs/install.shindex a468471..56ba7bf 100755--- a/extensions/ahrefs/install.sh+++ b/extensions/ahrefs/install.sh@@ -40,7 +40,7 @@ main() {# Pre-warm the package so the first MCP invocation isn't slow.echo "→ Pre-warming @ahrefs/mcp..."- npx --yes --package=@ahrefs/mcp ahrefs-mcp --help >/dev/null 2>&1 || true+ npx --yes --package=@ahrefs/[email protected] mcp --help >/dev/null 2>&1 || truemkdir -p "${SKILL_DIR}/seo-ahrefs"cp "${SOURCE_DIR}/skills/seo-ahrefs/SKILL.md" "${SKILL_DIR}/seo-ahrefs/SKILL.md"@@ -64,7 +64,7 @@ if os.path.exists(path):data = {}data.setdefault("mcpServers", {})["ahrefs"] = {"command": "npx",- "args": ["--yes", "--package=@ahrefs/mcp", "ahrefs-mcp"],+ "args": ["--yes", "--package=@ahrefs/[email protected]", "mcp"],"env": {"AHREFS_API_TOKEN": token},}fd, tmp = tempfile.mkstemp(dir=os.path.dirname(path) or ".",diff --git a/extensions/ahrefs/skills/seo-ahrefs/SKILL.md b/extensions/ahrefs/skills/seo-ahrefs/SKILL.mdindex 78fd8b7..e8b91de 100644--- a/extensions/ahrefs/skills/seo-ahrefs/SKILL.md+++ b/extensions/ahrefs/skills/seo-ahrefs/SKILL.md@@ -1,14 +1,14 @@---name: seo-ahrefs-description: Ahrefs API analyst (extension). Reads referring domains, backlinks, organic keywords, and content explorer data via the official @ahrefs/mcp server. Pairs with seo-backlinks for multi-source confidence weighting.+description: Ahrefs API analyst (extension). Reads referring domains, backlinks, organic keywords, and content explorer data via the official @ahrefs/[email protected] server. Pairs with seo-backlinks for multi-source confidence weighting.metadata:version: "2.2.0"-compatibility: "Requires the official @ahrefs/mcp server (installed by extensions/ahrefs/install.sh)."+compatibility: "Requires the official @ahrefs/[email protected] server (installed by extensions/ahrefs/install.sh)."---# seo-ahrefs-Live Ahrefs data via the official `@ahrefs/mcp` server.+Live Ahrefs data via the official `@ahrefs/[email protected]` server.## Prerequisitesdiff --git a/extensions/banana/install.sh b/extensions/banana/install.shindex 74d6ddb..3865aaa 100755--- a/extensions/banana/install.sh+++ b/extensions/banana/install.sh@@ -61,15 +61,16 @@ main() {# Check if nanobanana-mcp is already configuredMCP_CONFIGURED=falseif [ -f "${SETTINGS_FILE}" ]; then- if python3 -c "-import json-with open('${SETTINGS_FILE}', 'r') as f:+ if python3 - "${SETTINGS_FILE}" <<'PY' 2>/dev/null; then+import json, sys+settings_path = sys.argv[1]+with open(settings_path, 'r') as f:settings = json.load(f)if 'mcpServers' in settings and 'nanobanana-mcp' in settings['mcpServers']:- exit(0)+ sys.exit(0)else:- exit(1)-" 2>/dev/null; then+ sys.exit(1)+PYMCP_CONFIGURED=trueecho "✓ nanobanana-mcp already configured in settings.json"fidiff --git a/extensions/banana/scripts/validate_setup.py b/extensions/banana/scripts/validate_setup.pyindex 6cd705a..24860cf 100755--- a/extensions/banana/scripts/validate_setup.py+++ b/extensions/banana/scripts/validate_setup.py@@ -12,6 +12,7 @@ Usage:python3 validate_setup.py"""+import argparseimport jsonimport shutilimport sys@@ -31,7 +32,16 @@ def check(label: str, passed: bool, detail: str = "") -> bool:return passed+def parse_args() -> argparse.Namespace:+ parser = argparse.ArgumentParser(+ description="Validate the Claude Banana MCP server setup."+ )+ return parser.parse_args()++def main() -> int:+ parse_args()+print("Claude Banana - Setup Validation")print("=" * 40)results = []diff --git a/extensions/banana/uninstall.sh b/extensions/banana/uninstall.shindex d036bde..3b6b192 100755--- a/extensions/banana/uninstall.sh+++ b/extensions/banana/uninstall.sh@@ -19,9 +19,9 @@ main() {echo " ℹ Keeping nanobanana-mcp in settings.json (used by standalone skill)"else# No standalone skill, safe to remove MCP- python3 -c "-import json, os-settings_path = '${SETTINGS_FILE}'+ python3 - "${SETTINGS_FILE}" <<'PY' 2>/dev/null || echo " ⚠ Could not auto-remove MCP config. Remove 'nanobanana-mcp' from ~/.claude/settings.json manually."+import json, os, sys+settings_path = sys.argv[1]with open(settings_path, 'r') as f:settings = json.load(f)if 'mcpServers' in settings and 'nanobanana-mcp' in settings['mcpServers']:@@ -33,7 +33,7 @@ if 'mcpServers' in settings and 'nanobanana-mcp' in settings['mcpServers']:print(' ✓ Removed nanobanana-mcp from settings.json')else:print(' ✓ No nanobanana-mcp entry in settings.json')-" 2>/dev/null || echo " ⚠ Could not auto-remove MCP config. Remove 'nanobanana-mcp' from ~/.claude/settings.json manually."+PYfifidiff --git a/extensions/dataforseo/install.ps1 b/extensions/dataforseo/install.ps1index e4c68a6..4f93036 100644--- a/extensions/dataforseo/install.ps1+++ b/extensions/dataforseo/install.ps1@@ -52,7 +52,7 @@ if ([string]::IsNullOrEmpty($DfseUsername)) {}$DfsePasswordSecure = Read-Host "DataForSEO password" -AsSecureString-$DfsePassword = [Runtime.InteropServices.Marshal]::PtrToStringAuto(+$DfsePassword = [Runtime.InteropServices.Marshal]::PtrToStringBSTR([Runtime.InteropServices.Marshal]::SecureStringToBSTR($DfsePasswordSecure))if ([string]::IsNullOrEmpty($DfsePassword)) {@@ -154,7 +154,7 @@ print(' ok')# Pre-warm npx packageWrite-Host "→ Pre-downloading dataforseo-mcp-server..." -ForegroundColor Yellowtry {- & npx -y dataforseo-mcp-server --help 2>&1 | Out-Null+ & npx -y [email protected] --help 2>&1 | Out-Null} catch {# Ignore errors from pre-warm}diff --git a/extensions/dataforseo/install.sh b/extensions/dataforseo/install.shindex 08d357b..5976efb 100755--- a/extensions/dataforseo/install.sh+++ b/extensions/dataforseo/install.sh@@ -25,7 +25,7 @@ main() {SEO_SKILL_DIR="${_PLUGIN_SEO_DIR}"fiif [ ! -d "${SEO_SKILL_DIR}" ]; then- _GLOB_MATCH=$(ls -d "${HOME}/.claude/plugins/cache/agricidaniel-seo/claude-seo/"*/skills/seo 2>/dev/null | tail -n1 || true)+ _GLOB_MATCH=$(ls -d "${HOME}/.claude/plugins/cache/*/claude-seo/"*/skills/seo 2>/dev/null | tail -n1 || true)[ -n "${_GLOB_MATCH}" ] && [ -d "${_GLOB_MATCH}" ] && SEO_SKILL_DIR="${_GLOB_MATCH}"fidiff --git a/extensions/dataforseo/uninstall.sh b/extensions/dataforseo/uninstall.shindex b177e1c..0086a93 100755--- a/extensions/dataforseo/uninstall.sh+++ b/extensions/dataforseo/uninstall.sh@@ -16,9 +16,9 @@ main() {# Remove MCP server entry from settings.jsonSETTINGS_FILE="${HOME}/.claude/settings.json"if [ -f "${SETTINGS_FILE}" ]; then- python3 -c "-import json, os-settings_path = '${SETTINGS_FILE}'+ python3 - "${SETTINGS_FILE}" <<'PY' 2>/dev/null || echo " ⚠ Could not auto-remove MCP config. Remove 'dataforseo' from ~/.claude/settings.json manually."+import json, os, sys+settings_path = sys.argv[1]with open(settings_path, 'r') as f:settings = json.load(f)if 'mcpServers' in settings and 'dataforseo' in settings['mcpServers']:@@ -30,7 +30,7 @@ if 'mcpServers' in settings and 'dataforseo' in settings['mcpServers']:print(' ✓ Removed dataforseo from settings.json')else:print(' ✓ No dataforseo entry in settings.json')-" 2>/dev/null || echo " ⚠ Could not auto-remove MCP config. Remove 'dataforseo' from ~/.claude/settings.json manually."+PYfiecho "✓ DataForSEO extension uninstalled."diff --git a/extensions/firecrawl/install.ps1 b/extensions/firecrawl/install.ps1index a80c29b..09f46c4 100644--- a/extensions/firecrawl/install.ps1+++ b/extensions/firecrawl/install.ps1@@ -39,7 +39,7 @@ Write-Host "Free tier: 500 credits/month"Write-Host ""$apiKey = Read-Host "Firecrawl API key" -AsSecureString-$apiKeyPlain = [Runtime.InteropServices.Marshal]::PtrToStringAuto(+$apiKeyPlain = [Runtime.InteropServices.Marshal]::PtrToStringBSTR([Runtime.InteropServices.Marshal]::SecureStringToBSTR($apiKey))if ([string]::IsNullOrWhiteSpace($apiKeyPlain)) {Write-Host "x API key cannot be empty." -ForegroundColor Reddiff --git a/extensions/firecrawl/uninstall.sh b/extensions/firecrawl/uninstall.shindex 8b0fe02..a3af81b 100755--- a/extensions/firecrawl/uninstall.sh+++ b/extensions/firecrawl/uninstall.sh@@ -10,10 +10,10 @@ echo "v Removed skill files"# Remove MCP entry from settings.jsonSETTINGS_FILE="${HOME}/.claude/settings.json"if [ -f "${SETTINGS_FILE}" ]; then- python3 -c "-import json, os+ python3 - "${SETTINGS_FILE}" <<'PY' || echo " Warning: Could not update settings.json automatically."+import json, os, sys-settings_path = '${SETTINGS_FILE}'+settings_path = sys.argv[1]with open(settings_path, 'r') as f:settings = json.load(f)@@ -24,7 +24,7 @@ if 'mcpServers' in settings and 'firecrawl-mcp' in settings['mcpServers']:print('v Removed MCP server from settings.json')else:print(' MCP server not found in settings.json (already removed)')-" || echo " Warning: Could not update settings.json automatically."+PYfiecho ""diff --git a/extensions/unlighthouse/docs/UNLIGHTHOUSE-SETUP.md b/extensions/unlighthouse/docs/UNLIGHTHOUSE-SETUP.mdindex 9d7ce61..1041067 100644--- a/extensions/unlighthouse/docs/UNLIGHTHOUSE-SETUP.md+++ b/extensions/unlighthouse/docs/UNLIGHTHOUSE-SETUP.md@@ -14,7 +14,7 @@ quota, no credentials, no network egress beyond crawling the target.The installer:1. Verifies Python 3 + Node 18+.-2. Pre-warms `unlighthouse-cli@^0.13` via `npx --yes`.+2. Pre-warms `[email protected]` via `npx --yes`.3. Copies the `seo-unlighthouse` skill into `~/.claude/skills/`.No API keys, no settings.json mutation.diff --git a/extensions/unlighthouse/install.ps1 b/extensions/unlighthouse/install.ps1index 19b7f9a..7964322 100644--- a/extensions/unlighthouse/install.ps1+++ b/extensions/unlighthouse/install.ps1@@ -8,5 +8,5 @@ $SkillTarget = Join-Path $SkillDir "seo-unlighthouse"New-Item -ItemType Directory -Path $SkillTarget -Force | Out-NullCopy-Item (Join-Path $SourceDir "skills/seo-unlighthouse/SKILL.md") `(Join-Path $SkillTarget "SKILL.md") -Force-& npx --yes --package=unlighthouse-cli@^0.13 unlighthouse-ci --help *> $null+& npx --yes [email protected] unlighthouse-ci --help *> $nullWrite-Host "Done."diff --git a/extensions/unlighthouse/install.sh b/extensions/unlighthouse/install.shindex 14b57d4..71b3bce 100755--- a/extensions/unlighthouse/install.sh+++ b/extensions/unlighthouse/install.sh@@ -19,8 +19,8 @@ main() {SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" >/dev/null 2>&1 && pwd)"- echo "→ Pre-warming unlighthouse-cli..."- npx --yes --package=unlighthouse-cli@^0.13 unlighthouse-ci --help >/dev/null 2>&1 || true+ echo "→ Pre-warming unlighthouse..."+ npx --yes [email protected] unlighthouse-ci --help >/dev/null 2>&1 || truemkdir -p "${SKILL_DIR}/seo-unlighthouse"cp "${SOURCE_DIR}/skills/seo-unlighthouse/SKILL.md" "${SKILL_DIR}/seo-unlighthouse/SKILL.md"diff --git a/extensions/unlighthouse/skills/seo-unlighthouse/SKILL.md b/extensions/unlighthouse/skills/seo-unlighthouse/SKILL.mdindex bd8d88d..bdf8319 100644--- a/extensions/unlighthouse/skills/seo-unlighthouse/SKILL.md+++ b/extensions/unlighthouse/skills/seo-unlighthouse/SKILL.md@@ -3,7 +3,7 @@ name: seo-unlighthousedescription: Multi-page Lighthouse audit via the MIT-licensed Unlighthouse CLI. Free-tier alternative to running PageSpeed against every URL on a site — no API quota burn, runs locally.metadata:version: "2.2.0"-compatibility: "Requires Node 18+ and the unlighthouse-cli npm package. Run extensions/unlighthouse/install.sh to pre-warm."+compatibility: "Requires Node 18+ and the unlighthouse npm package. Run extensions/unlighthouse/install.sh to pre-warm."---# seo-unlighthousediff --git a/hooks/run-python-hook.js b/hooks/run-python-hook.jsindex 9eff1bc..f71d3dc 100644--- a/hooks/run-python-hook.js+++ b/hooks/run-python-hook.js@@ -33,11 +33,8 @@ function probe(candidate) {const result = spawnSync(candidate.exe, [...candidate.args, "-c", script], {encoding: "utf8",});- if (result.error) {- return false;- }const output = `${result.stdout || ""}\n${result.stderr || ""}`;- return result.status === 0 && !isStoreStubOutput(output);+ return result.status === 0 && Boolean((result.stdout || "").trim()) && !isStoreStubOutput(output);}function main() {diff --git a/install.ps1 b/install.ps1index 9e6bff7..62c3d5f 100644--- a/install.ps1+++ b/install.ps1@@ -189,6 +189,7 @@ try {}# Copy hooks+ Write-Host " Note: hook enforcement requires plugin install; manual hook copy is best-effort." -ForegroundColor Yellow$HooksPath = "$TempDir\hooks"if (Test-Path $HooksPath) {$SkillHooks = "$SkillDir\hooks"diff --git a/install.sh b/install.shindex 1763710..d0be842 100755--- a/install.sh+++ b/install.sh@@ -86,6 +86,8 @@ main() {cp -r "${TEMP_DIR}/claude-seo/hooks/"* "${SKILL_DIR}/hooks/"chmod +x "${SKILL_DIR}/hooks/"*.sh 2>/dev/null || truechmod +x "${SKILL_DIR}/hooks/"*.py 2>/dev/null || true+ # Manual installs copy hook files only; enforcement loads through the plugin manifest.+ echo " Note: hook enforcement requires plugin install (/plugin install ${REPO_URL}); manual hook copy is best-effort."fi# Copy extensions (optional add-ons: dataforseo, banana)@@ -154,6 +156,7 @@ main() {echo " 2. Run commands: /seo audit https://example.com"echo ""echo "Python deps location: ${SKILL_DIR}/requirements.txt"+ echo "Inspect remote scripts before piping them to bash."echo "To uninstall: curl -fsSL ${REPO_URL}/raw/main/uninstall.sh | bash"}diff --git a/scripts/bing_webmaster.py b/scripts/bing_webmaster.pyindex 173c702..7780790 100644--- a/scripts/bing_webmaster.py+++ b/scripts/bing_webmaster.py@@ -13,6 +13,7 @@ Usage:import argparseimport json+import reimport sysimport timefrom typing import Optional@@ -40,6 +41,16 @@ BING_API_BASE = "https://ssl.bing.com/webmaster/api.svc/json"REQUEST_DELAY = 1_last_request_time = 0+_BING_APIKEY_RE = re.compile(r"(?i)(apikey=)[^&\s'\"<>)]*")+++def _redact_bing_api_key(error_text: object, api_key: str) -> str:+ """Redact Bing API keys from request exception strings."""+ text = str(error_text)+ if api_key:+ text = text.replace(api_key, "***REDACTED***")+ return _BING_APIKEY_RE.sub(r"\1***REDACTED***", text)+def _rate_limit():"""Enforce polite 1-second delay between Bing API requests."""@@ -129,7 +140,7 @@ def _bing_request(endpoint: str, api_key: str, params: Optional[dict] = None,return {"status": "error","data": None,- "error": str(e),+ "error": _redact_bing_api_key(e, api_key),"metadata": {"source": "bing_webmaster"},}diff --git a/scripts/sync_flow.py b/scripts/sync_flow.pyindex 1008c77..271bf26 100644--- a/scripts/sync_flow.py+++ b/scripts/sync_flow.py@@ -11,6 +11,7 @@ import shutilimport subprocessimport sysimport tempfile+import urllib.errorimport urllib.parseimport urllib.request@@ -99,6 +100,9 @@ def api_get(path, ref, headers):if "Authorization" in authed:return api_get(path, ref, authed)raise+ except urllib.error.URLError as exc:+ reason = getattr(exc, "reason", exc)+ raise SystemExit(f"Network error reaching GitHub: {reason}") from Nonedef fetch_file(path, ref, headers):diff --git a/scripts/unlighthouse_run.py b/scripts/unlighthouse_run.pyindex 2ecbd29..7c337ca 100644--- a/scripts/unlighthouse_run.py+++ b/scripts/unlighthouse_run.py@@ -10,7 +10,7 @@ support without a paid Google Cloud bill.This wrapper:- Validates the target via url_safety before any subprocess starts.- - Invokes ``npx --yes unlighthouse-cli@^0.13 …`` with sensible+ - Invokes ``npx --yes [email protected] …`` with sensibledefaults (mobile form factor, 8 parallel workers, JSON output).- Captures the JSON summary the CLI writes and returns it parsedso claude-seo agents can ingest the result without re-running@@ -19,7 +19,7 @@ This wrapper:Prerequisites=============Node.js 18+ available on ``$PATH``. The first run downloads-unlighthouse-cli; subsequent runs use the npx cache.+unlighthouse; subsequent runs use the npx cache.Usage::@@ -45,7 +45,7 @@ if _SCRIPTS_DIR not in sys.path:from url_safety import URLSafetyError, validate_url_strict # noqa: E402-UNLIGHTHOUSE_PIN = "unlighthouse-cli@^0.13"+UNLIGHTHOUSE_PIN = "[email protected]"def _check_node() -> str | None:diff --git a/skills/seo-local/SKILL.md b/skills/seo-local/SKILL.mdindex 295d2ab..bbe05e8 100644--- a/skills/seo-local/SKILL.md+++ b/skills/seo-local/SKILL.md@@ -63,7 +63,7 @@ Detect from page signals before analysis. This determines which checks apply.## Industry Vertical Detection-Detect from page signals and GBP category patterns. Routes to industry-specific checks from `references/local-schema-types.md`.+Detect from page signals and GBP category patterns. Routes to industry-specific checks from `../seo/references/local-schema-types.md`.| Vertical | Detection Signals ||----------|------------------|@@ -167,7 +167,7 @@ Citations declining for traditional pack rankings but **3 of top 5 AI visibility- Facebook business page references- Apple Business Connect awareness (usage doubled to 27%, BrightLocal 2026 -- recommend claiming)- Bing Places awareness (powers ChatGPT, Copilot, Alexa -- recommend claiming and optimizing)-- Industry-specific directory recommendations: load `references/local-schema-types.md` for per-vertical citation sources+- Industry-specific directory recommendations: load `../seo/references/local-schema-types.md` for per-vertical citation sources- Data aggregator awareness: Data Axle, Foursquare, Neustar/TransUnion (recommend submission for downstream distribution)**Scoring guide:**@@ -183,14 +183,14 @@ Schema is NOT a direct ranking factor (John Mueller confirmed). But enables rich- LocalBusiness schema presence (extract JSON-LD blocks)- Required properties: `name`, `address` with PostalAddress sub-properties- Recommended properties: `geo` (minimum 5 decimal places, Confirmed), `openingHoursSpecification`, `telephone`, `url`, `priceRange` (<100 chars), `image`, `aggregateRating`-- **Correct subtype for industry** -- load `references/local-schema-types.md`:+- **Correct subtype for industry** -- load `../seo/references/local-schema-types.md`:- Restaurant using `Restaurant` not generic `LocalBusiness`- Legal using `LegalService` not deprecated `Attorney`- Auto dealer using `AutoDealer` not deprecated `VehicleListing`- Healthcare using `MedicalClinic`/`Hospital`/`Dentist` not generic `MedicalBusiness`- SAB-specific: `areaServed` with named cities (recommended, not in Google's official list but Schema.org supported)- Multi-location: each location page has own LocalBusiness with unique `@id`, linked via `branchOf` to Organization on homepage-- Industry-specific schema patterns (per `references/local-schema-types.md`):+- Industry-specific schema patterns (per `../seo/references/local-schema-types.md`):- Restaurant: Menu + MenuSection + MenuItem + ReserveAction- Healthcare: Physician (Person) + MedicalSpecialty + sameAs to NPI- Legal: LegalService + Person + Service (practice areas)@@ -244,8 +244,8 @@ Key local AI facts:## Reference FilesLoad on-demand as needed:-- `references/local-seo-signals.md`: Ranking factors, review benchmarks, citation tiers, GBP feature status, algorithm updates-- `references/local-schema-types.md`: LocalBusiness subtypes by industry, schema patterns, citation sources per vertical+- `../seo/references/local-seo-signals.md`: Ranking factors, review benchmarks, citation tiers, GBP feature status, algorithm updates+- `../seo/references/local-schema-types.md`: LocalBusiness subtypes by industry, schema patterns, citation sources per vertical---diff --git a/skills/seo-maps/SKILL.md b/skills/seo-maps/SKILL.mdindex 43092a1..fc00264 100644--- a/skills/seo-maps/SKILL.md+++ b/skills/seo-maps/SKILL.md@@ -53,12 +53,12 @@ Before any analysis, detect the available capability tier:### Tier 0 (Free)**Detection:** DataForSEO MCP tools NOT available.**Capabilities:** Overpass API competitor discovery, Geoapify POI search, Nominatim geocoding, static GBP checklist, schema generation, cross-platform NAP guidance.-**Load:** `references/maps-free-apis.md`+**Load:** `../seo/references/maps-free-apis.md`### Tier 1 (DataForSEO)**Detection:** `business_data_business_listings_search` MCP tool IS available.**Capabilities:** Everything in Tier 0 PLUS geo-grid rank tracking, live GBP profile audit, review intelligence (velocity, sentiment, distribution), GBP post activity, Q&A data, Tripadvisor/Trustpilot reviews.-**Load:** `references/maps-api-endpoints.md`+**Load:** `../seo/references/maps-api-endpoints.md`### Tier 2 (DataForSEO + Google Maps Platform)**Detection:** Tier 1 available AND Google Maps API key in environment.@@ -74,8 +74,8 @@ Before any analysis, detect the available capability tier:Simulates Google Maps searches from multiple GPS coordinates to show rankingvariation across a geographic area. Requires DataForSEO.-**Load:** `references/maps-geo-grid.md` for algorithm, SoLV formula, heatmap format.-**Load:** `references/maps-api-endpoints.md` for Maps SERP endpoint details.+**Load:** `../seo/references/maps-geo-grid.md` for algorithm, SoLV formula, heatmap format.+**Load:** `../seo/references/maps-api-endpoints.md` for Maps SERP endpoint details.### Workflow@@ -102,7 +102,7 @@ DataForSEO credits will be consumed. Proceed?Audits the 25 fields that affect Google Business Profile quality and ranking.-**Load:** `references/maps-gbp-checklist.md` for full checklist and scoring.+**Load:** `../seo/references/maps-gbp-checklist.md` for full checklist and scoring.### Tier 1 Workflow@@ -125,7 +125,7 @@ Audits the 25 fields that affect Google Business Profile quality and ranking.Cross-platform review analysis: velocity, sentiment, rating distribution, fake detection.-**Reference:** `references/local-seo-signals.md` for benchmarks (shared with seo-local).+**Reference:** `../seo/references/local-seo-signals.md` for benchmarks (shared with seo-local).### Workflow@@ -155,7 +155,7 @@ Identify and analyze competitors within a defined radius.### Tier 0 (Overpass API)-**Load:** `references/maps-free-apis.md` for query templates.+**Load:** `../seo/references/maps-free-apis.md` for query templates.1. Geocode business address2. Query Overpass API for businesses with same OSM tag within radius@@ -193,7 +193,7 @@ Check business listing consistency across Google, Bing Places, Apple, and OSM.Generate LocalBusiness JSON-LD markup from collected data.-**Reference:** `references/local-schema-types.md` for industry subtypes (shared with seo-local).+**Reference:** `../seo/references/local-schema-types.md` for industry subtypes (shared with seo-local).### Workflow@@ -211,12 +211,12 @@ Generate LocalBusiness JSON-LD markup from collected data.## Reference FilesLoad on-demand as needed (do NOT load all at startup):-- `references/maps-api-endpoints.md`: DataForSEO endpoint details, params, costs-- `references/maps-free-apis.md`: Overpass, Geoapify, Nominatim query templates-- `references/maps-geo-grid.md`: Grid algorithm, SoLV formula, heatmap rendering-- `references/maps-gbp-checklist.md`: 25-field GBP audit with industry weights-- `references/local-seo-signals.md`: Ranking factors, review benchmarks (shared)-- `references/local-schema-types.md`: LocalBusiness subtypes by industry (shared)+- `../seo/references/maps-api-endpoints.md`: DataForSEO endpoint details, params, costs+- `../seo/references/maps-free-apis.md`: Overpass, Geoapify, Nominatim query templates+- `../seo/references/maps-geo-grid.md`: Grid algorithm, SoLV formula, heatmap rendering+- `../seo/references/maps-gbp-checklist.md`: 25-field GBP audit with industry weights+- `../seo/references/local-seo-signals.md`: Ranking factors, review benchmarks (shared)+- `../seo/references/local-schema-types.md`: LocalBusiness subtypes by industry (shared)---diff --git a/skills/seo/SKILL.md b/skills/seo/SKILL.mdindex 2ccec9a..4e2d260 100644--- a/skills/seo/SKILL.md+++ b/skills/seo/SKILL.md@@ -230,6 +230,11 @@ orchestrate itself, so it is not enumerated below.The following ship in `extensions/` rather than `skills/` and require a separateinstaller to activate (see each extension's `install.sh`/`install.ps1`):+Of the optional extensions, firecrawl, dataforseo, and image-gen are reachable+through `/seo` subcommands. Ahrefs, Bing, Profound, SE Ranking, and Unlighthouse+install as standalone skills invoked by their own descriptions. The model+auto-routes to those triggers, not through `/seo <name>`.+- **seo-firecrawl** -- Full-site crawling and site mapping via Firecrawl MCP. Installvia `extensions/firecrawl/install.sh` (Unix) or `extensions/firecrawl/install.ps1`(Windows). Once installed, invoke via `/seo firecrawl <command>`.diff --git a/uninstall.ps1 b/uninstall.ps1index b9d9008..009c7d2 100644--- a/uninstall.ps1+++ b/uninstall.ps1@@ -9,7 +9,7 @@# uninstaller.## Plugin-install users should use Claude Code's own command instead:-# /plugin uninstall claude-seo@agricidaniel-seo+# /plugin uninstall claude-seo@agricidaniel-claude-seo# /plugin marketplace remove AgriciDaniel/claude-seo$ErrorActionPreference = "Stop"diff --git a/uninstall.sh b/uninstall.shindex e3497f4..b173b73 100755--- a/uninstall.sh+++ b/uninstall.sh@@ -9,7 +9,7 @@# uninstaller.## Plugin-install users should use Claude Code's own command instead:-# /plugin uninstall claude-seo@agricidaniel-seo+# /plugin uninstall claude-seo@agricidaniel-claude-seo# /plugin marketplace remove AgriciDaniel/claude-seoset -euo pipefail