res-price-compare
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePrice Comparison — Polish Market
波兰市场价格对比
Iterative 5-round product price research on the Polish e-commerce market with warranty verification, shipping costs, and B2B analysis.
IMPORTANT: Load at startup — it contains the shop database, price comparators, and search patterns.
references/polish-market.md针对波兰电商市场的迭代式5轮产品价格调研,包含保修验证、运费核算及B2B分析。
重要提示: 启动时请加载文件——其中包含商家数据库、价格对比工具及搜索模式。
references/polish-market.mdArchitecture
架构
| Tool | Purpose | Cost |
|---|---|---|
| Search for shops, prices, offers | Free |
| Verify prices on shop pages (primary) | Free |
| Fallback for sites that block WebFetch | Free |
No xAI — price comparison doesn't need X/Twitter.
| 工具 | 用途 | 成本 |
|---|---|---|
| 搜索商家、价格、优惠信息 | 免费 |
| 验证商家页面上的价格(主要方式) | 免费 |
| 针对拦截WebFetch的网站的备用方案 | 免费 |
无需xAI——价格对比不需要X/Twitter。
Requirements
要求
No external dependencies required. Skill runs on built-in Claude Code tools.
Optional dependencies:
- — fallback for sites that block WebFetch (403, CAPTCHA, empty responses). Install:
scraplinguv tool install 'scrapling[all]' - — to run
uvfor XLSX exportuv run --with openpyxl python3 -c "..."
无需外部依赖。该Skill可基于内置Claude Code工具运行。
可选依赖:
- ——针对拦截WebFetch的网站的备用方案(如403错误、验证码、空响应)。安装命令:
scraplinguv tool install 'scrapling[all]' - ——用于执行
uv命令以导出XLSX文件uv run --with openpyxl python3 -c "..."
Workflow Overview
工作流程概述
| Step | Action | Purpose |
|---|---|---|
| 1 | Parse query | PRODUCT, BUYER_TYPE, CATEGORY |
| 2 | Round 1: Discovery | Ceneo, Allegro, Amazon.pl, general and specialist shops |
| 3 | Gap analysis | Missing shops, unverified prices, missing data |
| 4 | Round 2: WebFetch shops | Confirm prices, stock levels, shipping |
| 5 | Round 3: Warranty and shipping | Verify warranty type, delivery costs |
| 6 | Round 4: B2B and distributors | B2B portals, official distributors, statutory warranty |
| 7 | Round 5: Final verification | Re-check cheapest, stock, coupons |
| 8 | Synthesis | Comparison table, recommendation, summary |
| 9 | Export | TXT, XLSX, HTML on request |
| 10 | Expert mode | Answers from cache, no new searches |
| 步骤 | 操作 | 目的 |
|---|---|---|
| 1 | 解析查询 | 提取产品类型、买家类型、品类 |
| 2 | 第一轮:发现 | 搜索Ceneo、Allegro、Amazon.pl、综合及垂直商家 |
| 3 | 差距分析 | 识别缺失商家、未验证价格、缺失数据 |
| 4 | 第二轮:WebFetch商家页面 | 确认价格、库存水平、运费 |
| 5 | 第三轮:保修与运费 | 验证保修类型、配送成本 |
| 6 | 第四轮:B2B与分销商 | 调研B2B平台、官方分销商、法定保修 |
| 7 | 第五轮:最终验证 | 重新核查最低价、库存、优惠券 |
| 8 | 综合分析 | 生成对比表格、购买建议、总结报告 |
| 9 | 导出 | 根据需求导出TXT、XLSX、HTML格式 |
| 10 | 专家模式 | 基于缓存数据答疑,不进行新搜索 |
WebFetch with Scrapling Fallback
WebFetch结合Scrapling备用方案
Every WebFetch call in this skill follows a two-tier pattern:
- Try WebFetch first (fast, no file I/O):
WebFetch(url, prompt) - If WebFetch fails (403, empty content, CAPTCHA page, or blocked response), retry using the auto-escalation protocol from cli-web-scrape:
- → Read → validate content
scrapling extract get "URL" /tmp/scrapling-fallback.md - If content is thin (JS-only shell, no data, mostly nav links) → → Read → validate
scrapling extract fetch "URL" /tmp/scrapling-fallback.md --network-idle --disable-resources - If still blocked →
scrapling extract stealthy-fetch "URL" /tmp/scrapling-fallback.md --solve-cloudflare - All tiers fail → skip shop and label "scrapling blocked"
Detection heuristics for blocked/thin responses:
- HTTP 403 or "access denied" in response
- Response body is empty or contains only navigation/cookie banners
- Response contains CAPTCHA challenge (reCAPTCHA, hCaptcha, Cloudflare challenge page)
- Response is a "please enable JavaScript" page or JS-disabled warning
- HTTP 200 but no prices, specs, or product names — only nav links and footer (JS-rendered SPA)
If scrapling is not installed, fall back to the original behavior: skip the shop and label "WebFetch blocked".
本Skill中的每一次WebFetch调用均遵循两层模式:
- 优先尝试WebFetch(速度快,无文件I/O):
WebFetch(url, prompt) - 若WebFetch失败(403错误、空内容、验证码页面或拦截响应),遵循cli-web-scrape的自动升级协议重试:
- → 读取 → 验证内容
scrapling extract get "URL" /tmp/scrapling-fallback.md - 若内容单薄(仅JS外壳、无数据、多为导航链接)→ → 读取 → 验证
scrapling extract fetch "URL" /tmp/scrapling-fallback.md --network-idle --disable-resources - 若仍被拦截 →
scrapling extract stealthy-fetch "URL" /tmp/scrapling-fallback.md --solve-cloudflare - 所有层级均失败 → 跳过该商家并标记为"scrapling blocked"
拦截/单薄响应的检测规则:
- HTTP 403错误或响应中包含"access denied"
- 响应体为空或仅包含导航/ cookie横幅
- 响应包含验证码挑战(reCAPTCHA、hCaptcha、Cloudflare挑战页面)
- 响应为"请启用JavaScript"页面或JS禁用警告
- HTTP 200响应但无价格、规格或产品名称——仅包含导航链接和页脚(JS渲染的SPA)
若未安装scrapling,则回退至原始行为:跳过该商家并标记为"WebFetch blocked"
Step 1: Parse Query
步骤1:解析查询
Extract from user query:
从用户查询中提取以下信息:
1a. PRODUCT
1a. 产品
Product name to search. Include model, variant, part number.
待搜索的产品名称,需包含型号、变体、部件编号。
1b. BUYER_TYPE
1b. 买家类型
| Type | Detection | Consequences |
|---|---|---|
| B2C | "for home", "personal", no indication | Statutory warranty 24 mo. + voluntary warranty |
| B2B | "for company", "VAT invoice", "business", "B2B" | Statutory warranty may be excluded, manufacturer warranty is critical |
Default: B2B (safer assumption — triggers more analysis)
| 类型 | 检测关键词 | 影响 |
|---|---|---|
| B2C | "家用"、"个人"、无明确标识 | 法定保修24个月 + 自愿保修 |
| B2B | "企业用"、"增值税发票"、"商务"、"B2B" | 可能不包含法定保修,厂商保修至关重要 |
默认值: B2B(更安全的假设——触发更多分析)
1c. CATEGORY
1c. 品类
Auto-detect based on product name. Load the appropriate specialist shop list from :
references/polish-market.md| Category | Detection Patterns | Examples |
|---|---|---|
| VoIP/Telephony | Yealink, Grandstream, Fanvil, SIP, DECT, VoIP | Yealink W76P |
| IT/Networking | MikroTik, Ubiquiti, switch, router, AP, firewall | MikroTik hAP ax3 |
| Electronics | monitor, laptop, computer, printer, tablet | Dell U2723QE |
| Office | chair, desk, shredder, projector | Ergohuman Elite |
| General | (no match) | Nespresso Vertuo |
基于产品名称自动识别。从中加载对应垂直商家列表:
references/polish-market.md| 品类 | 检测模式 | 示例 |
|---|---|---|
| VoIP/电话系统 | Yealink、Grandstream、Fanvil、SIP、DECT、VoIP | Yealink W76P |
| IT/网络设备 | MikroTik、Ubiquiti、交换机、路由器、AP、防火墙 | MikroTik hAP ax3 |
| 电子产品 | 显示器、笔记本电脑、计算机、打印机、平板 | Dell U2723QE |
| 办公设备 | 椅子、办公桌、碎纸机、投影仪 | Ergohuman Elite |
| 综合类 | 无匹配项 | Nespresso Vertuo |
Step 2: Round 1 — Discovery
步骤2:第一轮 — 发现
Query Generation
查询生成
Generate 6-8 parallel queries:
- Ceneo:
site:ceneo.pl "{PRODUCT}" - Allegro:
site:allegro.pl "{PRODUCT}" - Amazon.pl:
site:amazon.pl "{PRODUCT}" - General prices:
"{PRODUCT}" cena kupić - Specialist shops: (from category list)
"{PRODUCT}" sklep - Price comparator:
"{PRODUCT}" porównanie cen - Reviews:
"{PRODUCT}" opinie recenzje - B2B: (if BUYER_TYPE = B2B)
"{PRODUCT}" dystrybutor hurtownia
生成6-8个并行查询:
- Ceneo:
site:ceneo.pl "{PRODUCT}" - Allegro:
site:allegro.pl "{PRODUCT}" - Amazon.pl:
site:amazon.pl "{PRODUCT}" - 综合价格:
"{PRODUCT}" cena kupić - 垂直商家: (来自品类列表)
"{PRODUCT}" sklep - 价格对比:
"{PRODUCT}" porównanie cen - 评价:
"{PRODUCT}" opinie recenzje - B2B: (若买家类型为B2B)
"{PRODUCT}" dystrybutor hurtownia
Parallel Execution
并行执行
Run all WebSearch queries simultaneously (parallel tool calls).
同时运行所有WebSearch查询(并行工具调用)。
Internal Notes After Round 1
第一轮后的内部记录
Record (internally, NOT in output):
SHOPS_FOUND: [list of shops with prices]
SHOPS_MISSING: [from references/polish-market.md, not found]
PRICES_TO_VERIFY: [prices from snippets — need WebFetch]
WARRANTY_TO_CHECK: [shops without warranty type info]
LEADS: [URLs worth checking via WebFetch in Round 2]记录(仅内部使用,不对外输出):
SHOPS_FOUND: [包含价格的商家列表]
SHOPS_MISSING: [来自polish-market.md的缺失商家]
PRICES_TO_VERIFY: [来自搜索片段的价格——需WebFetch验证]
WARRANTY_TO_CHECK: [无保修类型信息的商家]
LEADS: [第二轮中需通过WebFetch核查的URL]Step 3: Gap Analysis
步骤3:差距分析
After Round 1, perform gap analysis:
| Gap | Check | Action |
|---|---|---|
| No comparator data | Do we have Ceneo data? | If not → WebFetch ceneo.pl |
| No specialist shops | How many shops from category in polish-market.md? | Search for missing ones |
| Prices from snippets only | Any price confirmed via WebFetch? | Plan WebFetch for top 10 |
| No warranty data | How many shops have warranty type info? | Plan verification |
| No shipping data | How many shops have delivery costs? | Plan WebFetch of shipping pages |
| No marketplace data | Were Allegro / Amazon checked? | Additional queries |
第一轮结束后,执行差距分析:
| 差距 | 核查内容 | 操作 |
|---|---|---|
| 无对比工具数据 | 是否有Ceneo数据? | 若无 → WebFetch ceneo.pl |
| 无垂直商家数据 | polish-market.md中对应品类的商家已覆盖多少? | 搜索缺失的商家 |
| 仅搜索片段提供价格 | 是否有通过WebFetch确认的价格? | 计划对前10个结果进行WebFetch |
| 无保修数据 | 多少商家提供了保修类型信息? | 计划验证 |
| 无运费数据 | 多少商家提供了配送成本? | 计划WebFetch配送页面 |
| 无平台数据 | 是否核查了Allegro/Amazon? | 补充查询 |
Plan Round 2
规划第二轮
Select top 8-12 URLs for WebFetch verification. Priority:
- Cheapest offers (price verification)
- Ceneo (lists many shops at once)
- Specialist shops without price
- Pages with warranty information
选择前8-12个URL进行WebFetch验证,优先级:
- 最低价优惠(价格验证)
- Ceneo(可一次性获取多家商家信息)
- 无价格信息的垂直商家
- 包含保修信息的页面
Step 4: Round 2 — WebFetch Shops
步骤4:第二轮 — WebFetch商家页面
Rules
规则
- Never repeat queries from Round 1
- WebFetch specific product pages — not homepages
- In parallel — run 4-6 WebFetch simultaneously
- Maximum 8-12 WebFetch in this round
- 绝不重复第一轮的查询
- WebFetch具体产品页面——而非首页
- 并行执行——同时运行4-6个WebFetch
- 本轮最多执行8-12次WebFetch
Execution
执行
For each URL from the list, apply the WebFetch with Scrapling Fallback pattern:
WebFetch(url, "Podaj: 1) dokładną cenę brutto, 2) dostępność/stan magazynowy,
3) koszty wysyłki, 4) informacje o gwarancji (producenta czy sprzedawcy)")If WebFetch returns 403, empty content, CAPTCHA, or a blocked response, follow the auto-escalation protocol (HTTP → validate content → Dynamic → Stealthy). Extract the same data points from the scrapling output.
If Ceneo is available, WebFetch the Ceneo page first — it provides a list of many shops at once.
对列表中的每个URL,应用WebFetch结合Scrapling备用方案模式:
WebFetch(url, "请提供:1) 精确含税价格,2) 库存状态,3) 运费,4) 保修信息(厂商保修还是卖家保修)")若WebFetch返回403错误、空内容、验证码或拦截响应,则遵循自动升级协议(HTTP → 内容验证 → 动态 → 隐身模式)。从scrapling输出中提取相同数据点。
若可访问Ceneo,优先WebFetch Ceneo页面——可一次性获取多家商家信息。
Confidence Update
可信度更新
| Source | Price Confidence |
|---|---|
| WebSearch snippet | LOW — price may be outdated |
| Ceneo listing | MEDIUM — aggregator, but delays |
| WebFetch of shop page | HIGH — directly confirmed |
| Scrapling fallback of shop page | HIGH — directly confirmed (same as WebFetch) |
| 来源 | 价格可信度 |
|---|---|
| WebSearch片段 | 低——价格可能已过期 |
| Ceneo列表 | 中——聚合平台,但存在延迟 |
| WebFetch商家页面 | 高——直接确认 |
| Scrapling备用方案获取的商家页面 | 高——直接确认(与WebFetch相同) |
Step 5: Round 3 — Warranty and Shipping
步骤5:第三轮 — 保修与运费
Goal
目标
For each shop, establish:
- Warranty type: manufacturer / distributor / seller / unknown
- Shipping costs: courier, Paczkomat, free shipping (threshold)
- Delivery time: 24h, 48h, on order
为每个商家确认:
- 保修类型:厂商/分销商/卖家/未知
- 运费:快递柜、Paczkomat、免运费门槛
- 配送时间:24小时、48小时、预订
Where to Look for Warranty
保修信息查找位置
- Product page — "Gwarancja" (Warranty) or "Informacje dodatkowe" (Additional info) section
- Shop terms of service — search for "gwarancja", "gwarant", "rękojmia"
- Warranty card — PDF or description in specs
- WebSearch: or
site:{shop} gwarancjasite:{shop} regulamin
- 产品页面——"Gwarancja"(保修)或"Informacje dodatkowe"(附加信息)板块
- 商家服务条款——搜索"gwarancja"、"gwarant"、"rękojmia"
- 保修卡——规格中的PDF或描述
- WebSearch: 或
site:{shop} gwarancjasite:{shop} regulamin
Warranty Classification
保修分类
| Indicator | Type |
|---|---|
| "gwarancja producenta", "producent: [brand]" | MANUFACTURER |
| "gwarancja dystrybutora", distributor name as guarantor | DISTRIBUTOR |
| "gwarantem jest [shop name]", "gwarancja [shop]" | SELLER |
| No information | UNKNOWN |
Load if deeper B2B or statutory warranty analysis is needed.
references/warranty-guide.md| 标识 | 类型 |
|---|---|
| "gwarancja producenta"、"producent: [品牌]" | 厂商保修 |
| "gwarancja dystrybutora"、分销商名称作为担保人 | 分销商保修 |
| "gwarantem jest [商家名称]"、"gwarancja [商家]" | 卖家保修 |
| 无信息 | 未知 |
若需更深入的B2B或法定保修分析,请加载。
references/warranty-guide.mdShipping Costs
运费核算
WebFetch the "Dostawa" (Delivery) or "Wysyłka" (Shipping) page for top 10 shops, using the WebFetch with Scrapling Fallback pattern:
WebFetch(shipping_url, "Podaj wszystkie opcje dostawy z cenami:
kurier, Paczkomat, Poczta Polska, odbiór osobisty, darmowa wysyłka (od jakiej kwoty)")On blocked response, follow the auto-escalation protocol (HTTP → validate content → Dynamic → Stealthy) and extract delivery options from the scrapling output.
对前10个商家的"Dostawa"(配送)或"Wysyłka"(发货)页面执行WebFetch,应用WebFetch结合Scrapling备用方案模式:
WebFetch(shipping_url, "请提供所有配送选项及对应价格:快递、Paczkomat、波兰邮政、自提、免运费门槛(满额)")若响应被拦截,遵循自动升级协议(HTTP → 内容验证 → 动态 → 隐身模式)并从scrapling输出中提取配送选项。
Step 6: Round 4 — B2B and Distributors
步骤6:第四轮 — B2B与分销商
Goal
目标
- Identify official distributors of the brand in Poland
- B2B portals — wholesale prices, business terms
- B2B statutory warranty — do shops exclude statutory warranty for businesses
- 识别波兰地区品牌官方分销商
- B2B平台——批发价格、商务条款
- B2B法定保修——商家是否排除企业用户的法定保修
Queries
查询
WebSearch: "{BRAND} dystrybutor Polska"
WebSearch: "{BRAND} importer Polska"
WebSearch: "{BRAND} autoryzowany sprzedawca"
WebSearch: "{PRODUCT}" site:ab.pl OR site:action.pl OR site:also.plWebSearch: "{BRAND} dystrybutor Polska"
WebSearch: "{BRAND} importer Polska"
WebSearch: "{BRAND} autoryzowany sprzedawca"
WebSearch: "{PRODUCT}" site:ab.pl OR site:action.pl OR site:also.plB2B Statutory Warranty Verification
B2B法定保修验证
For top 5 cheapest shops, apply the WebFetch with Scrapling Fallback pattern:
WebFetch(terms_url, "Czy regulamin wyłącza rękojmię dla przedsiębiorców?
Szukaj: Art. 558 KC, wyłączenie rękojmi, przedsiębiorca, firma")On blocked response, follow the auto-escalation protocol (HTTP → validate content → Dynamic → Stealthy) and search the scrapling output for statutory warranty exclusion clauses.
对前5个最低价商家,应用WebFetch结合Scrapling备用方案模式:
WebFetch(terms_url, "服务条款是否排除企业用户的法定保修?请查找:《波兰民法典》第558条、法定保修排除、企业、公司")若响应被拦截,遵循自动升级协议(HTTP → 内容验证 → 动态 → 隐身模式)并从scrapling输出中搜索法定保修排除条款。
Distribution Chain
分销链路
Establish the chain: Manufacturer → PL Importer → Distributor → Reseller → Customer
For each distributor record:
- Company name
- Role (importer / distributor / authorized reseller)
- Website
- Service contact details (if available)
梳理链路:厂商 → 波兰进口商 → 分销商 → 经销商 → 客户
为每个分销商记录:
- 公司名称
- 角色(进口商/分销商/授权经销商)
- 官网
- 服务联系方式(若有)
Step 7: Round 5 — Final Verification
步骤7:第五轮 — 最终验证
Goal
目标
Final verification before synthesis. Verification only, no discovering new shops.
综合分析前的最终验证。仅验证,不发现新商家。
Checklist
核查清单
- Re-check top 3 cheapest — WebFetch again, price may have changed
- Stock — is the product in stock (not "on order")
- Coupons/promotions —
"{PRODUCT}" kupon zniżka promocja - Alternative offers on Allegro — check 2-3 offers from different sellers
- Compare Allegro vs direct shop — price, warranty, safety
- 重新核查前3个最低价——再次WebFetch,价格可能已变动
- 库存——产品是否有现货(非"预订")
- 优惠券/促销——
"{PRODUCT}" kupon zniżka promocja - Allegro上的替代优惠——核查2-3个不同卖家的优惠
- Allegro与直接商家对比——价格、保修、安全性
Budget
预算
Maximum 6-8 WebFetch in this round.
本轮最多执行6-8次WebFetch。
Step 8: Synthesis
步骤8:综合分析
Main Table
主表格
Sort by total price (price + cheapest shipping):
undefined按总价(价格+最低运费)排序:
undefined| Shop | Gross Price | Shipping (cheapest) | Price+Shipping | Mfr. Warranty | Availability
| 商家 | 含税价格 | 最低运费 | 总价 | 厂商保修 | 库存状态
--+--------------------+-------------+---------------------+----------------+-------------------+------------------
1 | shop.pl | 489.00 PLN | InPost courier 12 | 501.00 PLN | YES — service.pl | Yes (1987 pcs)
2 | morele.net | 496.30 PLN | FREE from 399 PLN | 496.30 PLN | YES — "Manufacturer" | Yes (11 pcs)
undefined--+--------------------+-------------+---------------------+----------------+-------------------+------------------
1 | shop.pl | 489.00 PLN | InPost快递 12PLN | 501.00 PLN | 是 — service.pl | 有现货(1987件)
2 | morele.net | 496.30 PLN | 满399PLN免运费 | 496.30 PLN | 是 — "厂商保修" | 有现货(11件)
undefinedWarranty Legend
保修说明
YES = confirmed manufacturer warranty (verification source)
NO = seller's own warranty (not manufacturer)
? = not verified at source
n/a = no data是 = 已确认厂商保修(验证来源)
否 = 卖家自行提供的保修(非厂商保修)
? = 未从源头验证
n/a = 无数据Report Sections
报告板块
-
TOP 3 — with confirmed manufacturer warranty
- Table: Shop, Price incl. shipping, Warranty, Notes
-
Full comparison table
- All found shops, sorted by price+shipping
-
Allegro — offers
- Seller, Price, Manufacturer warranty, Link
-
Warranty — key findings
- Manufacturer policy (global)
- PL Distributor (extended warranty?)
- Service center in Poland
- Manufacturer vs seller warranty (shop list)
- B2B: statutory warranty and its exclusion
-
Official distributors in Poland
- Table: Company, Role, Website
-
Product specifications
- Key technical parameters
-
Purchase recommendation
- For B2C: top 3 with price, warranty, reasoning
- For B2B: top 3 considering statutory warranty and manufacturer warranty
- What to avoid and why
-
TOP 3 — 带确认厂商保修
- 表格:商家、含运费价格、保修、备注
-
完整对比表格
- 所有已发现商家,按总价排序
-
Allegro — 优惠信息
- 卖家、价格、厂商保修、链接
-
保修 — 关键发现
- 厂商政策(全球)
- 波兰分销商(是否提供延保?)
- 波兰地区服务中心
- 厂商保修vs卖家保修(商家列表)
- B2B:法定保修及排除条款
-
波兰官方分销商
- 表格:公司、角色、官网
-
产品规格
- 关键技术参数
-
购买建议
- B2C:前3个选项的价格、保修、推荐理由
- B2B:综合法定保修和厂商保修的前3个选项
- 避坑指南及原因
Confidence Indicators
可信度标识
Label each piece of information:
| Confidence | When |
|---|---|
| [HIGH] | Confirmed via WebFetch or scrapling from shop page |
| [MEDIUM] | From Ceneo/comparator or single source |
| [LOW] | From WebSearch snippets only |
为每条信息添加标识:
| 可信度 | 适用场景 |
|---|---|
| [高] | 通过WebFetch或scrapling从商家页面确认 |
| [中] | 来自Ceneo/对比工具或单一来源 |
| [低] | 仅来自WebSearch片段 |
Step 9: Export
步骤9:导出
Generate files on user request:
根据用户需求生成文件:
TXT
TXT
Fixed-width column file, same format as synthesis tables.
固定宽度列文件,格式与综合分析表格一致。
XLSX
XLSX
Load and generate an Excel spreadsheet with:
references/export-formats.md- Conditional coloring (green=manufacturer warranty, red=seller)
- Filters and frozen headers
- Multiple sheets (comparison, warranty, distributors, specifications)
加载并生成Excel表格,包含:
references/export-formats.md- 条件格式(绿色=厂商保修,红色=卖家保修)
- 筛选器与冻结表头
- 多工作表(对比、保修、分销商、规格)
HTML
HTML
Load and generate standalone HTML with:
references/export-formats.md- Dark theme, embedded CSS
- Tabs for report sections
- Colored badges for warranty types
- Responsive layout
加载并生成独立HTML页面,包含:
references/export-formats.md- 深色主题、内嵌CSS
- 报告板块标签页
- 保修类型彩色标识
- 响应式布局
Step 10: Expert Mode
步骤10:专家模式
After delivering the report, switch to Expert Mode:
- Answer questions from collected data
- No new searches unless user requests
- Compare offers, advise
New search triggers (exit Expert Mode):
- "Search again..."
- "Find more about..."
- "Update the data..."
- "Check also..."
交付报告后,切换至专家模式:
- 基于收集的数据答疑
- 除非用户要求,否则不进行新搜索
- 对比优惠、提供建议
新搜索触发词(退出专家模式):
- "重新搜索..."
- "查找更多关于..."
- "更新数据..."
- "也核查一下..."
Parameters
参数
Always deep mode — 5 rounds, 25-40 shops, 20-30 WebFetch.
| Parameter | Value |
|---|---|
| Rounds | 5 |
| Shops | 25-40 |
| WebFetch | 20-30 |
始终启用深度模式——5轮调研,覆盖25-40家商家,执行20-30次WebFetch。
| 参数 | 数值 |
|---|---|
| 轮次 | 5 |
| 商家数量 | 25-40 |
| WebFetch次数 | 20-30 |
Constraints (DO/DON'T)
约束(需遵守/禁止)
DO:
- Always start from Ceneo.pl — best price comparator in PL
- WebFetch to verify prices — search snippets are unreliable
- Distinguish manufacturer warranty from seller warranty — this is critical
- Include shipping costs in ranking — price without shipping is incomplete
- Search for official brand distributors in Poland
- For B2B: check statutory warranty exclusion in terms of service
- Run WebSearch in parallel (parallel tool calls)
- Cite the source of each piece of information (shop URL)
- Load at startup
references/polish-market.md
DON'T:
- Don't trust snippet prices without WebFetch verification
- Don't skip shipping costs in comparison
- Don't assume "24 months warranty" = manufacturer warranty
- Don't repeat queries from previous rounds
- Don't discover new shops in Round 5 — verification only
- Don't quote more than 125 characters from a single source
- Don't run queries sequentially when they can be parallel
需遵守:
- 始终从Ceneo.pl开始——波兰最佳价格对比工具
- 通过WebFetch验证价格——搜索片段不可靠
- 区分厂商保修与卖家保修——这一点至关重要
- 排名中包含运费——不含运费的价格不完整
- 搜索波兰地区品牌官方分销商
- B2B场景:核查服务条款中的法定保修排除条款
- 并行执行WebSearch(并行工具调用)
- 标注每条信息的来源(商家URL)
- 启动时加载
references/polish-market.md
禁止:
- 未通过WebFetch验证的情况下信任片段价格
- 对比时忽略运费
- 假设"24个月保修"=厂商保修
- 重复前一轮的查询
- 第五轮中发现新商家——仅验证
- 单来源引用超过125字符
- 可并行执行的查询采用串行执行
Error Handling
错误处理
| Error | Resolution |
|---|---|
| WebFetch 403/CAPTCHA/empty | Follow auto-escalation protocol from cli-web-scrape: HTTP tier → validate content → Dynamic tier → Stealthy tier. If scrapling unavailable or all tiers fail, skip shop and label "blocked" |
| Ceneo returns no results | Search directly in shops from polish-market.md |
| Allegro blocks scraping | Use WebSearch |
| No price on page | Label "n/a", skip in ranking |
| Conflicting prices (snippet vs WebFetch) | Always trust WebFetch (or scrapling if WebFetch was blocked) |
| 错误 | 解决方案 |
|---|---|
| WebFetch 403/验证码/空响应 | 遵循cli-web-scrape的自动升级协议:HTTP层 → 内容验证 → 动态层 → 隐身层。若未安装scrapling或所有层级均失败,跳过该商家并标记为"blocked" |
| Ceneo无结果 | 直接搜索polish-market.md中的商家 |
| Allegro拦截爬取 | 使用WebSearch |
| 页面无价格 | 标记为"n/a",不纳入排名 |
| 价格冲突(片段vs WebFetch) | 始终信任WebFetch(若WebFetch被拦截则信任scrapling) |
References
参考资料
- — Shop and comparator database (loaded ALWAYS)
references/polish-market.md - — Statutory vs voluntary warranty, Polish law, B2B checklist
references/warranty-guide.md - — TXT/XLSX/HTML templates with generation instructions
references/export-formats.md
- — 商家与对比工具数据库(必须加载)
references/polish-market.md - — 法定保修vs自愿保修、波兰法律、B2B核查清单
references/warranty-guide.md - — TXT/XLSX/HTML模板及生成说明
references/export-formats.md