关于 hotel-finder
Camino AI 地理位置情报套件中的住宿搜索技能,面向查找地标、会场或街区附近住宿的用户。它支持自然语言查询,并对结果进行 AI 排序和摘要。
主要功能
- 01搜索酒店、旅舍及其他住宿
- 02按地标或街区查找
- 03支持坐标和搜索半径
- 04按相关性排序并生成摘要
适用场景
- 01查找会议场馆附近的酒店
- 02搜索城市中的经济型旅舍
- 03查找机场周边住宿
- 04比较目的地附近的住宿选项
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ barneyjm/ camino-skills --skill hotel-finder安装后在 Claude Code 中输入/hotel-finder确认已加载。
附带文件scripts/hotel-finder.sh
详细介绍
安装
配套技能:这是 Camino AI 位置智能套件的一部分。安装所有可用技能(query、places、relationship、context、route、journey、real-estate、hotel-finder、ev-charger、school-finder、parking-finder、fitness-finder、safety-checker、travel-planner),以获得全面覆盖。
# Install all skills from repo
npx skills add https://github.com/barneyjm/camino-skills
# Or install specific skills
npx skills add https://github.com/barneyjm/camino-skills --skill hotel-finder
通过 clawhub:
npx clawhub@latest install hotel-finder
# or: pnpm dlx clawhub@latest install hotel-finder
# or: bunx clawhub@latest install hotel-finder
酒店查找器
搜索地标、会议场地或街区附近的酒店、旅舍和住宿。结果会由 AI 按相关性排序,并附有人类可读的摘要。
设置
这些技能会调用 curl,并通过 CAMINO_API_KEY 环境变量进行身份验证。请前往 https://app.getcamino.ai/skills/activate 注册,即可每月免费调用 100 次并获取 API 密钥。
将密钥添加到 Claude Code:
添加到 ~/.claude/settings.json:
{
"env": {
"CAMINO_API_KEY": "your-api-key-here"
}
}
重启 Claude Code。
替代方案——通过 x402 按请求付费: Camino 的付费端点也接受来自任何支持 x402 的客户端、以 Base 上的 USDC 支付的 HTTP 402 付款(每次请求 0.001 美元),无需注册或 API 密钥。这些技能不会使用此方式;该方式适用于原生支持 x402 的 Agent 和客户端。
用法
通过 Shell 脚本
# Search for hotels near a landmark
./scripts/hotel-finder.sh '{"query": "hotels near the Eiffel Tower", "limit": 5}'
# Search with specific coordinates
./scripts/hotel-finder.sh '{"query": "boutique hotels", "lat": 40.7589, "lon": -73.9851, "radius": 1000}'
# Search for hostels in a city
./scripts/hotel-finder.sh '{"query": "hostels in Barcelona", "limit": 10}'
通过 curl
curl -H "X-API-Key: $CAMINO_API_KEY" \
"https://api.getcamino.ai/query?query=hotels+near+the+Eiffel+Tower&limit=5&rank=true&answer=true"
参数
| 参数 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| query | string | 是 | - | 自然语言查询(例如,“埃菲尔铁塔附近的酒店”) |
| lat | float | 否 | - | 搜索中心的纬度。对于已知地点,如果省略,AI 会生成该值。 |
| lon | float | 否 | - | 搜索中心的经度。对于已知地点,如果省略,AI 会生成该值。 |
| radius | int | 否 | 2000 | 搜索半径,单位为米 |
| limit | int | 否 | 10 | 最多返回的结果数(1-100) |
响应格式
{
"query": "hotels near the Eiffel Tower",
"results": [
{
"name": "Hotel du Champ de Mars",
"lat": 48.8555,
"lon": 2.3005,
"type": "hotel",
"distance_m": 350,
"relevance_score": 0.92,
"address": "..."
}
],
"ai_ranked": true,
"pagination": {
"total_results": 15,
"limit": 5,
"offset": 0,
"has_more": true
},
"answer": "I found several hotels near the Eiffel Tower. The closest is..."
}
示例
会议场地附近的酒店
./scripts/hotel-finder.sh '{"query": "hotels near Moscone Center San Francisco", "limit": 10}'
城市中的经济型旅舍
./scripts/hotel-finder.sh '{"query": "hostels in Amsterdam", "radius": 3000, "limit": 15}'
机场附近的住宿
./scripts/hotel-finder.sh '{"query": "hotels near JFK airport", "radius": 5000}'
最佳实践
- 在查询中包含地标或街区名称,以便在不提供坐标时获得最佳结果
- 在郊区或机场搜索时使用较大的半径(3000-5000 米)
- 在人口密集的市中心使用较小的半径(500-1000 米)
- 与
route技能结合使用,计算从酒店到目的地的出行时间 - 与
context技能结合使用,全面评估每家酒店周边的街区 - AI 排序会优先考虑与查询意图相关的位置和相关性