Ctrip eBooking Hotel Merchant Data Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @org-rdj3h8zv/ctrip-ebk-skill according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Hotel merchants reviewing Ctrip eBooking metrics such as room nights, revenue, traffic, and market trends often have to open the backend, copy fields, and organize tables manually. If a model answers from memory, operational figures can be wrong.
How It Works
The skill wraps the query logic in scripts/ebk_query.js and forces a real-time API call on trigger, showing only the script's result. Key steps include:
- Reading the token from process.env.EBK_API_KEY or the current turn, reporting only missing/invalid without echoing it
- Structuring the script into CONFIG, AUTH, API, error handling, RENDERER, and MAIN so timeout, retry, and business error-code handling can be extended
- Organizing output by module, using cards for single metrics and line charts for multi-day trends
Boundaries
It is suited to viewing authorized EBK operational data, not offline estimation, and does not forward data to third parties. For 401/403, 429, network timeouts, or empty results, retry as prompted, replace the token, or contact EBK support.
Use Cases
- Review yesterday's room nights, revenue, and traffic rank before the morning meeting.
- Compare rentalRate and marketHeats trends with market averages to judge the last 7 days.
- Re-fetch an expired EBK token, set it as an environment variable, and continue querying.
- Structure dataItemRes by title, value, compareValue, and rank into a card-style preview.
Best For
- Hotel operations staff who need daily room-night, revenue, and traffic summaries.
- Merchant data analysts who compare market averages and ranks to track metric shifts.
- Technical support engineers who troubleshoot EBK token, 429 rate-limit, or timeout failures.
- Hotel owners who want core metrics quickly without manually copying backend reports.
Related Skills
Guides household property decisions by analyzing budget, debt, building age, and market conditions, then produces structured buying advice and a report.
Routes business questions to 35 management consulting tools, runs methods such as SWOT, Porter's Five Forces, BCG, and KPI/BSC, and returns conclusions, evidence, actions, and confidence.
Guides non-experts through conversational product discovery to clarify ideas, costs, boundaries, and risks into a structured PRD.
Search Taobao for high-value products by budget, type, or brand, find hidden coupons, and generate a Taobao purchase link after confirmation.