Resources
7Install
npx skillscat add imoonkey/openweb/src-sites-jd Install via the SkillsCat registry.
About this skill
This skill enables an AI agent to search JD.com for products, retrieve their details, price, and reviews via DOM extraction. It solves the need to gather product information programmatically without manual browsing. Use it when an agent must obtain up‑to‑date product data for comparison, decision making, or automation.
SKILL.md
JD.com
Overview
Chinese e-commerce (京东). Product search, detail, reviews, and pricing via DOM extraction.
Workflows
Search and view product
searchProducts(keyword)→ products withskuIdgetProductDetail(skuId)→ full product infogetProductPrice(skuId)→ current price and promotions
Check reviews before buying
searchProducts(keyword)→ pick product →skuIdgetProductReviews(skuId)→ review count, good rate, individual reviews
Operations
| Operation | Intent | Key Input | Key Output | Notes |
|---|---|---|---|---|
| searchProducts | search products by keyword | keyword, page? | skuId, name, price, shopName, sales | entry point, 30/page |
| getProductDetail | product detail by SKU | skuId ← searchProducts | name, price, images, variants, reviewCount | pageConfig + DOM |
| getProductReviews | product reviews by SKU | skuId ← searchProducts | totalCount, goodRate, tags, reviews | DOM extraction |
| getProductPrice | product price by SKU | skuId ← searchProducts | currentPrice, originalPrice, inStock, promotions | DOM extraction |
Quick Start
# Search for phones
openweb jd exec searchProducts '{"keyword":"手机"}'
# Get product detail
openweb jd exec getProductDetail '{"skuId":"100085781898"}'
# Get reviews
openweb jd exec getProductReviews '{"skuId":"100085781898"}'
# Get price
openweb jd exec getProductPrice '{"skuId":"100085781898"}'