walmart-product-detail
它能做什么
它读取 Walmart 商品详情页上的全部数据,包括价格、规格、图片、规格变体和配送选项。适用于购物者、卖家和分析人员。
适用场景
- ✓当购物者想获取某件 Walmart 商品的完整规格和规格变体时。
- ✓当卖家需要某件 Walmart 商品的 UPC、品牌和型号来建立目录时。
- ✓当分析人员想获取某件 Walmart 商品的配送和卖家详情时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/walmart-product-detail/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请获取这个 Walmart 商品页的完整规格、价格、规格变体和配送选项。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能打开商品地址,读取可见的商品字段和规格表,并返回一条结构化记录,其中包含所显示的规格变体和选项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Walmart — Product Detail
product URL → full structured product data from walmart.com product detail page
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract complete product data from a Walmart product detail page, including pricing, images, specifications, variants, fulfillment options, and review summary.
Prerequisites
- Target product page is open in the browser:
https://www.walmart.com/ip/{product-slug}/{item-id}
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
DOM: extract full product data from current product page
Navigate to the product URL first, then extract:
navigate "https://www.walmart.com/ip/{product-slug}/{item-id}"wait stableeval "$(python scripts/extract-product-detail.py)"
The item-id is the numeric Walmart item ID (usItemId). The product-slug portion of the URL does not affect which product is loaded — only the item-id matters.
Output example:
{
"itemId": "18656507313",
"url": "https://www.walmart.com/ip/HP-14-N150-4-128-Blue/18656507313",
"title": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Waterfall Blue",
"brand": "HP",
"brandUrl": "https://www.walmart.com/search?q=HP&facet=brand:HP",
"model": "14-ep2112wm",
"upc": "199764359186",
"manufacturerProductId": "CQ5J6UA#ABA",
"classType": "VARIANT",
"price": 229,
"priceString": "$229.00",
"currencyUnit": "USD",
"wasPrice": null,
"availability": "IN_STOCK",
"category": [
{"name": "Electronics", "url": "https://www.walmart.com/cp/electronics/3944"},
{"name": "Laptops", "url": "https://www.walmart.com/cp/laptops/3951"}
],
"sellerId": "F55CDC31AB754BB68FE0B39041159D63",
"sellerName": "Walmart.com",
"sellerDisplayName": "Walmart.com",
"sellerType": "INTERNAL",
"sellerAverageRating": null,
"sellerReviewCount": null,
"averageRating": 4.4,
"numberOfReviews": 63,
"thumbnail": "https://i5.walmartimages.com/seo/HP-14.jpeg",
"images": ["https://i5.walmartimages.com/seo/image1.jpeg", "https://i5.walmartimages.com/asr/image2.jpeg"],
"shortDescription": "The HP 14 inch Laptop PC has it all...",
"longDescription": "<ul><li><strong>Intel N150 processor:</strong> ...</li></ul>",
"productHighlights": [
{"name": "RAM memory", "value": "4 GB"},
{"name": "Processor", "value": "N150"}
],
"specifications": {
"RAM memory": "DDR5",
"OS": "Windows 11",
"Screen size": "14 in",
"Weight": "3.11 lb"
},
"variants": [
{
"name": "Actual Color",
"type": "DROPDOWN",
"options": [
{"id": "actual_color-tranquilpink", "name": "Tranquil pink", "availability": "AVAILABLE", "itemIds": ["6G9VW0QQAI2X"]},
{"id": "actual_color-waterfallblue", "name": "Waterfall blue", "availability": "AVAILABLE", "itemIds": ["4QPDNGIGKZZ8"]}
]
}
],
"fulfillmentOptions": [
{"type": "SHIPPING", "status": "IN_STOCK", "freeShipping": true, "deliveryDate": "2026-07-09T21:59:00.000Z", "fulfillmentBadge": "Tomorrow"},
{"type": "PICKUP", "status": "IN_STOCK", "freeShipping": true, "deliveryDate": null, "fulfillmentBadge": "Today"},
{"type": "DELIVERY", "status": "IN_STOCK", "freeShipping": false, "deliveryDate": null, "fulfillmentBadge": "Today"}
],
"returnPolicy": {
"returnable": true,
"freeReturns": true,
常见问题
它需要登录吗?
不需要。商品页是公开的。
它会返回规格吗?
会。它以键值列表的形式返回完整规格。
它涵盖颜色和尺寸规格变体吗?
涵盖。它会列出颜色和尺寸规格变体及其商品 ID。
详情
作者的原始描述
Walmart product detail page extractor: given a walmart.com product URL (walmart.com/ip/...), extract full product data including itemId, title, brand, model, UPC, price, wasPrice, currency, availability, category path, seller info, all images, shortDescription, longDescription, product highlights, full specifications as key-value map, color/size variants with item IDs, fulfillment options (shipping/pickup/delivery with dates), return policy, and review summary with rating breakdown. Use when user mentions walmart product detail, walmart item page, walmart product page, scrape walmart product,
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14280
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。