ebay-item-detail
它能做什么
它读取已打开的 eBay 商品页面上显示的详情,并将其作为一条结构化记录返回。适用于比较 eBay 商品信息的买家、卖家和分析人员。
适用场景
- ✓当买家想在一处查看某件 eBay 商品的卖家、成色和运费时。
- ✓当卖家想将 eBay 商品的规格与自己的规格进行比较时。
- ✓当分析人员需要 eBay 商品信息中的 MPN、UPC 或 EAN 数值时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/ebay-item-detail/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请获取这件 eBay 商品的完整详情,包括卖家、成色和商品规格。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能先检查已打开的页面是否为 eBay 商品页,然后读取可见的价格、卖家信息卡片、成色和规格表,并将其作为结构化数据返回。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
eBay — Item Detail Extraction
Input: an open eBay item URL (
/itm/{itemNumber}) → Output: full detail JSON with 25+ fields (title, price, wasPrice, sold, available, seller, itemLocation, brand, MPN/UPC/EAN, condition, images, itemSpecifics map, whyToBuy signals, etc.).
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Given a live eBay item detail page, harvest every field visible on the listing that has clear semantic value (price surface, seller card, condition, item specifics table, sold / availability counters, item location, images) and return a compact JSON object suitable for downstream storage or comparison.
Prerequisites
- Target page is already open in the browser:
https://www.ebay.{tld}/itm/{itemNumber}— the extractor validates that the current URL matches/itm/{digits}and refuses to run otherwise. - No login is required for public listings. Extraction runs against whatever the anonymous browser session sees.
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. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting.
DOM: extract full item detail from the current item page
Precondition: navigate {item URL} → wait stable first. The page URL must be an eBay item URL (/itm/{digits}).
Extract: eval "$(python scripts/extract-item-detail.py)"
Parameters: none.
Output example:
{
"url": "https://www.ebay.com/itm/127962632528",
"itemNumber": "127962632528",
"title": "2017 Apple MacBook Pro 13.3\" i7 3.5GHz 16GB RAM 500GB SSD Space Gray A1706",
"subTitle": null, // .x-item-title__subTitle; often null
"categories": ["Electronics", "Computers/Tablets & Networking", "Laptops & Netbooks", "Apple Laptops"], // breadcrumb, deduped
"price": 284.99, // parsed numeric price
"priceWithCurrency": "C $284.99", // original price string (with "or Best Offer" suffix stripped)
"currency": "CAD", // ISO code inferred from prefix (US $, C $, AU $, HK $, SG $, NZ $, plain $, €, £, ¥, or explicit ISO in string)
"wasPrice": null, // strikethrough / MSRP; null when not discounted
"wasPriceWithCurrency": null,
"available": 1, // integer; 1 when text is "LAST ONE"
"availableText": "LAST ONE", // original availability string
"sold": 982, // parsed sold count
"image": "https://i.ebayimg.com/images/g/hyIAAeSw23FqTV51/s-l1600.jpg", // primary photo, upgraded to s-l1600
"images": [ // deduplicated hi-res gallery
"https://i.ebayimg.com/images/g/hyIAAeSw23FqTV51/s-l1600.jpg"
],
"seller": "PayMore Halifax", // seller display name (parsed from _ssn metadata first, falls back to .x-sellercard-atf__info)
"sellerUrl": "https://www.ebay.com/str/paymorehalifax", // seller storefront or profile URL
"sellerFeedbackCount": 18, // integer (K suffix expanded, e.g. 15.9K -> 15900)
"sellerPositiveRating": 100, // percent as float
"itemLocation": "Halifax, Nova Scotia, Canada", // parsed from ux-labels-values Location row or Shipping "Located in:" tail
"brand": "Apple", // from Item specifics
"type": "MacBook Pro", // from Item specifics "Type" or falls bac
常见问题
它需要 eBay 账户吗?
不需要。该技能说明,公开商品信息无需登录。
如果页面不是商品页怎么办?
除非已打开的地址是 eBay 商品页,否则该技能会停止。
它返回哪些字段?
它返回超过二十五个字段,包括标题、价格、卖家、品牌、成色和图片。
详情
作者的原始描述
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency, wasPrice, available, availableText, sold, image, images, seller, sellerUrl, sellerFeedbackCount, sellerPositiveRating, itemLocation, brand, type, mpn, upc, ean, condition, shippingCost, shipping, whyToBuy, and itemSpecifics (full label/value map). Works across all eBay regional TLDs. Use when user mentions eBay item page, eBay listing detail, eBay product page, eBay itm, ebay.com/itm, eBay item scraper, extract eBay item details, eBay item
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14261
- 许可证
- 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 房源的公开详情,例如照片、设施、评分和房屋规则。