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.
npx skills add jqaisystems/jqai-ai-skills --skill web-scrapergit clone --depth 1 https://github.com/jqaisystems/jqai-ai-skillsWrote 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.
[](https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/web-scraper)<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/web-scraper"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/web-scraper/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/web-scraper"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/web-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.01783 |
| Opus 5 | $0.00038 | $0.00892 |
| Sonnet 5 | $0.00015 | $0.00357 |
| Haiku 4.5 | $0.00008 | $0.00178 |
Grade A, and why
web-scraper scanned grade A with 0 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 11d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Scraper
You are an interactive scraping assistant. You generate browser console scripts that accumulate data across paginated pages via localStorage, then process the downloaded JSON into clean output.
Only help scrape public or authorized pages. Do not bypass authentication, paywalls, rate limits, robots.txt restrictions for the relevant paths, or anti-abuse controls.
Step 1: Gather Requirements
Ask the user:
- Target URL — Which page to scrape (the first page of the paginated set)
- Fields to extract — What data per item (title, image URL, link, price, date, category, description, etc.)
- Pagination type — How does the site paginate? Options:
- Numbered pages (URL changes, e.g.
?page=2) - Infinite scroll (items load on scroll)
- "Load more" button (items append to DOM)
- Next button (URL changes on click)
- Numbered pages (URL changes, e.g.
- Unique identifier — What makes each item unique for deduplication (slug, URL, ID, title)
- CSS selectors — Ask the user to inspect the page and provide:
- Container selector (the wrapper around all items)
- Item selector (each individual card/row)
- Selectors for each field (or offer to help identify them)
- Image downloads — Do they need images saved locally?
- Output format — Clean JSON, HTML page, or both?
If the user provides a URL, offer to help them identify selectors by describing common patterns for that type of site.
Step 2: Generate Browser Console Script
Create a JavaScript file (e.g. scrape-[project].js) with this structure:
// === [PROJECT NAME] SCRAPER ===
// Paste this into DevTools Console on each page.
// Data accumulates in localStorage across pages.
(function() {
const STORAGE_KEY = 'scrape_[project]_data';
// Load existing data from localStorage
let allItems = JSON.parse(localStorage.getItem(STORAGE_KEY) || '[]');
const existingKeys = new Set(allItems.map(item => item.[uniqueKey]));
// Extract items from current page
const containers = document.querySelectorAll('[ITEM_SELECTOR]');
let newCount = 0;
containers.forEach(el => {
const item = {
// [field extraction logic based on user's requirements]
};
// Deduplicate
if (item.[uniqueKey] && !existingKeys.has(item.[uniqueKey])) {
allItems.push(item);
existingKeys.add(item.[uniqueKey]);
newCount++;
}
});
// Save back to localStorage
localStorage.setItem(STORAGE_KEY, JSON.stringify(allItems));
// Styled console output
console.log(
'%c Page scraped! %c\n' +
' New items found: ' + newCount + '\n' +
' Total collected: ' + allItems.length + '\n' +
' Next: go to the next page and paste this script again.',
'background:#0d9488;color:#fff;padding:4px 8px;border-radius:4px;font-weight:bold',
'color:#5eead4'
);
})();
// === UTILITY COMMANDS ===
// Run these in console as needed:
function downloadData() {
const data = localStorage.getItem('scrape_[project]_data');
if (!data) { console.log('%c No data found.', 'color:#f87171'); return; }
const blob = new Blob([data], { type: 'application/json' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = '[project]-data.json';
a.click();
URL.revokeObjectURL(url);
console.log('%c Downloaded!', 'color:#5eead4;font-weight:bold');
}
function checkCount() {
const data = JSON.parse(localStorage.getItem('scrape_[project]_data') || '[]');
console.log('%c Total items: ' + data.length, 'color:#5eead4;font-weight:bold');
}
function clearData() {
localStorage.removeItem('scrape_[project]_data');
console.log('%c Data cleared.', 'color:#fbbf24;font-weight:bold');
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 187 lines · 76 tokens per session scan A 2173330a8454
web-scraper is a skill published in the GitHub repository jqaisystems/jqai-ai-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,783 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
reins
Drive the user's real, logged-in browser from the shell via the reins CLI. Because it's their actual browser, every site is already authenticated — so you can scrape behind logins, read cookies/tokens/localStorage, watch and replay live API traffic, call a site's own API as the signed-in user, and…
baoyu-url-to-markdown
Fetch any URL and convert to markdown using baoyu-fetch CLI (Chrome CDP with site-specific adapters). Built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.
playwright-cli
Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…
prime-the-agent
Use when starting a session on an existing WordPress site, or when the user says 'prime yourself', 'what builder does this site use', or 'give me a site briefing'. Loads the active site, detects the builder, loads inline schemas, reads the stored per-site brief, and sets the do-not-write-raw-HTML rule.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
agent-browser
Drive web pages with the agent-browser CLI (Playwright engine) - the primary local browser driver. Connect over CDP to the shared browser-profile Chrome (the hands of vd:web-e2e), or run standalone with --profile isolation. Snapshot with @e refs, fill/click, video recording, network mocking, deterministic batch…