# Scraper Drift Alarm — Catch Silent Scraper Breakage

> Your scraper returned HTTP 200 and garbage. This skill checks every run against a known-good baseline and names the field that broke.

Scraper Drift Alarm — Catch Silent Scraper Breakage is a paid AI agent skill on Agensi by LINH RATHHENRY, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [LINH RATHHENRY](https://www.agensi.io/creators/linh-rathhenry)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.1
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/scraper-drift-alarm-catch-silent-scraper-breakage
- Tags: testing, python, data-validation, web-scraping, automation

## About this skill

Scrapers rarely fail loudly. They fail silently: a site redesign empties one field, a pagination change halves your rows, a parsing tweak turns $249.99 into $2.50 — and every downstream report, dashboard, and agent step trusts the bad data for days. Scraper Drift Alarm gives your agent a verification step for scraping work. It snapshots a known-good output once, then compares every new run against that baseline and produces a one-page Markdown verdict: row count (pagination breaks and partial crawls), per-field completeness (selectors that stopped matching), duplicate rate (pagination loops and retry bugs, with a real FAIL threshold, default >50%), numeric distribution shift (unit and parsing changes), malformed rows (reported with line numbers instead of crashing the check). The report ends with a "Most likely broken field" callout, so debugging starts in the right place. The skill includes exact reaction rules: proceed on PASS, surface on WARN, stop the pipeline on FAIL, and never re-baseline from an unverified run. What's inside: drift_alarm CLI (pure Python standard library, zero dependencies) — init snapshots a baseline, check compares CSV/JSON output and writes the report, exit code 1 on FAIL for cron/CI gating; the agent skill (SKILL.md) with workflow wiring and PASS/WARN/FAIL playbook; demo datasets (healthy vs silently-drifted) with a generated FAIL report; 43 passing pytest tests; configurable thresholds via CLI flags or JSON config. Who it's for: anyone whose agent (or cron job) scrapes prices, listings, leads, or research data on a schedule — and can't afford to find out about breakage from a bad report three days later.

## Requires

- Python

## Known limitations

Requires manual baseline initialization from verified data. Only supports UTF-8 encoded CSV or flat JSON lists. Does not support nested object comparison.

## 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 Scraper Drift Alarm — Catch Silent Scraper Breakage skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this differ from simply asking an LLM to validate my scraped data?

Unlike LLMs that can overlook subtle statistical shifts, this skill uses deterministic logic to detect minute changes like a 5% drop in field completeness or a 10% shift in numeric averages that signify a broken selector.

### What file formats and data structures are compatible with the Scraper Drift Alarm?

The skill supports flat JSON lists and CSV files, including automatic detection of delimiters; however, it does not currently support deeply nested JSON structures or non-UTF-8 encodings.

### What exactly is included in the purchase of this skill?

You will receive the 'drift_alarm' Python CLI tool, documentation on initializing your first baseline snapshot, and integration guides for stopping pipelines when a failure is detected.

### Can I use this skill to automatically stop my scraper if it detects a failure?

Yes, the tool returns standard exit codes specifically designed to act as a 'gatekeeper' that can automatically halt CI/CD pipelines or cron jobs before bad data reaches your production database.

### What is required for the initial setup to start monitoring my scrapers?

Setup is straightforward: you provide one verified 'good' data file to initialize a baseline JSON snapshot, which the tool then uses as the ground-truth for all future comparisons.

---

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.
