scrape-with-pagination
Skill2 starsChanged 7 months agoApache-2.0View on GitHub
Extract repeated content from paginated lists, result tables, or infinite-scroll pages using browser-mcp observation and navigation tools. Use when the user asks to collect items across multiple pages.
In this repository8 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-project.mdcCursor rule
- .cursor/rules/10-python.mdcCursor rule
- .cursor/rules/20-mcp-tools.mdcCursor rule
- capture-evidence-bundleSkill
- guidelinesSkill
- safe-loginSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this skill for paginated search results, tables, product lists, article lists, or infinite-scroll pages where an API is not available.
- Very specific: line 32
After each page, call wait_for for the list area or a short timeout, then capture another snapshot.
- Very specific: line 34
Stop at max_pages, no next control, duplicate page content, or a user requested stopping condition.
- Distinctive: line 40
If a CAPTCHA, login wall, or consent wall blocks scraping, stop and report it.
- Distinctive: line 41
If selectors are unstable, return the current URL/title and a screenshot so the flow can be adjusted.
- Very specific: line 46
Never bypass site controls outside browser automation.
- Distinctive: line 47
Never scrape credentials, cookies, hidden auth tokens, or private profile data unless the user explicitly owns the session and requested …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scrape With Pagination
When To Use
Use this skill for paginated search results, tables, product lists, article lists, or infinite-scroll pages where an API is not available.
Inputs
start_urlitem_selectoror text pattern that identifies each item.next_selectoror a description of the next-page control.max_pagesto prevent unbounded browsing.
Procedure
navigate(start_url)and wait for the list area to load.- Capture
get_page_snapshotand identify repeated item fields. - Extract only the requested fields. Avoid collecting unrelated page text.
- Move to the next page with
click(next_selector)orscrollfor infinite-scroll pages. - After each page, call
wait_forfor the list area or a short timeout, then capture another snapshot. - Stop at
max_pages, no next control, duplicate page content, or a user requested stopping condition. - Take a final screenshot when evidence is useful.
Failure Modes
- If a CAPTCHA, login wall, or consent wall blocks scraping, stop and report it.
- If selectors are unstable, return the current URL/title and a screenshot so the flow can be adjusted.
Never
- Never bypass site controls outside browser automation.
- Never scrape credentials, cookies, hidden auth tokens, or private profile data unless the user explicitly owns the session and requested those fields.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

