Pp Hotel Goat
mvanhorn/printing-press-library
Free Google Hotels CLI — per-hotel data with deep booking links, agent-native JSON, and local wishlist.
分贝通酒店预定助手,实时查询搜索酒店、展示酒店列表、查询酒店房型、展示房型产品和报价、预定酒店、查看订单、取消订单、查看酒店基础信息和酒店评论信息。
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hotels .claude/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .claude/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotelsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/hotels .agents/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .agents/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/hotels .cursor/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .cursor/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/hotels--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/hotels .gemini/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .gemini/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/hotels .github/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .github/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills fb-hotel-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/hotels .opencode/skills/fb-hotel-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fb-hotel-skill" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/hotels into .opencode/skills/fb-hotel-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fb-hotel-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fb-hotel-skill分贝通酒店预定助手,实时查询搜索酒店、展示酒店列表、查询酒店房型、展示房型产品和报价、预定酒店、查看订单、取消订单、查看酒店基础信息和酒店评论信息。
Fb Hotel Skill is an agent skill from LeoYeAI/openclaw-master-skills. 分贝通酒店预定助手,实时查询搜索酒店、展示酒店列表、查询酒店房型、展示房型产品和报价、预定酒店、查看订单、取消订单、查看酒店基础信息和酒店评论信息。
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `_meta.json`, `assets/__init__.py` and `references/API_SPEC.md`).
The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 4 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
app-gate.fenbeitong.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fb Hotel Skill loads about 3.3k tokens when it runs, and up to ~6.9k if it reads all its reference files. Until then it costs about 22 tokens; SKILL.md has 462 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 462 words, ~3,299 tokens.
.claude/skills/fb-hotel-skill/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.分贝通酒店预定助手,实时查询搜索酒店、展示酒店列表、查询酒店房型、展示房型产品和报价、预定酒店、查看订单、取消订单、查看酒店基础信息和酒店评论信息。
重要:使用任何功能前,用户必须先完成鉴权流程。鉴权成功后获得的 identity_code(access-token)会自动保存在 ~/.fbt-auth.json 文件中,新会话会自动沿用。
用户回复: 分贝通登录
AI: 请输入您的手机号以接收验证码(例如:13800138000)
用户输入: 13800138000
AI: ✅ 验证码已发送到 138****8000,请在5分钟内输入验证码API调用:
from scripts.fb_hotel_api import send_verification_code
result = send_verification_code("13800138000")
# 成功响应: {"code": 0, "msg": "success", "data": true}用户输入: 1234
AI: 🎉 认证成功!身份编码已保存到 ~/.fbt-auth.json,有效期90天
现在可以使用分贝通企业接口了API调用:
from scripts.fb_hotel_api import verify_and_get_token
success, result = verify_and_get_token("13800138000", "1234")
if success:
access_token = result # fbsk-xxx
# token 已自动保存到 ~/.fbt-auth.json
else:
print(f"验证失败: {result}")后续所有 API 调用会自动从 ~/.fbt-auth.json 读取 token:
from scripts.fb_hotel_api import FbHotelApi
# 无需传入 token,自动从文件读取
api = FbHotelApi()
result = api.search_hotel_list(city_name="北京市", keywords="国贸")| 文件 | 路径 | 说明 |
|---|---|---|
| 鉴权文件 | ~/.fbt-auth.json | 保存 identity_code 和手机号 |
文件格式:
{
"identity_code": "fbsk-2db251f6c8d74ce69ae3dcb82ed1055b",
"mobile": "138****8000",
"created_at": "2026-03-25T09:48:00",
"updated_at": "2026-03-25T09:48:00"
}from scripts.fb_hotel_api import (
save_auth_token, # 保存 token
load_auth_token, # 读取 token
get_auth_info, # 获取完整认证信息
clear_auth_token # 清除认证信息
)
# 保存 token
save_auth_token("fbsk-xxx", "13800138000")
# 读取 token
token = load_auth_token()
# 获取完整信息
info = get_auth_info() # {"identity_code": "...", "mobile": "..."}
# 清除认证
clear_auth_token()| skill_type | 接口名称 | 需要认证 |
|---|---|---|
getMobileCaptcha | 获取手机号验证码 | ❌ 否 |
getIdentityCode | 获取身份编码 | ❌ 否 |
searchHotelList | 搜索酒店列表 | ✅ 是 |
queryHotelPrice | 查询酒店价格详情 | ✅ 是 |
queryHotelDetail | 查询酒店扩展详情 | ✅ 是 |
queryHotelComment | 查询酒店评论 | ✅ 是 |
createOrder | 酒店下单 | ✅ 是 |
cancelOrder | 取消订单 | ✅ 是 |
queryOrder | 查询订单 | ✅ 是 |
⚠️ 【重要约束】
scripts/fb_hotel_api.py 中的函数获取数据| 环境 | 域名 |
|---|---|
| FAT 测试环境 | https://app-gate.fenbeitong.com |
| 线上环境 | https://app-gate.fenbeitong.com |
所有接口统一使用同一入口:
POST /business/hotel/open/push/skill/access通过 skill_type 参数区分不同操作。
Headers:
Content-Type: application/json
access-token: fbsk-xxx (认证类接口除外)Body:
{
"skill_type": "searchHotelList",
// 其他参数...
}skill_type: getMobileCaptcha
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"getMobileCaptcha",
"mobile":"18301187051"
}'响应示例:
{
"request_id": "nQabT9pHt5u5m0mA",
"code": 0,
"msg": "success",
"data": true
}skill_type: getIdentityCode
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"getIdentityCode",
"mobile":"18301187051",
"captcha":"1234"
}'响应示例:
{
"request_id": "oKXv9eCYuFIXoxRn",
"code": 0,
"msg": "success",
"data": {
"identity_code": "fbsk-2db251f6c8d74ce69ae3dcb82ed1055b"
}
}skill_type: searchHotelList
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| city_name | string | 是 | 城市名称(如"北京市") |
| keywords | string | 否 | 关键词(用户输入原样传递) |
| hotel_name | string | 否 | 酒店名称 |
| page_index | int | 否 | 页码,默认1 |
| page_size | int | 否 | 每页数量,默认5 |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"searchHotelList",
"city_name":"北京市",
"keywords":"预订北京国贸附近1公里的酒店",
"page_index":1,
"page_size":5
}'响应字段:
| 字段 | 说明 |
|---|---|
| hotel_id | 酒店ID |
| name | 酒店名称 |
| star_level_name | 星级类型(高档型、豪华型等) |
| address | 地址 |
| district_name | 区域 |
| business_zone_name | 商圈 |
| score | 评分 |
| min_price | 最低价 |
| main_logo | 酒店图片 |
skill_type: queryHotelPrice
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| hotel_id | string | 是 | 酒店ID |
| check_in_date | string | 是 | 入住日期 yyyy-MM-dd |
| check_out_date | string | 是 | 退房日期 yyyy-MM-dd |
| payment_type | string | 否 | 支付方式 PP=预付 SP=现付 |
| nation_type | int | 否 | 1=国内 2=国际 |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"queryHotelPrice",
"nation_type":1,
"payment_type":"PP",
"hotel_id":"5a39df2fbbfdc4732360eaa9",
"check_in_date":"2026-03-27",
"check_out_date":"2026-03-28"
}'响应字段:
| 字段 | 说明 |
|---|---|
| hotel | 酒店基本信息 |
| rooms[] | 房型列表 |
| rooms[].room_id | 房型ID |
| rooms[].room_name | 房型名称 |
| rooms[].bed_type | 床型 |
| rooms[].window_type | 窗户类型 |
| rooms[].area | 面积 |
| rooms[].status | 是否可预订 |
| rooms[].plan_list[] | 产品列表 |
| plan_list[].plan_id | 产品ID |
| plan_list[].plan_name | 产品名称 |
| plan_list[].breakfast | 早餐 |
| plan_list[].cancel_type | 取消政策类型 |
| plan_list[].cancel_rule | 取消政策详情 |
| plan_list[].total_price | 总价 |
| plan_list[].status | 是否可预订 |
skill_type: queryHotelDetail
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| hotel_id | string | 是 | 酒店ID |
skill_type: queryHotelComment
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| hotel_id | string | 是 | 酒店ID |
| page_index | int | 否 | 页码 |
| page_size | int | 否 | 每页数量 |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"queryHotelComment",
"hotel_id":"8502475",
"page_size":5
}'skill_type: createOrder
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| nation_type | int | 是 | 1=国内 2=国际 |
| payment_type | string | 是 | PP=预付 SP=现付 |
| hotel_id | string | 是 | 酒店ID |
| check_in_date | string | 是 | 入住日期 |
| check_out_date | string | 是 | 退房日期 |
| room_id | string | 是 | 房型ID |
| plan_id | string | 是 | 产品ID |
| total_price | float | 是 | 总价 |
| room_count | int | 是 | 房间数 |
| contact | object | 是 | 联系人信息 |
| guestList1 | array | 是 | 入住人列表(二维数组) |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"createOrder",
"nation_type":1,
"payment_type":"PP",
"hotel_id":"5a39df2fbbfdc4732360eaa9",
"check_in_date":"2026-03-27",
"check_out_date":"2026-03-28",
"room_id":"7617d7bbb3a94537a58bb3d33108b429",
"plan_id":"69c23ae4e37c7d156e3e0c01",
"total_price":280,
"room_count":1,
"contact":{
"name":"周聪",
"phone":"18301187051"
},
"guestList1":[
[
{
"name":"周聪",
"phone":"13126525502"
}
]
]
}'重要:guestList1 参数必须为二维数组格式!
skill_type: cancelOrder
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| order_id | string | 是 | 订单ID |
| cancel_reason | string | 否 | 取消原因 |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"cancelOrder",
"order_id": "69c23b67e37c7d156e3e0c1b",
"cancel_reason":"取消原因"
}'skill_type: queryOrder
请求参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| order_id | string | 是 | 订单ID |
请求示例:
curl --location 'https://app-gate.fenbeitong.com/business/hotel/open/push/skill/access' \
--header 'access-token: fbsk-2db251f6c8d74ce69ae3dcb82ed1055b' \
--header 'Content-Type: application/json' \
--data '{
"skill_type":"queryOrder",
"order_id": "69c23b67e37c7d156e3e0c1b"
}'订单创建成功后,通过以下链接引导用户完成支付:
| 类型 | 链接格式 |
|---|---|
| 立即支付 | {域名}/business/hotel/open/push/redirect?orderId={order_id}&type=0&token={access_token} |
| 查看订单 | {域名}/business/hotel/open/push/redirect?orderId={order_id}&type=1&token={access_token} |
FAT环境示例:
https://app-gate.fenbeitong.com/business/hotel/open/push/redirect?orderId={order_id}&type=0&token=fbsk-xxxhttps://app-gate.fenbeitong.com/business/hotel/open/push/redirect?orderId={order_id}&type=1&token=fbsk-xxx触发条件:用户输入「酒店搜索/订酒店/找酒店/搜酒店」+ 城市/关键词
步骤:
search_hotel_list() 获取酒店列表展示格式:
🏨 北京国贸附近酒店
| 序号 | 酒店名称 | 星级 | 区域 | 最低价 |
|:---:|---------|:---:|------|---:|
| 1 | 北京建国饭店 | 高档型 | 朝阳区 | ¥572 |
| 2 | 北京共享际5L饭店 | 高档型 | 朝阳区 | ¥712 |
💡 回复序号查看房型价格,如"1"
💡 回复"序号-详情"查看酒店信息和评论,如"1-详情"触发条件:用户回复序号(如"1")
步骤:
query_hotel_price() 获取房型和产品展示格式:
🏨 汉庭酒店(北京长虹桥店)
📍 农展馆南里12号院5号楼 | ⭐4.8分 | 经济型
📅 入住:2026-03-27 → 退房:2026-03-28
**房型1:测试房型**
床型:2张1.80m大床 | 窗户:有窗 | 面积:22㎡
| 序号 | 价格 | 早餐 | 取消政策 | 取消详情 |
|:---:|---:|:---:|:---:|---|
| 1-1 | ¥1 | 单早 | ✅限时取消 | 3月26日 12:00前免费取消... |
💡 回复"房型序号-产品序号"预订,如"1-1"触发条件:用户回复"房型序号-产品序号"(如"1-1")
步骤:
create_order() 创建订单展示格式:
✅ 订单创建成功!
🏨 订单号:69c23b67e37c7d156e3e0c1b
📅 入住:2026-03-27 → 退房:2026-03-28
🛏️ 房型:测试房型
💰 价格:¥280
📋 最晚取消时间:2026-03-26 12:00:00
🔗 [立即支付](https://app-gate.fenbeitong.com/...)
🔗 [查看订单详情](https://app-gate.fenbeitong.com/...)from scripts.fb_hotel_api import FbHotelApi, send_verification_code, verify_and_get_token
# 初始化(使用默认token或指定token)
api = FbHotelApi(access_token="fbsk-xxx")
# 发送验证码
result = send_verification_code("13800138000")
# 验证并获取token
success, token = verify_and_get_token("13800138000", "1234")
# 搜索酒店
result = api.search_hotel_list(
city_name="北京市",
keywords="国贸附近",
page_size=5
)
# 查询酒店价格
result = api.query_hotel_price(
hotel_id="5a39df2fbbfdc4732360e860",
check_in_date="2026-03-27",
check_out_date="2026-03-28"
)
# 查询酒店扩展详情
result = api.query_hotel_detail(hotel_id="5a39df2fbbfdc4732360e860")
# 查询酒店评论
result = api.query_hotel_comment(hotel_id="8502475", page_size=5)
# 创建订单
result = api.create_order(
hotel_id="5a39df2fbbfdc4732360eaa9",
room_id="7617d7bbb3a94537a58bb3d33108b429",
plan_id="69c23ae4e37c7d156e3e0c01",
check_in_date="2026-03-27",
check_out_date="2026-03-28",
total_price=280,
contact={"name": "张三", "phone": "13800138000"},
guest_list=[[{"name": "张三", "phone": "13800138000"}]]
)
# 查询订单
result = api.query_order(order_id="69c23b67e37c7d156e3e0c1b")
# 取消订单
result = api.cancel_order(order_id="69c23b67e37c7d156e3e0c1b", cancel_reason="不想要了")
# 格式化输出
print(api.format_hotel_list(result))
print(api.format_hotel_price(result, "2026-03-27", "2026-03-28"))文件位置:scripts/formatter.py
| 配置项 | 默认值 | 说明 |
|---|---|---|
| HOTEL_LIST_LIMIT | 5 | 酒店列表展示数量 |
| ROOM_LIST_LIMIT | 5 | 房型展示数量 |
| PLAN_LIST_LIMIT | 5 | 每个房型展示的产品数量 |
from scripts.formatter import (
format_hotel_list, # 酒店列表格式化
format_hotel_rooms, # 房型价格格式化
format_order_result, # 订单创建结果格式化
format_trip_plan, # 行程规划格式化
format_order_confirmation, # 订单确认格式化
format_order_detail_full # 完整订单详情格式化
)酒店列表必须包含:
房型价格必须包含:
订单详情必须包含:
| 版本 | 日期 | 变更说明 |
|---|---|---|
| 3.1.0 | 2026-03-25 | 新增格式化输出模块,固化展示逻辑 |
| 3.0.0 | 2026-03-25 | 统一接口入口,新增认证流程,重构API |
| 2.9.1 | 2026-03-20 | 修复订单创建问题 |
| 1.9.1 | 2026-03-15 | 新增酒店评论查询 |
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references, assets) in skills/hotels of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Fb Hotel Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fb Hotel Skill this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~3.3k | Automated safety check: Pass | MIT | |
| Pp Hotel Goatmvanhorn/printing-press-library | 2.1k | — | ~2.6k | Automated safety check: Notes | Apache-2.0 | |
| Pp Hotel Tonightmvanhorn/printing-press-library | 2.1k | — | ~3k | Automated safety check: Notes | Apache-2.0 | |
| Compare Hotelsborski/travel-hacking-toolkit | 688 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Hotel Chainsborski/travel-hacking-toolkit | 688 | — | ~603 | Automated safety check: Pass | MIT | |
| Premium Hotelsborski/travel-hacking-toolkit | 688 | — | ~2.4k | Automated safety check: Pass | MIT |
mvanhorn/printing-press-library
Free Google Hotels CLI — per-hotel data with deep booking links, agent-native JSON, and local wishlist.
mvanhorn/printing-press-library
Last-minute hotel deals with a local price-history database no HotelTonight client has — snapshot deals over time,...
borski/travel-hacking-toolkit
Unified hotel comparison across Chase Edit, Amex FHR/THC, metasearch, and Airbnb.
borski/travel-hacking-toolkit
Maps hotel brand names (Westin, Sheraton, Holiday Inn, etc.) to chain families and loyalty programs.
borski/travel-hacking-toolkit
Search Amex FHR/THC and Chase Edit hotels by city. An agent skill from borski/travel-hacking-toolkit.
taracodlabs/aiden
Searches Google Hotels through the agent-browser tool for prices, ratings, amenities and availability, building a search URL from the location and dates and reporting a results table.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
分贝通酒店预定助手,实时查询搜索酒店、展示酒店列表、查询酒店房型、展示房型产品和报价、预定酒店、查看订单、取消订单、查看酒店基础信息和酒店评论信息。. Fb Hotel Skill is an agent skill from LeoYeAI/openclaw-master-skills.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a claude-code`. Or copy the skill folder (skills/hotels in LeoYeAI/openclaw-master-skills) into .claude/skills/fb-hotel-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a codex`. Or copy the skill folder (skills/hotels in LeoYeAI/openclaw-master-skills) into .agents/skills/fb-hotel-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill fb-hotel-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fb-hotel-skill, .gemini/skills/fb-hotel-skill, .github/skills/fb-hotel-skill and .opencode/skills/fb-hotel-skill in your project.
Going by SKILL.md and its folder, Fb Hotel Skill needs Python for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: app-gate.fenbeitong.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Fb Hotel Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Fb Hotel Skill: Pp Hotel Goat (mvanhorn/printing-press-library, 2.1k stars), Pp Hotel Tonight (mvanhorn/printing-press-library, 2.1k stars), Compare Hotels (borski/travel-hacking-toolkit, 688 stars) and Hotel Chains (borski/travel-hacking-toolkit, 688 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.