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.

Audit fixes: add plugin.json, remove non-standard frontmatter, fix hook threshold, add SSRF prevention

Claude4dc153d05115
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
new file mode 100644
index 0000000..4ef67df
--- /dev/null
+++ b/.claude-plugin/plugin.json
@@ -0,0 +1,8 @@
+{
+ "name": "claude-seo",
+ "version": "1.2.0",
+ "description": "Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, content quality (E-E-A-T), schema markup, image optimization, sitemap architecture, AI search optimization (GEO), and strategic planning across all industries.",
+ "author": "AgriciDaniel",
+ "license": "MIT",
+ "homepage": "https://github.com/AgriciDaniel/claude-seo"
+}
diff --git a/hooks/pre-commit-seo-check.sh b/hooks/pre-commit-seo-check.sh
index ad13c46..fcc9c25 100755
--- a/hooks/pre-commit-seo-check.sh
+++ b/hooks/pre-commit-seo-check.sh
@@ -60,7 +60,7 @@ for file in ${STAGED_FILES}; do
TITLE=$(grep -oP '(?<=<title>).*?(?=</title>)' "${file}" 2>/dev/null | head -1 || true)
if [ -n "${TITLE}" ]; then
TITLE_LEN=${#TITLE}
- if [ "${TITLE_LEN}" -lt 30 ] || [ "${TITLE_LEN}" -gt 70 ]; then
+ if [ "${TITLE_LEN}" -lt 30 ] || [ "${TITLE_LEN}" -gt 60 ]; then
echo "⚠️ ${file}: Title tag length ${TITLE_LEN} chars (recommend 30-60)"
WARNINGS=$((WARNINGS + 1))
fi
diff --git a/scripts/capture_screenshot.py b/scripts/capture_screenshot.py
index 135a11e..11a5c00 100755
--- a/scripts/capture_screenshot.py
+++ b/scripts/capture_screenshot.py
@@ -9,7 +9,9 @@ Usage:
"""
import argparse
+import ipaddress
import os
+import socket
import sys
from urllib.parse import urlparse
@@ -60,6 +62,17 @@ def capture_screenshot(
result["error"] = f"Invalid viewport: {viewport}. Choose from: {list(VIEWPORTS.keys())}"
return result
+ # SSRF prevention: block private/internal IPs
+ try:
+ parsed = urlparse(url)
+ resolved_ip = socket.gethostbyname(parsed.hostname)
+ ip = ipaddress.ip_address(resolved_ip)
+ if ip.is_private or ip.is_loopback or ip.is_reserved:
+ result["error"] = f"Blocked: URL resolves to private/internal IP ({resolved_ip})"
+ return result
+ except (socket.gaierror, ValueError):
+ pass
+
vp = VIEWPORTS[viewport]
try:
diff --git a/seo/SKILL.md b/seo/SKILL.md
index 329f92d..67471fd 100644
--- a/seo/SKILL.md
+++ b/seo/SKILL.md
@@ -12,12 +12,6 @@ description: >
e-commerce, local business, publishers, agencies. Triggers on: "SEO", "audit",
"schema", "Core Web Vitals", "sitemap", "E-E-A-T", "AI Overviews", "GEO",
"technical SEO", "content quality", "page speed", "structured data".
-allowed-tools:
- - Read
- - Grep
- - Glob
- - Bash
- - WebFetch
---
# SEO — Universal SEO Analysis Skill