# Scraper and Data Importer Contract + Collector Map

> Map every scraper and importer in a repo, then build new collectors to a 10-rule contract: stable ids, provenance, idempotent re-runs, gaps instead of guesses, polite and safe fetching. Includes a stdlib parser template and a local-LLM extractor.

Scraper and Data Importer Contract + Collector Map is a paid AI agent skill on Agensi by Claude Workflow Lab, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [Claude Workflow Lab](https://www.agensi.io/creators/creator-1578)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/scraper-and-data-importer-contract-collector-map
- Tags: database, automation, code-review, scraping, data-ingestion, parsers, provenance, idempotency

## What it does

- Maps every data collector in an unfamiliar repo in one pass
- A 10-rule contract for collectors: one source per module, raw files kept with URL, time and hash
- Standard-library collector skeleton and a local-LLM extractor with schema checks

## About this skill

Scrapers and importers rot quietly: ids change, runs duplicate rows, values are guessed, and nobody knows what collects what. This skill first maps what exists and then holds every new collector to a strict contract.

What is inside:
- **SKILL.md** - step 1, a map of every collector in an unfamiliar repo; the 10-rule contract (one source per module, stable never-reused ids, provenance on every fact, idempotent re-runs, gaps not guesses, polite fetching, safe fetching against SSRF, secrets in env only, rights and excerpt limits, self-test plus run summary); a step-by-step build guide; local AI extraction only where rules cannot read the source; handing data in; a do-not list; and an Adapt-to-your-setup section.
- **scripts/parser_template.py** - standard-library collector skeleton: polite GET with retries, raw file kept with URL, time and sha256, a pure parse function, gaps list, idempotent output, one summary line, and a --test mode with no network.
- **scripts/llm_extract.py** - extracts values from a Markdown chunk with a local Ollama model, schema-constrained with one retry, and drops any value whose quote is not literally in the chunk; has a fake-model --test mode.

Who it is for: developers and data engineers who ingest from web pages, APIs or PDFs and want repeatable, auditable data. Needs Python 3; the extractor needs a local Ollama server, nothing is sent to a cloud service. It is also part of the Production Ops: DB, Scrapers, Trading Bot pack at a lower per-skill price.

## Requires

- Claude Code or a compatible agent runtime
- Python 3 (standard library only) for the parser template
- Optional: Ollama

## 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 and Data Importer Contract + Collector Map 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

### What does Scraper and Data Importer Contract + Collector Map do?

Map every scraper and importer in a repo, then build new collectors to a 10-rule contract: stable ids, provenance, idempotent re-runs, gaps instead of guesses, polite and safe fetching. Includes a stdlib parser template and a local-LLM extractor.

### Which AI agents support Scraper and Data Importer Contract + Collector Map?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Scraper and Data Importer Contract + Collector Map?

Connect your AI agent to Agensi through MCP, then ask it to use Scraper and Data Importer Contract + Collector Map on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
