Skip to content

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.

ci(windows-smoke): add a Windows PowerShell 5.1 job

Agrici Daniel7619baa16d39
diff --git a/.github/workflows/windows-smoke.yml b/.github/workflows/windows-smoke.yml
index 369efe5..ee001e1 100644
--- a/.github/workflows/windows-smoke.yml
+++ b/.github/workflows/windows-smoke.yml
@@ -166,3 +166,116 @@ jobs:
(Join-Path $env:RUNNER_TEMP "claude-seo-smoke-temp")
)
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue -Path $paths
+
+ smoke-powershell51:
+ name: Windows install, runtime, uninstall (Windows PowerShell 5.1)
+ needs: validate-ref
+ if: >-
+ github.event_name == 'workflow_dispatch' ||
+ github.event.pull_request.head.repo.full_name == github.repository
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v7
+ with:
+ ref: ${{ github.event_name == 'workflow_dispatch' && needs.validate-ref.outputs.ref || github.sha }}
+
+ - name: Set up Python 3.10
+ uses: actions/setup-python@v7
+ with:
+ python-version: "3.10"
+
+ - name: Prepare isolated user profile
+ shell: powershell
+ run: |
+ $profileRoot = Join-Path $env:RUNNER_TEMP "claude-seo-smoke-profile"
+ $tempRoot = Join-Path $env:RUNNER_TEMP "claude-seo-smoke-temp"
+ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue $profileRoot, $tempRoot
+ New-Item -ItemType Directory -Force -Path $profileRoot, $tempRoot | Out-Null
+ "USERPROFILE=$profileRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "LOCALAPPDATA=$profileRoot\AppData\Local" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "TEMP=$tempRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "TMP=$tempRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+
+ - name: Install released manual package
+ shell: powershell
+ env:
+ CLAUDE_SEO_TAG: ${{ needs.validate-ref.outputs.ref }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ ./install.ps1
+ $skillRoot = Join-Path $env:USERPROFILE ".claude\skills\seo"
+ $required = @(
+ "SKILL.md",
+ "requirements.txt",
+ "data\google-updates.json",
+ "scripts\runtime.py",
+ "scripts\seo_updates.py"
+ )
+ foreach ($relativePath in $required) {
+ $path = Join-Path $skillRoot $relativePath
+ if (-not (Test-Path $path -PathType Leaf)) {
+ throw "Installer did not create required file: $relativePath"
+ }
+ }
+
+ - name: Verify installed runtime and Google updates
+ shell: powershell
+ run: |
+ $ErrorActionPreference = "Stop"
+ $skillRoot = Join-Path $env:USERPROFILE ".claude\skills\seo"
+ $runtime = Join-Path $skillRoot "scripts\runtime.py"
+ $doctor = & py -3 $runtime doctor --json
+ if ($LASTEXITCODE -ne 0) { throw "runtime doctor failed" }
+ $doctor | ConvertFrom-Json | Out-Null
+ $updates = & py -3 $runtime run seo_updates.py --limit 1 --json
+ if ($LASTEXITCODE -ne 0) { throw "seo_updates failed" }
+ $parsedUpdates = $updates | ConvertFrom-Json
+ if ($parsedUpdates.count -ne 1) { throw "Expected one Google update" }
+
+ - name: Uninstall manual package
+ shell: powershell
+ run: |
+ $ErrorActionPreference = "Stop"
+ $skills = Join-Path $env:USERPROFILE ".claude\skills"
+ $agents = Join-Path $env:USERPROFILE ".claude\agents"
+ $expectedSkillDirs = @(Get-ChildItem -Path $skills -Directory -Filter "seo" -ErrorAction SilentlyContinue).Count + @(Get-ChildItem -Path $skills -Directory -Filter "seo-*" -ErrorAction SilentlyContinue).Count
+ $expectedAgentFiles = @(Get-ChildItem -Path $agents -File -Filter "seo-*.md" -ErrorAction SilentlyContinue).Count
+ $uninstallOutput = & ./uninstall.ps1 6>&1 | Out-String
+ $expectedSummary = "claude-seo uninstalled ($expectedSkillDirs skill dirs, $expectedAgentFiles agent files)"
+ if ($uninstallOutput -notmatch [regex]::Escape($expectedSummary)) {
+ throw "Uninstaller summary did not report all removed entries. Output: $uninstallOutput"
+ }
+ if (Test-Path (Join-Path $skills "seo")) { throw "Orchestrator skill remains" }
+ if (Get-ChildItem -Path $skills -Directory -Filter "seo-*" -ErrorAction SilentlyContinue) {
+ throw "SEO sub-skill directories remain"
+ }
+ if (Get-ChildItem -Path $agents -File -Filter "seo-*.md" -ErrorAction SilentlyContinue) {
+ throw "SEO agent files remain"
+ }
+
+ # A partial install can contain sub-skills and agents without the
+ # orchestrator. Its removal count must still be accurate.
+ New-Item -ItemType Directory -Force -Path (Join-Path $skills "seo-local"), (Join-Path $skills "seo-maps") | Out-Null
+ New-Item -ItemType File -Force -Path (Join-Path $agents "seo-local.md"), (Join-Path $agents "seo-maps.md") | Out-Null
+ $partialOutput = & ./uninstall.ps1 6>&1 | Out-String
+ $partialSummary = "claude-seo uninstalled (2 skill dirs, 2 agent files)"
+ if ($partialOutput -notmatch [regex]::Escape($partialSummary)) {
+ throw "Partial-install summary was incorrect. Output: $partialOutput"
+ }
+ if (Test-Path (Join-Path $skills "seo-local")) { throw "Partial sub-skill remains" }
+ if (Test-Path (Join-Path $agents "seo-local.md")) { throw "Partial agent remains" }
+
+ $emptyOutput = & ./uninstall.ps1 6>&1 | Out-String
+ if ($emptyOutput -notmatch [regex]::Escape("Nothing to remove")) {
+ throw "Second uninstall did not report an empty install. Output: $emptyOutput"
+ }
+
+ - name: Remove isolated user profile
+ if: always()
+ shell: powershell
+ run: |
+ $paths = @(
+ (Join-Path $env:RUNNER_TEMP "claude-seo-smoke-profile"),
+ (Join-Path $env:RUNNER_TEMP "claude-seo-smoke-temp")
+ )
+ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue -Path $paths
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e17d811..c816c57 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`render_page._json_summary` after the raw result is mapped onto the
render_page contract, so `--json` output has one shared shape and `--max-text`
applies to both (#297).
+- `install.ps1` crashed on Windows PowerShell 5.1 before it could even check
+ whether Python was installed: `Test-PythonCandidate`'s `-Args` parameter was
+ a mandatory `[string[]]`, which 5.1 rejects when called with an empty array,
+ and `Resolve-Python` calls it that way for the `python3`/`python` candidates
+ (#207).
+- The Windows installer smoke workflow only ran the install/verify/uninstall
+ sequence under PowerShell Core (`pwsh`); a parallel job now runs the same
+ steps under Windows PowerShell 5.1 (`shell: powershell`), which is what
+ actually caught #207.
## [2.2.6] - 2026-09-10