# Production SEO Guard: Crash, Noindex & Sitemap Drift

> Check if your site is secretly broken after a deploy: catches HTTP 200 error screens, leaked noindex tags, staging canonicals, and sudden XML sitemap drops, with optional Google indexation checks.

Production SEO Guard: Crash, Noindex & Sitemap Drift is a free AI agent skill on Agensi by Aleksandr Ilin, in Marketing & SEO. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Aleksandr Ilin](https://www.agensi.io/creators/aleksandr-ilin)
- Category: [Marketing & SEO](https://www.agensi.io/skills/marketing-seo)
- Uses: 1
- Version: 1.0
- Last updated: 2026-11-21
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/production-seo-guard-crash-noindex-sitemap-drift
- Tags: marketing, devops, testing, python, github-actions, seo, technical-seo, sitemap

## About this skill

Standard uptime monitors only check for `HTTP 200`. Your site can look up while Cloudflare serves a blank PHP/SSR error page, a deploy leaks `X-Robots-Tag: noindex`, `rel="canonical"` points to `localhost` or `*.vercel.app`, or a pagination bug drops 40% of your XML sitemap.

**Production SEO Guard** gives your agent a zero-dependency Python 3 scanner (`scripts/seo_guard.py`) paired with stack-specific fix guides and optional Google SERP checks via **Agensi MCP**.

### When to run this
- Right after deploying to production (pre-deploy or post-deploy SEO check)
- When organic traffic drops and you suspect accidental `noindex`, `robots.txt` blocks, or canonical leaks
- On a schedule via GitHub Actions to catch silent downtime or sitemap drift early

### What it checks
- **Silent HTTP 200 crashes (`scripts/seo_guard.py`):** HTTP status, redirect chains, TLS certificate expiry, truncated HTML (`</html>`), and 10+ framework/CMS error markers hidden inside `HTTP 200` responses.
- **Indexability & canonical leaks:** `X-Robots-Tag` headers, `<meta name="robots">`, staging/localhost canonicals, and `robots.txt` blocks.
- **XML sitemap drift:** Validates XML and `.gz` sitemaps and flags sudden URL drops against a 14-day rolling peak.
- **Stack fix playbooks (`references/silent-seo-killers.md`):** Concrete fixes for Next.js/Vercel, WordPress/Cloudflare, Nginx, and headless CMS setups.
- **Optional Google indexation ratio (`references/agensi-mcp-enrichment.md`):** Uses Agensi's built-in Google SERP / DataForSEO tools (`find_tools` -> `quote_tool` -> `run_tool`) to compare sitemap URLs against real indexed pages.

## Requires

- Python 3.8+ (standard library only)

## Known limitations

Requires Python 3. Target URLs must be publicly accessible. MCP SERP enrichment requires external API credentials and per-query costs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Production SEO Guard: Crash, Noindex & Sitemap Drift skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this differ from a standard uptime monitoring service?

Unlike standard monitors that only check if a page loads, this skill detects 'silent' failures like hidden noindex tags, broken canonicals, or CMS errors that return a 200 OK status while effectively removing your site from search results.

### What specific assets are included in the purchase?

The skill includes a zero-dependency Python script, pre-configured GitHub Actions workflows for CI/CD integration, and the agent logic required to interpret technical SEO signals and sitemap drift.

### Are there any external APIs or dependencies I need to provide?

You will need a local Python 3 environment to run the core scanner; for advanced SERP enrichment features, the skill utilizes Agensi MCP which requires your own DataForSEO API credentials.

### Does the Production SEO Guard work with specific web frameworks?

Yes, it is designed to be framework-aware with specific pattern matching for common SEO pitfalls found in Next.js, WordPress, and Shopify environments.

### How does the sitemap drift monitoring work?

The agent calculates a 14-day rolling baseline of your XML sitemap URL counts, allowing it to alert you if a deployment causes a sudden drop or gradual erosion of your indexable pages.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
