获取一嗨租车的租车价格
by @tengjiaozhai
Use when the user needs a China domestic rental-car reference price, especially for same-day or holiday travel where train-station or airport store choice ma...
clawhub install china-rental-price📖 About This Skill
name: china-rental-price description: Use when the user needs a China domestic rental-car reference price, especially for same-day or holiday travel where train-station or airport store choice matters and OneHai peak-period minimum-rental rules can be mistaken for zero inventory. This skill uses the user's logged-in Google Chrome session on macOS to query OneHai, return reference prices and booking URLs, and distinguish policy restrictions from true no-car results.
China Rental Price
Overview
This skill is for China domestic self-drive rental price checks in travel-planning conversations. The currently reliable path is OneHai via the user's logged-in Google Chrome session on macOS.
When To Use
Preconditions
查看 > 开发者 > 允许 Apple 事件中的 JavaScript enabled.osascript and tesseract.Workflow
1. Prefer scene-based store targeting:
- High-speed rail or train arrival: train-station
- Flight arrival: airport
- Only use citywide selection when the user did not specify a transit scene.
2. If the user knows the exact store, pass --pickup-location and --dropoff-location.
3. Run scripts/query-onehai-live-chrome.mjs.
4. Interpret the result before answering:
- bookingRestriction means a policy limit such as a holiday minimum-rental rule. Do not describe it as ordinary sellout.
- priceMin and vehicleSamples are reference prices captured at query time, not a guaranteed final checkout price.
- availableCars = 0 without bookingRestriction is the closer match to true no inventory at that store and time.
Commands
City plus transit scene:
node /Users/shenmingjie/.codex/skills/china-rental-price/scripts/query-onehai-live-chrome.mjs \
--pickup-city 宣城 \
--pickup-scene train-station \
--pickup-datetime 2026-05-01T15:30 \
--dropoff-datetime 2026-05-04T10:30
Exact store:
node /Users/shenmingjie/.codex/skills/china-rental-price/scripts/query-onehai-live-chrome.mjs \
--pickup-city 宣城 \
--pickup-location "泾县高铁站自助点" \
--dropoff-city 宣城 \
--dropoff-location "泾县高铁站自助点" \
--pickup-datetime 2026-05-01T10:00 \
--dropoff-datetime 2026-05-04T10:00
Output Shape
The script prints JSON with fields such as:
platformstatuscapturedAtbookingUrlselectedStorepriceMinpriceTotalIfAvailableavailableCarsvehicleSamplesbookingRestrictionwarningsResponse Guidance
参考实时价.