Preface¶
When performing price monitoring, competitor comparison, or small-scale product selection analysis, it is often necessary to organize product lists from JD.com (Jingdong) search pages into tables. Manual copy-pasting is inefficient, and search pages commonly use lazy loading and multi-page results, making single-page copying difficult for covering complete lists. Below is an introduction to the “JD Data Collection” Skill on SkillHub: it uses browser automation within an Agent to access JD search pages, perform pagination and scroll loading, and export results as CSV.
What Is This¶
“JD Data Collection” is a community-sourced Agent Skill with the coordinate @user_f4e1eca6/jd-scrape, currently at version 1.0.0, categorized under data-analysis, and maintained by the publisher user_f4e1eca6. The SkillHub page lists the author as “叫我老大哥” (Call Me Big Brother).
One-sentence positioning: Uses browser automation to collect product data from JD search pages, supporting multi-page pagination, lazy-loading scrolling, and CSV export. The tag requires_api_key=false indicates that, according to SkillHub’s labeling, no additional API Key is required.
Official entry points:
- SkillHub Page: https://www.skillhub.cn/skills/user_f4e1eca6/jd-scrape
- API Coordinate Page: https://api.skillhub.cn/user_f4e1eca6/jd-scrape
Core Features¶
The following capabilities are all from the official description; fields or interfaces not present in the materials are not extended or explained.
- Search Page Collection: Uses JD search pages as the entry point, reading product information on the page through browser automation.
- Multi-page Pagination: Supports continuous pagination in search results, not limited to the first screen.
- Lazy-loading Scrolling: For list lazy loading, triggers content loading via scrolling before collection.
- CSV Export: Organize collected results into CSV for easy processing in spreadsheet tools or subsequent scripts.
Installation and Activation¶
The Skill follows the standard SKILL.md format and needs to be installed into the skills directory that the current Agent can recognize; if installed in the wrong directory, the Agent may fail to load it, so choose the path according to the client being used.
1. Install SkillHub CLI (if not already installed)¶
First, check whether it is already installed:
command -v skillhub && skillhub --version
If not installed, you can follow SkillHub’s official installation documentation to perform a full installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Full installation instructions: https://skillhub.cn/install/skillhub.md
2. Install This Skill¶
When installing, you must use --dir to point to the skills directory of the current environment. The installation prompt provided on the SkillHub page is: according to the above installation documentation, install @user_f4e1eca6/jd-scrape.
The general command form is as follows (replace <skills directory> with the actual path):
skillhub install user_f4e1eca6/jd-scrape --dir <skills directory>
Common client skills directories (excerpted from SkillHub installation documentation):
| Client | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Alternatively, you can ask the AI in a conversation to complete the installation according to https://skillhub.cn/install/skillhub.md, and clearly specify the coordinate @user_f4e1eca6/jd-scrape.
3. Activation and Refresh¶
After the Skill is installed into the corresponding directory, load skills according to each client’s conventions (some environments require a restart or reopening the session). The specific loading method is subject to the documentation of the Agent you are using; if the materials do not separately list differences between Cursor and Codex CLI, the above directories and the skillhub install method are the unified path given officially.
Typical Usage¶
The official page does not provide step-by-step command examples with specific keywords or page numbers; what is reproducible is the installation coordinate and the capability description. In actual use, simply state your requirements in an Agent session where this Skill has been enabled, for example: provide a JD search keyword or search URL, the number of pages or range to collect, and request CSV output. The Agent will drive the browser according to the Skill’s internal guidance to complete pagination and scrolling, then export the file.
It is recommended to confirm on your own before use:
- The local machine or Agent execution environment has the dependencies required for browser automation (the Skill description explicitly depends on browser automation).
- The export path and file name are clearly stated in the conversation, making it easy to locate the CSV locally.
Applicable Scenarios and Notes¶
Who It’s For
- Developers or analysts who need to quickly pull JD search lists within an Agent workflow and land them into spreadsheets.
- Scenarios that accept browser automation as opposed to official open API integration.
Limitations and Notes
- Changes in page structure, anti-scraping measures, and login state may cause collection failures or incomplete fields; the materials do not promise stability, so small-scale trial runs are recommended before use.
- Please comply with JD’s Terms of Service and relevant laws and regulations, and use data only for compliant purposes.
- SkillHub statistics (based on script-fetched data): rating 100000, downloads 2883, installs 0; the data displayed on the page will change over time, subject to SkillHub.
Conclusion¶
“JD Data Collection” packages JD search page pagination, lazy loading, and CSV export into an Agent Skill, suitable for on-demand installation in environments that support skills such as Cursor, Claude Code, and Codex. For obtaining the Skill and installation instructions, please visit SkillHub: https://www.skillhub.cn/skills/user_f4e1eca6/jd-scrape