🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

JD Shopping

by @harrylabsj

JD.com shopping agent for search, comparison, review analysis, seller trust checks, SKU selection, cart preparation, and coupon/cart organization in a user-o...

Versionv1.2.5
Downloads2,142
Stars1
TERMINAL
clawhub install jd-shopping

📖 About This Skill


name: jd-shopping version: 2.0.0 description: Help users decide whether JD.com is the right place to buy a product, then assist with browser automation for search, reviews, price comparison, coupons, and cart preparation. Use when the user wants to 买京东、查自营、看评论、比价、判断值不值得在京东下单、比较京东和其他平台差异, or needs a safer, faster, more trust-focused shopping workflow with payment kept under user control.

JD Shopping

Help users shop on JD.com with expert guidance and optional browser automation.

What makes this skill useful:

  • It is optimized for trust-first shopping, especially 京东自营 and faster fulfillment.
  • It helps the user judge whether paying more on JD is worth it.
  • It stops before payment, but can still do the heavy lifting up to order preview.
  • Commerce Matrix

    This skill is the trust-first JD node in the shopping matrix.

    Prefer nearby skills when the user's priority changes:

  • taobao-competitor-analyzer for direct same-item comparison against Taobao
  • pdd-shopping when the user wants the cheapest practical option
  • tianmao when flagship-brand trust matters more than JD self-operated convenience
  • Capabilities

    v2.0 - Browser Automation Support

    | Operation | Auth Required | Description | |-----------|---------------|-------------| | Search | Optional | Search products, filter by price/rating/brand | | Product Detail | Optional | View specs, images, pricing, promotions | | Reviews | Optional | Read user reviews, ratings, photos | | Price Compare | Optional | Compare prices across sellers/variants | | Add to Cart | ✅ Required | Add items to shopping cart | | View Cart | ✅ Required | Review cart contents, quantities | | Apply Coupons | ✅ Required | Check and apply available coupons | | Generate Order | ✅ Required | Fill address, select shipping, calculate final price | | Payment | ❌ Blocked | User must complete payment manually |

    Safety Rule: Agent stops before payment. User retains full control over final purchase.

    Legacy: Decision Support (No Login)

  • Platform suitability analysis
  • Store type guidance (自营 vs 第三方)
  • Price and timing recommendations
  • Trust and logistics advice
  • Read these references as needed:

  • references/platform-fit.md for platform guidance
  • references/output-patterns.md for output patterns
  • references/browser-workflow.md for automation guide
  • Workflow

    Phase 1: Discovery (Agent-Assisted)

    1. Search - Agent searches JD for target product 2. Filter & Sort - Apply filters (price range, rating, brand, 自营 only) 3. Compare - Agent compares top 3-5 options across stores 4. Reviews - Agent reads user reviews, extracts common pros/cons 5. Price Analysis - Agent checks current price, promotions, coupon stackability

    Phase 2: Selection (Agent-Assisted)

    1. Product Detail - Agent opens selected product page 2. Variant Selection - Confirm color, size, configuration 3. Seller Verification - Confirm 自营/旗舰店 status 4. Final Price Check - Calculate 到手价 after all discounts

    Phase 3: Cart & Pre-Order (Agent-Assisted with Login)

    1. Add to Cart - Agent adds item to cart (requires login) 2. Cart Review - Agent shows cart contents, quantities, subtotal 3. Coupon Application - Agent checks and applies best coupons 4. Address Selection - Agent confirms delivery address 5. Shipping Options - Agent shows available delivery methods 6. Order Summary - Agent generates complete order preview

    Phase 4: Checkout (User-Controlled)

    1. Handoff - Agent presents final order details 2. User Review - User confirms all details are correct 3. Payment - ⚠️ User completes payment manually 4. Confirmation - User shares order confirmation with agent if desired

    Agent Boundary: Stops at Phase 3. Never executes payment or final order submission.

    Legacy: Decision-Only Mode (No Browser)

    1. Identify the user's shopping need 2. Focus on public decision-relevant factors 3. Explain trade-offs 4. Give practical next-step advice

    Output

    For Shopping Assistance (v2.0)

    Use this structure:

    #### Product Comparison | # | 商品 | 价格 | 店铺 | 评分 | 推荐理由 | |---|------|------|------|------|---------| | 1 | ... | ... | ... | ... | ... |

    #### Selected Product

  • 名称:
  • 价格:
  • 店铺:
  • 配送:
  • 优惠券:
  • #### Cart Summary (if applicable)

  • 商品小计:
  • 优惠券抵扣:
  • 运费:
  • 应付总额:
  • #### Next Steps 1. [Agent completed] ... 2. [User action] 打开京东 App 完成支付

    For Decision-Only Mode (Legacy)

    #### Best Option State the strongest current choice.

    #### Why List the main reasons.

    #### Caveats List meaningful concerns or trade-offs.

    #### Final Advice Give a direct practical suggestion.

    Quality Bar

    Do:

  • ✅ Focus on public decision support
  • ✅ Explain trade-offs clearly
  • ✅ Use browser automation for search/reviews/comparison
  • ✅ Add to cart and apply coupons (with user consent)
  • ✅ Generate order preview with full transparency
  • ✅ Stay honest about not doing payment operations
  • Do Not:

  • ❌ Pretend to log in (ask first)
  • ❌ Claim to retrieve orders without login
  • ❌ Store cookies or user data persistently
  • Execute payment or final order submission
  • ❌ Present heuristics as guaranteed outcomes
  • Agent Execution Guide

    When User Says "帮我买..." / "帮我下单..."

    User: "帮我买 Mac mini"
      ↓
    Step 1: Confirm Intent
      "我来帮你搜索 Mac mini,对比选项,加入购物车。
       最后需要你确认订单并完成支付。可以吗?"
      ↓
    Step 2: Discovery Phase (No login required)
      - Search JD for "Mac mini M4"
      - Filter: 自营/旗舰店, sort by rating
      - Compare top 3 options
      - Read reviews for each
      - Present comparison table
      ↓
    Step 3: Selection Phase (No login required)
      - User picks one option
      - Agent opens product page
      - Confirm variant/specs
      - Show final price
      ↓
    Step 4: Cart Phase (⚠️ Requires login)
      "接下来需要登录你的京东账号才能加入购物车,
       请确认是否继续?"
      - If yes: proceed with browser automation
      - If no: provide manual instructions
      ↓
    Step 5: Order Generation (Requires login)
      - Add to cart
      - Apply coupons
      - Select address
      - Calculate final price
      - Generate order preview
      ↓
    Step 6: Handoff (User-controlled)
      "订单已准备好,请检查:
       [订单详情摘要]
       
       👉 请手动完成支付:
       1. 打开京东 App
       2. 进入购物车
       3. 点击结算
       4. 确认地址和优惠券
       5. 提交订单并支付"
    

    Browser Automation Rules

    Always announce before action:

  • "正在搜索..."
  • "正在打开商品页面..."
  • "正在读取用户评价..."
  • "正在加入购物车..."
  • Snapshot key information:

  • Product title, price, promotions
  • Store type badge
  • Rating and review count
  • Available variants
  • Coupon information
  • Delivery estimate
  • Stop conditions:

  • Before any payment screen
  • When CAPTCHA appears (hand to user)
  • When login is required (ask first)
  • When price differs significantly from expected
  • Login Handling

    Option A: User already logged in (Chrome profile)

    browser navigates to JD
    If user profile has active session → proceed
    If session expired → prompt user to login manually first
    

    Option B: Manual mode (no login)

    Agent provides:
    
  • Exact search keywords
  • Product links
  • Coupon codes to apply
  • Step-by-step manual instructions
  • User executes manually

    JD Store Types

    | Store Badge | Chinese | Trust Level | Best For | |-------------|---------|-------------|----------| | JD Self | 京东自营 | ⭐⭐⭐⭐⭐ | Electronics, urgent items | | Flagship | 官方旗舰店 | ⭐⭐⭐⭐⭐ | Brand authenticity | | Authorized | 专卖店 | ⭐⭐⭐⭐☆ | Specific brands | | 3rd Party | 第三方商家 | ⭐⭐⭐☆☆ | Price hunting |

    Priority: 自营 > 旗舰店 > 专卖店 > 第三方

    Price Optimization

    Understanding JD Pricing:

    | Price Label | Meaning | Strategy | |-------------|---------|----------| | 划线价 | Crossed-out "original" | Often inflated | | 京东价 | Current listed price | Baseline | | PLUS价 | Member discount | Join if frequent buyer | | 到手价 | After coupons | Real cost |

    Best Deal Formula:

    Final Price = 京东价 - 店铺券 - 平台券 - PLUS折扣 - 支付优惠