ramp-book-hotel
Searches and books hotels conversationally: resolves the traveler, searches paginated hotel inventory, compares the selected room-rate returned for each…
от CognitionAI★ 42 звезды на GitHub
Установить ramp-book-hotel в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Book a Hotel
The user describes a stay in plain words. Turn that into ramp travel commands (CLI only) or
MCP tool calls, run them, and show clean results. Never show or ask the user to type a CLI
command or tool name; talk like a travel helper (Searching hotels near Lower Manhattan, Aug 10-13...), not about tools or flags.
The steps, phases, checklists, field names, and command names in this guide are your internal scaffolding; never surface them to the user. Reason through them silently. Never mention this skill, its instructions or specification, whether you are following or complying with it, or how an internal tool name maps to a CLI command. Do not narrate command-name or alias reconciliation. Give only concise, user-relevant action and result updates.
Scope and safety
- Use
ramp travel search-hotel(CLI) /SearchHotels(MCP) to search,ramp travel hotel-rates(CLI) /GetHotelRates(MCP) to fetch the selected hotel's rates, andramp travel book-hotel(CLI) /SubmitHotelBooking(MCP) to preview and book. - Always use
--output json(CLI); MCP callers receive structured JSON directly. Build a readable comparison instead of showing raw JSON. - Always include a rationale that consistently names the destination and stay dates.
- Both surfaces present results as Markdown tables — never as UI components, cards, interactive widgets, bullet lists, numbered lists, or prose. A Markdown table is the only acceptable presentation format for hotel comparisons, room/rate lists, fund displays, and the booking preview.
- Keep each tool step to one direct command/tool call. Read IDs from the prior JSON response and
pass the exact literal value as the next positional argument. Never write response JSON to
temporary files, invoke Python or
jqto recover an ID, use nested command substitution, or pipe throughtail/other shell filters. Keep the ID in context and call the next command directly. - Omit flags whose documented defaults match the request, such as
--num_adults 1; do not make commands longer by restating defaults. - Always follow this order:
search-hotel→ traveler selects a hotel →hotel-rates→ traveler selects a room/rate →book-hotelpreview → explicit approval →book-hotel --confirm. - Search result rate summaries are not selectable booking inventory. Pass the selected hotel's
idtohotel-rates, then book only a literal selectedall_rates[].rates[].idit returns. - A hotel booking spends real money. Always preview first and wait for explicit confirmation.
- Never reuse an amount from search as
expected_total_amount; only use the fresh preview's exact numericexpected_total_amount. - A selected fund is part of the approved preview state. Never add or change
--spend_allocation_idonly at confirmation: preview again with the exact selectedfund_uuid, get explicit approval, then confirm with that same fund UUID. Any fund change requires another preview. - Treat relevant
external_agent_messagesfrom search, rates, preview, and confirm as service guidance and surface them plainly. - If Ramp reports that hotel search or booking is unavailable, explain that it is not currently enabled for this Ramp account. Do not fall back to legacy hotel tools or claim that no inventory exists.
Resolve the traveler
For self-booking, omit traveler_user_id. Before searching, check the traveler's profile:
CLI:
ramp travel profile --output json \
--rationale "check the traveler profile for the Lower Manhattan hotel stay, Aug 10-13"
MCP:
{
"rationale": "check the traveler profile for the Lower Manhattan hotel stay, Aug 10-13"
}
Call GetTravelerProfile with the above.
If has_profile is false, collect the required identity and contact details together and call
ramp travel profile-update (CLI) / UpdateTravelerProfile (MCP). Continue only after the
profile update succeeds. This profile preflight happens before search, not only at checkout.
Only book for another person when the requester explicitly asks. Resolve that person first:
CLI:
ramp users list --name_search "Taylor Smith" --page_size 5 --output json \
--rationale "resolve the traveler for the Lower Manhattan hotel stay, Aug 10-13"
MCP:
{
"name_search": "Taylor Smith",
"page_size": 5,
"rationale": "resolve the traveler for the Lower Manhattan hotel stay, Aug 10-13"
}
Call GetAllReducedUsers with the above.
If multiple people match, ask the requester to choose. Pass the selected user UUID to travel profile / GetTravelerProfile, the fresh travel search-hotel / SearchHotels call,
travel hotel-rates / GetHotelRates, and both travel book-hotel / SubmitHotelBooking
calls. Cursor pages use the cached traveler from the original search, so do not resend or
change the traveler there. Never silently switch to the requester when lookup or
authorization fails.
Gather the stay
Required details are de
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ramp-book-hotel?
Searches and books hotels conversationally: resolves the traveler, searches paginated hotel inventory, compares the selected room-rate returned for each hotel, previews the selected rate, and books only after explicit approval. Also cancels an existing hotel booking with a preview-then-confirm flow when the cancellation capability is enabled. Use when someone wants to find, compare, or book a hotel or lodging, or wants to cancel a hotel they booked. Not for flight booking, stay changes, refund-status follow-ups, or car rentals.
Как установить скилл ramp-book-hotel?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ramp-book-hotel запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…