fix-scraper

fix-scraper is a skill for Claude Code from ScrapeOps/scrapeops-scraping-assistant-claude-plugin. It costs 150 tokens per session (4,349 once invoked), scanned B, original, MIT.

A tool for correcting or extending an existing local web scraper or parser. It can address data extraction, website navigation, pagination, or a combination of these.

In plain words
What is it for?
Use it to repair a scraper, change its selectors, add or remove extracted fields, fix pagination, or extend its crawling behaviour.
Why use it?
It helps locate whether the problem is in the fields being collected or in how the scraper moves through pages. It can then produce updated code locally.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is File: ./tutorial/spiders/amazon.py (Python).

Part of the scrapeops-scraping-assistant-claude-plugin plugin — 5 skills, 1 agent shipped together

Good fit Use it to repair a scraper, change its selectors, add or remove…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ScrapeOps/scrapeops-scraping-assistant-claude-plugin
agentmods
npx agentmods add skills/scrapeops/scrapeops-scraping-assistant-claude-plugin/fix-scraper

Made for: Claude Code.

Or install scrapeops-scraping-assistant-claude-plugin, the plugin that ships this one along with the rest of its 5 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-scraper

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrapeops/scrapeops-scraping-assistant-claude-plugin/fix-scraper.svg)](https://agentmods.dev/skills/scrapeops/scrapeops-scraping-assistant-claude-plugin/fix-scraper)
Your own site
<a href="https://agentmods.dev/skills/scrapeops/scrapeops-scraping-assistant-claude-plugin/fix-scraper"><img src="https://agentmods.dev/badge/skills/scrapeops/scrapeops-scraping-assistant-claude-plugin/fix-scraper.svg" alt="Measured on agentmods" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.04349
Opus 5 $0.00075 $0.02174
Sonnet 5 $0.00030 $0.00870
Haiku 4.5 $0.00015 $0.00435

Measured 6d ago against content hash 089cb16fedfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

fix-scraper scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

> **API key handling:** The MCP server reads `SCRAPEOPS_API_KEY` from `~/.claude/settings.json` automatically. Do NOT check or validate it before making tool calls. If a MCP tool call fails with "SCRAPEOPS_API_KEY is not

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Parser code uses `requests.post()`, `method='POST'`, custom headers dict, session cookies → local fetch
skills/fix-scraper/SKILL.md · 415 lines

How it starts

The opening of the file, as written. The whole thing — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ScrapeOps — Fix Scraper Skill

This skill fixes or extends an existing local scraper/parser file. It classifies the issue as parser (data extraction), crawler (navigation/pagination), or both — and routes each to the appropriate fix method.

Overview

  1. Discovery — identify file, HTML source, what needs fixing, and classify the issue type
  2. Confirmation — show summary and wait for approval
  3. Prepare HTML — use local files or fetch via ScrapeOps proxy (parser issues only)
  4. Fix — route to server-side agent (parser) or local edit (crawler)
  5. Result — write fixed code locally and show summary of changes

API key handling: The MCP server reads SCRAPEOPS_API_KEY from ~/.claude/settings.json automatically. Do NOT check or validate it before making tool calls. If a MCP tool call fails with "SCRAPEOPS_API_KEY is not configured", handle it inline:

  1. Ask the user: "Enter your ScrapeOps API key (find it at https://scrapeops.io/app/dashboard):"
  2. Read ~/.claude/settings.json, add the key to env.SCRAPEOPS_API_KEY using Edit, and retry the failed tool call
  3. Do NOT tell the user to run /scrapeops-setup or restart — just ask, save, and continue

Step 1 — Discovery

Always respond in the same language the user is writing in.

There are five slots to fill:

Slot Description Required
parser_path Path to the local parser file Yes
language Programming language Yes (infer from file extension)
html_source Local HTML file(s) OR URLs to fetch Yes (parser issues only)
task What to fix or add Yes
issue_type parser, crawler, or both Yes (classify automatically)

Phase A — Scan the directory

Before asking any question, use Glob to map what exists:

  • Parser candidates: **/*.py, **/*.js, **/*.ts, **/*.php, **/*.rb, **/*.go, **/*.rs, **/*.java, **/*.cs
  • HTML candidates: **/*.html, **/*.htm
  • Output files: **/*.csv, **/*.jsonl

Read the full file on GitHub · 415 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 415 lines · 150 tokens per session scan B 089cb16fedfd

Subscribe to this mod's changes

fix-scraper is a skill published in the GitHub repository ScrapeOps/scrapeops-scraping-assistant-claude-plugin (5 stars, last pushed 4mo ago), licensed MIT. It adds 150 tokens to every session and 4,349 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

har-derived-api-client

Record a site's XHR into a HAR, derive an HTTP client.

NousResearch/hermes-agent · 19 tokens

derive-client

Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to "derive a client", "build a CLI for ", "reverse engineer this site's API", "record…

vercel-labs/agent-browser · 100 tokens

cloud

Documentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the user needs help with the Cloud REST API (v2, v3, or v4), browser-use-sdk (Python or TypeScript), X-Browser-Use-API-Key authentication, cloud sessions, browser profiles, profile sync, CDP…

browser-use/browser-use · 177 tokens

sync-new-data-type

Adds scaffolding for a new Sync data type in Chromium across protocol buffers, DataType definitions, feature flags, controller builders, unit tests, and metrics.

chromium/chromium · 36 tokens

pinchtab

Use this skill when a task needs browser automation through PinchTab: open a website, inspect interactive elements, click through flows, fill out forms, scrape page text, reuse a dedicated automation profile with user approval, export screenshots or PDFs, manage multiple browser instances, or fall back to the HTTP API…

pinchtab/pinchtab · 94 tokens