data-scraper-agent

data-scraper-agent is a skill for Claude Code from KratosAR/claude-code-arsenal. It costs 97 tokens per session (6,080 once invoked), scanned A, a copy of data-scraper-agent, MIT.

A blueprint for an automated agent that collects information from public websites or APIs, uses an AI model to summarise or classify it, and saves the results in Notion, Google Sheets, or Supabase. It can run on a schedule using GitHub Actions, GitHub’s automation service.

In plain words
What is it for?
It helps build scheduled data collectors that gather, enrich, and store information from public sources, including pages that need a real browser to load.
Why use it?
It removes repetitive manual checking of public data such as jobs, prices, news, sports scores, or listings, while keeping the collected results in a usable place.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arsenal-core plugin — 43 skills, 15 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kratosar/claude-code-arsenal/data-scraper-agent
Any agent
npx skills add KratosAR/claude-code-arsenal --skill data-scraper-agent
Clone the repo
git clone --depth 1 https://github.com/KratosAR/claude-code-arsenal

Made for: Claude Code.

Or install arsenal-core, the plugin that ships this one along with the rest of its 43 skills, 15 agents.

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 data-scraper-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/kratosar/claude-code-arsenal/data-scraper-agent.svg)](https://agentmods.dev/skills/kratosar/claude-code-arsenal/data-scraper-agent)
Your own site
<a href="https://agentmods.dev/skills/kratosar/claude-code-arsenal/data-scraper-agent"><img src="https://agentmods.dev/badge/skills/kratosar/claude-code-arsenal/data-scraper-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 88% copy Near-identical to another mod 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.00097 $0.06080
Opus 5 $0.00048 $0.03040
Sonnet 5 $0.00019 $0.01216
Haiku 4.5 $0.00010 $0.00608

Measured 5d ago against content hash a023fda42d55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

data-scraper-agent scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

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

resp = requests.get("https://api.example.com/items", headers=HEADERS, timeout=15)
Origin

This is a copy

88% identical to data-scraper-agent — 43 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

arsenal-core/skills/data-scraper-agent/SKILL.md · 773 lines

How it starts

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

Data Scraper Agent

Build a production-ready, AI-powered data collection agent for any public data source. Runs on a schedule, enriches results with a free LLM, stores to a database, and improves over time.

Stack: Python · Gemini Flash (free) · GitHub Actions (free) · Notion / Sheets / Supabase

When to Activate

  • User wants to scrape or monitor any public website or API
  • User says "build a bot that checks...", "monitor X for me", "collect data from..."
  • User wants to track jobs, prices, news, repos, sports scores, events, listings
  • User asks how to automate data collection without paying for hosting
  • User wants an agent that gets smarter over time based on their decisions

Core Concepts

The Three Layers

Every data scraper agent has three layers:

COLLECT → ENRICH → STORE
  │           │        │
Scraper    AI (LLM)  Database
runs on    scores/   Notion /
schedule   summarises Sheets /
           & classifies Supabase

Free Stack

Layer Tool Why
Scraping requests + BeautifulSoup No cost, covers 80% of public sites
JS-rendered sites playwright (free) When HTML scraping fails
AI enrichment Gemini Flash via REST API 500 req/day, 1M tokens/day — free
Storage Notion API Free tier, great UI for review
Schedule GitHub Actions cron Free for public repos
Learning JSON feedback file in repo Zero infra, persists in git

AI Model Fallback Chain

Build agents to auto-fallback across Gemini models on quota exhaustion:

gemini-2.0-flash-lite (30 RPM) →
gemini-2.0-flash (15 RPM) →
gemini-2.5-flash (10 RPM) →
gemini-flash-lite-latest (fallback)

Batch API Calls for Efficiency

Never call the LLM once per item. Always batch:

# BAD: 33 API calls for 33 items
for item in items:
    result = call_ai(item)  # 33 calls → hits rate limit

# GOOD: 7 API calls for 33 items (batch size 5)
for batch in chunks(items, size=5):
    results = call_ai(batch)  # 7 calls → stays within free tier

Read the full file on GitHub · 773 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. 5d ago First seen · 773 lines · 97 tokens per session scan A a023fda42d55

Subscribe to this mod's changes

data-scraper-agent is a skill published in the GitHub repository KratosAR/claude-code-arsenal (2 stars, last pushed 19d ago), licensed MIT. It adds 97 tokens to every session and 6,080 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to data-scraper-agent, differing in 43 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens