Hotel Booking Agent — Data skill for Claude Code
Conversational hotel booking agent: Claude (tool use) + SQLite room database.
How to install Hotel Booking Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ShreySomwanshi/hotel-booking-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hotel Booking Agent does
Conversational hotel booking agent: Claude (tool use) + SQLite room database. Checks availability, confirms exact matches, suggests alternatives, and handles edge cases like sold-out dates and invalid input.
Alternatives in Data
- Cost Of Remembering — The Cost of Remembering: filesystem memory matches long-context accuracy on LongMemEval while reading 97% fewe 32 ★
- Feature Data Flow — Build a full backend-backed feature (DTOs, entities, use cases, state, UI) 24 ★
- Franken Snowflake — Clean-room, Rust-first, Asupersync-native Snowflake SQL API connector built for coding agents 6 ★
README
Hotel Aurora – Booking Agent
A conversational booking assistant for one hotel. Claude handles the dialogue; a SQLite database and a set of tools handle the facts (availability, prices, bookings). The LLM never invents rooms or prices.
Files
| File | Role |
|---|---|
db.py |
Schema, seed data (22 rooms + date-range bookings), availability check, suggestion logic, booking, rate card |
tools.py |
Tool schemas shown to the LLM + dispatch() that runs them; mock email (writes to outbox/) |
agent.py |
Chat loop, system prompt, tool-use loop |
tests.py |
Offline tests of every scenario (no API key needed) |
Architecture
Guest ⇄ agent.py (chat loop) ⇄ Claude API ── tool_use ──▶ tools.dispatch() ──▶ db.py ──▶ SQLite (hotel.db)
◀─────── tool_result (JSON) ────────────────┘
└─▶ outbox/BK-XXXX.txt (mock email)
**How the LLM and the tools interact**
agent.pyprints a fixed greeting (the exact question from the brief) and seeds it into the history.- Each guest message goes to Claude along with the system prompt and four tool definitions.
- Claude extracts the slots (dates, bed, breakfast, guests) and emits a
check_availabilitytool call. The system prompt requires this on every room request or preference change, so a mid-chat change ("actually, double with breakfast") simply triggers a new call with fresh arguments. tools.dispatch()runs the call against SQLite and returns JSON with astatus. The loop feeds it back and Claude writes the reply from that data only:
status |
Meaning | Agent behaviour |
|---|---|---|
exact |
bed + breakfast + capacity match | Present room no., type, price/night, breakfast, stay total; ask for name + email |
alternatives |
no exact match, but other rooms are free | Offer the 1–2 closest with a why_suggested reason; guest picks or declines |
none |
nothing free |
Related Skills
Env Doctor
Validate runtime environment — plugin data dir, hook locations, tool availability, and fallback behaviour
Hera
Run as Hera (PRD alignment verifier — confirms the implementation covers all acceptance criteria) inline in th
AI Visibility Framework
An open source Agentic Engine Optimization (AEO) and Generative Engine Optimization (GEO) framework. Engineere
Claude Code For Marketers
Workshop pack: Claude Code for marketers — Edge of Search 2026 masterclass with Brogan Renshaw. Sample data an
Nickkk Skills
Agent skills for Claude Code, tested in OpenAI Codex too: six that make something new — a novel plan, a data t
Cluster Fus
Re-buckets the whole FU backlog (STACK.md phase-local + Standing-FUs.md) by type, surfaces batch-ready cluster
Related Agents
Travel Hacker
Plans trips with points, miles, awards, and cash. Use for any travel research, flight comparison, hotel bookin
Deal Search Engineer
Use for anything touching hotel/terme deal search — integrating a data source (SerpApi Google Hotels, Booking/
Resy Agent
Resy-specific booking agent. Handles venue search, availability, book, snipe, list, and cancel via the restaur