Bhanunamikaze/Agentic-SEO-Skill
seo
VerifiedDeterministic LLM-first SEO audits for websites, blog posts, and GitHub repositories. Use this when the user asks to "perform SEO analysis", "run SEO audit", "analyze SEO", "check technical SEO", "review schema", "Core Web Vitals", "E-E-A-T", "hreflang", "GEO", "AEO", or GitHub repository SEO optimization. For full/page/repo audits, run bundled scripts for evidence and return prioritized, confidence-labeled fixes.
scripts/x_robots_header_checker.py
View on GitHub#!/usr/bin/env python3
"""Inspect X-Robots-Tag headers."""
from __future__ import annotations
import argparse
import json
from seo_common import extract_directives, fetch_url, read_urls
def check_headers(urls: list[str], timeout: int = 15) -> dict:
rows = []
for url in urls:
fetched = fetch_url(url, method="HEAD", timeout=timeout)
if fetched.get("status") in (405, 403) or fetched.get("error"):
fetched = fetch_url(url, method="GET", timeout=timeout, max_bytes=100_000)
headers = fetched.get("headers", {})
value = headers.get("x-robots-tag") or headers.get("X-Robots-Tag")
directives = sorted(extract_directives(value))
rows.append({
"url": url,
"status": fetched.get("status"),
"final_url": fetched.get("url"),
"x_robots_tag": value,
"directives": directives,
"indexing_effect": "blocked" if "noindex" in directives or "none" in directives else "allowed",
"follow_effect": "blocked" if "nofollow" in directives or "none" in directives else "allowed",
"archive_effect": "blocked" if "noarchive" in directives else "allowed",
"snippet_rules": [d for d in directives if d.startswith(("max-snippet", "max-image-preview", "max-video-preview", "nosnippet"))],
"error": fetched.get("error"),
})
return {"count": len(rows), "rows": rows}
def main() -> None:
parser = argparse.ArgumentParser(description="Check X-Robots-Tag headers")
parser.add_argument("urls", nargs="*")
parser.add_argument("--url-file")
parser.add_argument("--timeout", type=int, default=15)
parser.add_argument("--json", "-j", action="store_true")
args = parser.parse_args()
result = check_headers(read_urls(args.urls, args.url_file), args.timeout)
print(json.dumps(result, indent=2) if args.json else "\n".join(f"{r['indexing_effect']}\t{r['x_robots_tag'] or '-'}\t{r['url']}" for r in result["rows"]))
if __name__ == "__main__":
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |