{"id":116301,"plugin_id":"plugin_asdk_app_6af4856517c481918e61c8abc3eac380","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:16:41.698Z","digest":"28fdf77cc4267448ffb8b2f1396c7e67eb5959e9df5700035a2ac5956eacc33f","against":null,"payload":{"description":"Answer questions about a hotel connected to HotelNerds AI Suite - availability and rates for a stay, booking statistics, rate parity against OTAs, direct bookings and popup campaigns, competitors, audience, demand, reviews, shop and quote sales. Use whenever the user asks how their property is doing, about prices, bookings, channels, guests or markets, or names a HotelNerds tool.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":224}],"name":"hotel-data","skill_md_contents":"---\nname: hotel-data\ndescription: Answer questions about a hotel connected to HotelNerds AI Suite - availability and rates for a stay, booking statistics, rate parity against OTAs, direct bookings and popup campaigns, competitors, audience, demand, reviews, shop and quote sales. Use whenever the user asks how their property is doing, about prices, bookings, channels, guests or markets, or names a HotelNerds tool.\n---\n\n# Hotel data with HotelNerds AI Suite\n\nThe HotelNerds AI Suite connector is bound to one property: every tool answers for the property the user connected with. Never ask for a hotel id; the `hotel_id` parameters exist for other contexts and must be left out.\n\n## Pick the tool from the question\n\n| The user asks about | Tool | Notes |\n|---|---|---|\n| What can be booked for given dates, prices, offers, board, policies | `hrt_get_availability` | `checkin` (YYYY-MM-DD) and `nights` are required. Each room and offer carries a `booking_url` ready for the guest. |\n| Real booking numbers: rooms sold, revenue, room nights, average price, guest countries, offers and discounts used, rate plans, booking devices | `hrt_stats` | One `tipo` per call: `camere`, `nazioni`, `stayopt`, `roomopt`, `offerte`, `discount`, `listini`, `device`. `period_type` is `booking` (when the booking was made, default) or `stay` (when the guest stays). `device` always covers the last 30 days. |\n| Rate parity against OTAs, which OTA undercuts the site, cheapest channel | `hrt_market_data` | `service`: `price_parity`, `disparity_detail`, `cheapest_channel`. |\n| Direct bookings from the booking engine and the share recovered by popups | `hrt_market_data` | `service`: `popup_conversions`, `popups` (per campaign). |\n| Competitors and their prices | `hrt_market_data` | `service`: `competitors`, `competitors_prices` (raw rows, use a narrow date range). |\n| Website visitors and search behaviour | `hrt_market_data` or `aisell_stats` | `audience_devices`, `audience_countries`, `audience_timeline`, `demand_length_of_stay`, `demand_party_mix` (market data); `searches` is raw rows. |\n| AI.SELL popups, HoteliHer widget, booking-engine conversions, reviews, price comparison, upsell | `aisell_stats` | `service`: `popup_summary`, `popup_timeline`, `conversions_summary`, `conversions_by_product`, `conversions_timeline`, `reviews_summary`, `price_comparison_summary`, `upsell_summary`, `demand_rooms`, audience services. |\n| Shop sales (extras, packages) and quotes sent from the CRM | `epleasure_stats` | `service`: `shop_summary`, `shop_timeline`, `shop_top_products`, `shop_categories`, `shop_customers`, `crm_summary`, `crm_timeline`, `crm_rejected`, `crm_top_clients`, `crm_audience`. |\n| Room types and active offers as configured | `her_rooms`, `her_offers` | Labels come in one column per language; use `labels_legend` in the result to map `VALUE_*` columns to languages. |\n| A reasoned analysis of a period with recommendations | `analyze_sales` | Saves the analysis in the property's history. Prefer the read-only tools when the user only wants numbers. |\n| Translating a room description, offer or email | `translate_text` | `tone`: `formal`, `informal`, `marketing`, `neutral`. |\n| The market-data accounts reachable by the property | `hrt_list_hotels` | Only useful when an account manages several hotels. |\n\nFor a broad question (\"how is the hotel doing?\") combine a few calls rather than one: for example `price_parity` and `popup_conversions` from `hrt_market_data`, plus `hrt_stats` with `tipo=camere` for the same period.\n\n## Dates and periods\n\n- Dates are always `YYYY-MM-DD`. Turn relative periods (\"last month\", \"this summer\") into explicit dates before calling, and say which dates you used.\n- When `date_from` and `date_to` are omitted, the market-data, aisell and e-pleasure tools use the last 30 days. Say so in the answer.\n- `hrt_stats` needs both dates for every `tipo` except `device`.\n\n## Reading the numbers correctly\n\n- **Subsets are not additive.** In `popup_conversions`, `hrt_attributed` is part of `direct_total`. In `conversions_summary`, `prenotazioni_aisell` is part of `prenotazioni_totali`. Never add a subset to its total.\n- **Parity vocabulary.** HER is the price on the hotel's own website. `advantage` means the website is the cheapest (good); `disparity` means an OTA beats the website (a problem to fix). A negative `delta_medio_vs_sito` means the OTA is cheaper than the website.\n- **Percentages are already 0-100** and relative to the returned set. Do not multiply them again or add them across different rankings.\n- **Shop and CRM are separate.** In `epleasure_stats`, do not add shop revenue to CRM quote revenue.\n- **Raw datasets** (`searches`, `competitors_prices`): compute the aggregates yourself and report them; do not paste the rows.\n- **`audience_timeline.by_hour`** is a 24-item array whose index is the hour of the day, not a day.\n- **Zero or empty means no events** in the period, not a failure. If a figure is missing, say it is missing; never estimate it.\n- Amounts are gross and in EUR. When comparing prices, always state who is cheaper and by how much.\n\n## Answering\n\n- Lead with the answer in business terms (what is good, what needs action), then the supporting figures and the period.\n- Keep guest personal data out of the answer unless the user explicitly asks for it: `shop_customers`, `crm_top_clients` and `crm_rejected` include names and contact details.\n- `hrt_get_availability` returns booking links: share them when the user wants to book or send a quote, never invent prices or availability.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}