- GCP (fd20:ce::254) and Oracle (192.0.0.192) metadata addresses and 6to4-wrapped addresses are never allowlistable, for proxies and local targets alike. - A malformed proxy URL raises one fixed message instead of echoing the URL and its credentials; an unknown proxy scheme is not echoed either. - Shopify installer: literal paths in PowerShell, grant by SID, and a dangling .shopify-env symlink counts as existing. - Docs list the metadata addresses that are actually refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9.5 KiB
Troubleshooting
Common Issues
Skill Not Loading
Symptom: /seo command not recognized
Solutions:
For plugin installs, verify and reinstall through Claude Code:
/plugin list
/plugin marketplace add AgriciDaniel/claude-seo
/plugin install claude-seo@agricidaniel-claude-seo
For manual installs:
- Verify installation:
ls ~/.claude/skills/seo/SKILL.md
- Check SKILL.md has proper frontmatter:
head -5 ~/.claude/skills/seo/SKILL.md
Should start with --- followed by YAML.
- Restart Claude Code:
claude
- Re-run installer:
Caution: Prefer downloading, inspecting, then running remote scripts; the pipe-to-shell form below is the less-safe convenience option.
curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash
Python Dependency Errors
Symptom: ModuleNotFoundError: No module named 'requests'
Solution:
Dependencies belong in the managed runtime. For a plugin install, run:
/seo doctor
/seo setup
For a manual install, run:
~/.claude/skills/seo/scripts/claude-seo doctor
~/.claude/skills/seo/scripts/claude-seo setup
Do not install individual packages, use pip --user, or create a PATH shim.
requirements.txt Not Found
Symptom: No such file: requirements.txt after install
Solution: For plugin installs, reinstall the plugin first:
/plugin install claude-seo@agricidaniel-claude-seo
For manual installs, requirements.txt is copied to the skill directory:
ls ~/.claude/skills/seo/requirements.txt
If missing, download it directly:
curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/requirements.txt \
-o ~/.claude/skills/seo/requirements.txt
Windows Python Detection Issues
Symptom: python is not recognized or pip points to wrong Python
Solution (v1.2.0+): The Windows installer now tries both python and py -3. If both fail:
- Install Python from python.org and check "Add to PATH"
- Rerun
install.ps1. It usesCLAUDE_SEO_PYTHONwhen set, otherwise the first ofpy -3,python3andpythonthat is Python 3.11 to 3.14, otherwise the newest ofpy -3.14down topy -3.11 - If
py -3is a newer Python that Claude SEO does not support yet (such as 3.15), install 3.14 alongside it, or setCLAUDE_SEO_PYTHONto a supportedpython.exe - Run
/seo doctorafter installation
Playwright Screenshot Errors
Symptom: playwright._impl._errors.Error: Executable doesn't exist
Solution: rerun managed setup so the browser is installed through the same interpreter and persistent browser directory:
/seo setup
/seo doctor
Chromium Sandbox Warning
Symptom: rendering, screenshots or visual analysis work, but stderr shows
claude-seo warning: Chromium's sandbox is unavailable on this system, so the page is rendered without it (or running as root, or disabled by CLAUDE_SEO_CHROMIUM_NO_SANDBOX), and the JSON result has "sandbox": false.
Cause: Claude SEO starts Chromium with its sandbox wherever the system can start it. Some systems cannot:
- Ubuntu 23.10 and later (and GitHub's Ubuntu runners): AppArmor blocks unprivileged user namespaces by default, which the sandbox needs.
- Docker and other containers: the default seccomp profile blocks user namespaces, and most images run as root.
- root: Chromium does not run sandboxed as root.
There the browser is launched once more without the sandbox, behind the same egress guard. The audit still works, but a browser exploit served by an audited page is not contained (as root, it runs as root).
Solution: to get the sandbox back:
- Ubuntu: follow Chromium's guide on AppArmor user namespace restrictions: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
- Containers: run as a non-root user and allow user namespaces (Playwright's Docker guide ships a seccomp profile for this).
- root: run Claude SEO as a regular user.
Two environment variables change the policy:
| Variable | Effect |
|---|---|
CLAUDE_SEO_CHROMIUM_REQUIRE_SANDBOX=1 |
Strict mode: never render without the sandbox; fail instead |
CLAUDE_SEO_CHROMIUM_NO_SANDBOX=1 |
Skip the sandbox attempt (the warning still appears) |
Accepted values are 1, true, yes and on.
Chromium Sandbox Required but Unavailable
Symptom: the result's error says Chromium's sandbox could not start on this system (or cannot start as root) and CLAUDE_SEO_CHROMIUM_REQUIRE_SANDBOX is set, so nothing was rendered, or that both variables are set and contradict
each other.
Cause: strict mode is on and the sandbox cannot start (see the entry above for why). With both variables set, strict mode wins and the launch is refused.
Solution: enable the sandbox as described above, or unset
CLAUDE_SEO_CHROMIUM_REQUIRE_SANDBOX to allow the automatic fallback with a
warning. For the conflict, unset one of the two variables.
Refusing Configured HTTP Proxy
Symptom: every live fetch, or every browser command (--render, screenshots, Unlighthouse), fails with one of:
Refusing configured HTTP proxy '127.0.0.1': non-public address 127.0.0.1. ... name it in CLAUDE_SEO_TRUSTED_PROXIES (host:port).
Unsupported proxy for browser rendering: scheme 'socks5'. Only http:// proxies are supported
Cause: HTTPS_PROXY, HTTP_PROXY or ALL_PROXY points at a proxy on loopback or a private address. That is refused by default, because anything that can set an environment variable could otherwise route every audit through a local service. Claude Code cloud and sandbox sessions, cntlm and px all work this way.
Solution: if the proxy is yours or your platform's, name it, with its port:
export CLAUDE_SEO_TRUSTED_PROXIES=127.0.0.1:3128
- The value is a comma-separated list of
hostorhost:port. No scheme, no credentials, no wildcard, no CIDR range: such an entry is ignored. Use the host exactly as the proxy variable spells it (localhost:3128forhttp://localhost:3128), and brackets for IPv6 with a port ([::1]:3128). - It trusts the proxy only. The site you audit, every redirect and everything a rendered page loads must still be public. To audit a local or staging host over raw HTTP, see
CLAUDE_SEO_LOCAL_TARGETSin SECURITY.md. - A proxy on a link-local address or a cloud metadata address (
169.254.169.254,100.100.100.200,192.0.0.192,fd00:ec2::254,fd20:ce::254, themetadata.*names, and these addresses wrapped in IPv4-mapped or 6to4 form) is refused even when listed. The message then does not mention the variable. - The browser needs an
http://proxy. A SOCKS orhttps://proxy URL is refused for browser commands even when listed; plain fetches are not affected by that limit. - claude-seo still resolves each destination itself before it hands the request to the proxy, so "DNS resolution failed" behind a proxy means this machine cannot resolve public names, and listing the proxy will not change that.
See "Trusting a local proxy" in SECURITY.md for what the proxy is trusted with.
Permission Denied Errors
Symptom: Permission denied when running scripts
Solution:
chmod +x ~/.claude/skills/seo/scripts/*.py
Subagent Not Found
Symptom: Agent 'seo-technical' not found
Solution:
For plugin installs, check /plugin list and reinstall claude-seo@agricidaniel-claude-seo; subagents load from the plugin, not ~/.claude/agents/.
For manual installs:
- Verify agent files exist:
ls ~/.claude/agents/seo-*.md
- Check agent frontmatter:
head -5 ~/.claude/agents/seo-technical.md
- Re-install agents:
cp /path/to/claude-seo/agents/*.md ~/.claude/agents/
Timeout Errors
Symptom: Request timed out after 30 seconds
Solutions:
- The target site may be slow: try again
- Increase timeout in script calls
- Check your network connection
- Some sites block automated requests
Schema Validation False Positives
Symptom: Hook blocks valid schema
Check:
- Ensure placeholders are replaced
- Verify @context is
https://schema.org - Check for deprecated/retired types: HowTo and SpecialAnnouncement, plus the June 2025 retirements (ClaimReview, VehicleListing, EstimatedSalary, LearningVideo, and the CourseInfo carousel)
- FAQPage rich results were retired for all sites on 2026-05-07. The hook does not block it because it remains a valid Schema.org type, but no AI or ranking benefit is confirmed.
- Validate at Google's Rich Results Test
Slow Audit Performance
Symptom: Full audit takes too long
Solutions:
- Audit crawls up to 500 pages: large sites take time
- Subagents run in parallel to speed up analysis
- For faster checks, use
/seo pageon specific URLs - Check if site has slow response times
Getting Help
-
Check the docs: Review COMMANDS.md and ARCHITECTURE.md
-
GitHub Issues: Report bugs at the repository
-
Logs: Check Claude Code's output for error details
Debug Mode
To see detailed output, check Claude Code's internal logs or run scripts directly:
# Test fetch
python3 ~/.claude/skills/seo/scripts/fetch_page.py https://example.com
# Test parse
python3 ~/.claude/skills/seo/scripts/parse_html.py page.html --json
# Test screenshot
python3 ~/.claude/skills/seo/scripts/capture_screenshot.py https://example.com