- Home
- Skills
- Data & Databases
- Scraped Dataset QA Gate
More screenshots
Works with the AI Agents you already use
Scraped Dataset QA Gate
by Tive Fi
They keep running and return fewer records, empty fields or the wrong type, and the job still reports success.
$7
Scraped Dataset QA Gate
Example session with this skill installed
Today's run of my shop scraper finished without errors. Before I send today.json to the client, check it against last_good.json. The key is url, and title and price are required.
- Read your context and instructions
- Compiled the scraped dataset qa
Verdict: FAIL. Do not deliver this file.
290 records, 20 duplicates. Last good run: 400 records.
| Field | Fill | Type | Mixed types | Markup residue |
|---|---|---|---|---|
| url | 100.0% | string | 0.0% | 0.0% |
| title | 100.0% | string | 0.0% | 11.4% |
| price | 100.0% | number | 33.5% | 0.0% |
| rating | 50.0% | number | 0.0% | 0.0% |
| seller.name | 74.8% | string | 0.0% | 0.0% |
Failures
| Code | Finding | What I will check next |
|---|---|---|
| B001 | record count fell 27.5% against the baseline (400 to 290) | whether pagination stops early or restarts |
| Q003 | 20 duplicates by url (6.9%, limit 2.0%) | likely the same cause: early pages fetched twice |
| Q006 | price mixes types: 33.5% of values are not numbers | some records hold text such as "$22.00" instead of a number |
| B004 | rating fill rate fell from 100.0% to 50.0% | whether the site still shows ratings on those items |
| B004 | seller.name fill rate fell from 100.0% to 74.8% | 73 records hold the text "N/A", which is counted as empty |
Warnings
- Q008: seller.name has 73 placeholder values. Write a real empty value instead of "N/A".
- Q007: title has markup or stray whitespace in 11.4% of values. Take the text content and trim it.
What to do
- Look at pagination first. It can explain both the missing records and the duplicates.
- Parse price to a number in every page layout.
- Open three of the records with no rating in a browser and tell me whether the rating is on the page. If it is, the scraper broke; if not, the source changed and the requirement should be relaxed.
- Re-run the scraper, then run this gate again.
Keep last_good.json as the baseline. Only a passing run replaces it.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Scrapers rarely crash when a site changes. They keep running and return fewer records, empty fields or the wrong type, and the job still reports success. You find out when a client does.
What it does
Your agent measures a dataset, compares it with the last good run, and returns PASS, WARN or FAIL with the numbers behind each finding.
It ships one Python script that reads local files only. No network calls, no subprocesses, no environment variables, no packages to install. It reads a JSON array, JSON Lines or CSV, and flattens nested objects to dotted field names.
What gets checked
On one run (Q001-Q008)
- record count against a minimum you set
- duplicates by a key you choose, such as url or sku
- fill rate of key and required fields
- optional fields that are mostly empty
- fields that mix types, such as 12.5 in some records and "$12.50" in others
- HTML tags, entities and stray whitespace left in text
- placeholder strings such as N/A, null or a dash, which are counted as empty
Against a baseline (B001-B005)
- record count fell
- a field disappeared
- a new field appeared
- a field's fill rate fell
- a field changed type
Eight thresholds are adjustable through a small JSON file.
How it works
- The agent establishes the contract with you: the key, the required fields and the baseline.
- It runs the gate and reads the findings.
- For every failure it pulls example records and decides whether the source changed, the scraper broke, or the requirement was wrong.
- It reports the verdict, the evidence and the fix, and says whether this run should become the new baseline.
The script exits with code 1 on FAIL, so it also works as a step in a scheduled job that stops delivery when the data is bad.
Who it is for
Anyone who delivers scraped data to someone else: freelance scraper developers, Apify Actor authors, data teams with scheduled crawls.
Where it stops
It measures shape, not truth: a price that is present, numeric and wrong still passes. It loads the whole file into memory, so sample very large datasets first. CSV values are all text, so type checks say little for CSV. It does not fetch pages or repair selectors.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.
Measures the shape of the data, not whether values are true. Loads the whole file into memory. CSV values are all text, so type checks say little for CSV. Does not fetch pages or repair selectors. Requires Python 3.9 or later.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.9 or later