Introduction¶
To extract structured data from public web pages, the common approach is to hand-write requests calls against APIs, parse HTML with BeautifulSoup, and then add Selenium or proxy/rate-limiting solutions when you hit login walls, dynamic rendering, or frequency restrictions. These steps tend to scatter across notes and one-off scripts, making it easy for an Agent to lose context during a conversation or to repeatedly fall into the same anti-scraping traps. Below, we introduce the “Web Data Collection” Skill on SkillHub, which consolidates the aforementioned tech stack and countermeasures into a single guidance document that an Agent can read and follow.
What It Is¶
“Web Data Collection” is an enterprise-sourced Skill published by Kunlun Growth on SkillHub. Its coordinate is @kunlungrowth/kg-web-scraping, the current version is 1.0.0, the category is data-analysis, and the tag is requires_api_key=false (no additional API Key is needed for installation or use).
In one sentence: an Agent skill for web scraping that covers requests / BeautifulSoup / Selenium and anti-scraping countermeasures (verbatim from the SkillHub page and metadata description).
- Skill page: https://www.skillhub.cn/skills/kunlungrowth/kg-web-scraping
- Official citation URL: https://api.skillhub.cn/kunlungrowth/kg-web-scraping
Core Capabilities¶
Based on the publicly available description and page information, the Skill guides the Agent to provide actionable recommendations in the following areas (specific steps are defined in the SKILL file bundled with the package after installation; this article does not elaborate on items not displayed on the official page):
- Static HTTP requests: Use requests to issue GET/POST calls, handle responses, and deal with common HTTP status codes.
- HTML parsing: Use BeautifulSoup to extract fields by tag, attribute, or CSS selector.
- Browser automation: When JavaScript execution or simulated interaction is required, drive the page with Selenium.
- Anti-scraping countermeasures: Listed as a dedicated section in the description, this covers rate limiting, request headers, session management, and compliance boundaries (detailed strategies are in the Skill package documentation).
SkillHub statistics (at time of retrieval): rating 100000, downloads 906, installs 0.
Installation & Activation¶
The official page instructs users to install this Skill by following the SkillHub installation guide. Below, we first verify the CLI, then install into the current Agent’s skills directory.
- Check whether
skillhubis already installed:
command -v skillhub && skillhub --version
If not installed, follow the installation document to perform a full install (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
For CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
- When installing the Skill, you must use
--dirto point to the current environment’s skills directory. Otherwise it defaults to./skills/, which the Agent may not recognize. Common paths listed in the installation docs include:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
The install command takes the following form (replace <skills_dir> with the corresponding path above):
skillhub install kunlungrowth/kg-web-scraping --dir <skills_dir>
You can also use the coordinate form, consistent with the SkillHub page prompt:
skillhub install @kunlungrowth/kg-web-scraping --dir <skills_dir>
After installation, restart or refresh the skill list according to your Agent’s documentation so that kg-web-scraping takes effect.
Typical Usage¶
The public materials do not include standalone CLI demos or fixed code snippets. The intended usage is: in a Cursor, Claude Code, or Codex session that has a configured skills directory, describe the target URL, desired fields, and constraints (whether the page is dynamic, whether login is required, frequency limits, etc.) in natural language. The Agent will then consult the SKILL documentation in the package to choose among requests, BeautifulSoup, or Selenium, and reference the anti-scraping strategy section to organize implementation steps.
If you want to verify the Skill’s contents yourself, you can browse the version 1.0.0 package files in the “Files” section of the SkillHub skill page (page structure is subject to SkillHub’s layout).
Use Cases & Caveats¶
Who It’s For
- Teams or individuals who repeatedly need to scrape list pages and detail pages within a conversation and want the Agent to default to the common Python stack (requests / BeautifulSoup / Selenium).
- Those who want to codify anti-scraping practices into a Skill to reduce the cost of re-explaining rate limits and request headers from scratch every time.
Limitations & Notes
- This is an enterprise-sourced Skill. Please comply with the target site’s terms of service and applicable local laws and regulations before use. The Skill provides technical pathway guidance and does not constitute scraping authorization for any site.
- Dynamic pages and sites with strong anti-scraping protections may still cause failures. You may need to combine Selenium environments, proxies, and manual compliance assessment; the Skill does not guarantee bypassing any protection mechanism.
- The “installs 0” figure in the statistics only reflects SkillHub’s counting methodology and does not mean the Skill is not installed locally. Check whether the skill directory appears under your local
--dirpath.
Closing¶
“Web Data Collection” packages requests, BeautifulSoup, Selenium, and anti-scraping countermeasures into an Agent-readable Skill, making it a reliable reference in any data-analysis skill library. To install or browse the version, visit the SkillHub skill page: https://www.skillhub.cn/skills/kunlungrowth/kg-web-scraping .