← 返回 Skills 市场
longcreat

find-hotel

作者 zlon · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
228
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install find-hotel
功能描述
Hotel search and pricing via the RollingGo CLI. Use when the user wants to search hotels by destination, filter by date/star/budget/tags/distance, inspect ho...
使用说明 (SKILL.md)

RollingGo Hotel CLI

When to Use

Use this skill when:

  • Searching Candidates: User wants to find hotels near a specific city, landmark, or address (e.g., "Find hotels near Tokyo Disneyland").
  • Complex Filtering: User needs to narrow down options using natural language queries combined with exact dates, guest count, star ratings, budget limits, or distance radius.
  • Tag & Brand Matching: User wants to find hotels with specific attributes (e.g., "family friendly", "breakfast included", "Marriott") by first checking the tag dictionary to build exact filters.
  • Deep Dive & Pricing: User wants to inspect detailed room plans, real-time pricing, cancellation policies, or availability for a specific hotel ID.
  • Comparison & Evaluation: User wants to compare multiple candidate hotels based on returning structured data and current rates.
  • Hotel Booking: User is ready to select a room and book a hotel. The returned booking URLs and detail page links can be provided to guide the user to complete their reservation.

Don't use this skill when:

  • User asks about non-hotel travel booking (flights, trains, transfers, car rentals).

API Key

Resolution order: --api-key flag → AIGOHOTEL_API_KEY env var.

No key yet? Apply at: https://mcp.agentichotel.cn/apply

Runtime

Choose based on user's environment. Load the matching reference file and keep it for the session.

Default when unspecified → npm/npx (broader env compatibility).

Primary Workflow

Run these steps in order unless the user is already at a later step.

  1. Clarify: destination, dates, nights, occupancy, budget, stars, tags, distance
  2. If tag filters needed → run hotel-tags first to get valid tag strings
  3. Run search-hotels → parse JSON → extract hotelId
  4. Run hotel-detail --hotel-id \x3Cid> for room plans and pricing
  5. If results are weak → loosen filters and retry

Commands Quick Reference

# Discover tags
rollinggo hotel-tags

# Search hotels (minimum required flags)
rollinggo search-hotels \
  --origin-query "\x3Cuser's natural language request>" \
  --place "\x3Cdestination>" \
  --place-type "\x3Cvalue from --help>"

# Hotel detail with pricing
rollinggo hotel-detail \
  --hotel-id \x3Cid> \
  --check-in-date YYYY-MM-DD \
  --check-out-date YYYY-MM-DD \
  --adult-count 2 --room-count 1

# Discover all flags
rollinggo search-hotels --help
rollinggo hotel-detail --help

Key Rules

  • --place-type must use exact values from rollinggo search-hotels --help
  • --star-ratings format: min,max e.g. 4.0,5.0
  • --format table allowed only on search-hotels; rejected by hotel-detail and hotel-tags
  • --child-count must match the count of --child-age flags
  • --check-out-date must be later than --check-in-date
  • Prefer --hotel-id over --name whenever available

Output

  • stdout → result payload (JSON by default)
  • stderr → errors only
  • Exit 0 success · 1 HTTP/network failure · 2 CLI validation failure
  • Results include booking URLs and hotel detail page links for downstream use

Filter Loosening (when no results)

Try in order: remove --star-ratings → increase --size → increase --distance-in-meter → remove tag filters → widen dates or budget

安全使用建议
This skill appears coherent for using the RollingGo CLI, but you should: (1) confirm you trust the provider (homepage: https://mcp.agentichotel.cn) before supplying AIGOHOTEL_API_KEY; (2) prefer running via npx/uvx (temporary) rather than a global install if you want to avoid writing packages to the system; (3) check the rollinggo package's reputation/source code (npm/uv registry) if you plan to install globally; (4) limit the API key scope and rotate it if possible; and (5) be aware the agent will execute shell commands (rollinggo) in your environment — if you cannot permit CLI execution or installing packages, do not enable the skill.
功能分析
Type: OpenClaw Skill Name: find-hotel Version: 1.0.0 The skill bundle provides instructions for an AI agent to use the `rollinggo` CLI tool for hotel searches and pricing via the `mcp.agentichotel.cn` service. It includes standard installation procedures using `npm` and `uv` and defines clear workflows for searching and retrieving hotel details. No indicators of malicious intent, data exfiltration, or harmful prompt injection were found in the `SKILL.md` or reference files.
能力评估
Purpose & Capability
Name/description, declared binaries (rollinggo, npx/node, uv/uvx) and install specs (npm/uv install of package 'rollinggo') align with a CLI-based hotel search tool. The single required env var AIGOHOTEL_API_KEY matches the documented API key usage.
Instruction Scope
SKILL.md instructs the agent to run rollinggo commands, parse JSON, extract hotelId and call hotel-detail/hotel-tags. It only references the declared AIGOHOTEL_API_KEY and standard CLI outputs; it does not instruct reading unrelated files, other env vars, or sending data to unexpected endpoints.
Install Mechanism
Install entries use ecosystem package managers (npm/uv) to install the 'rollinggo' package which provides the rollinggo binary. No arbitrary URL downloads or extract-from-unknown-host steps are present. Two install options exist to support different environments (Node vs uv) which is reasonable.
Credentials
Only one credential is required (AIGOHOTEL_API_KEY) and it is the primary credential for API access. No unrelated secrets or multiple unrelated environment variables are requested.
Persistence & Privilege
Skill does not request always:true or system-wide changes. It assumes normal agent ability to run installed CLI tools; nothing indicates modification of other skills or elevated persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install find-hotel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /find-hotel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of RollingGo Hotel CLI skill. - Enables hotel search and pricing using the RollingGo CLI with structured natural language filtering (destination, dates, guests, ratings, budget, tags, distance). - Supports inspection of hotel details, real-time room pricing, policies, and availability by hotel ID. - Allows tag lookup to enable precise filtering (e.g., amenities, brands). - Includes booking links and detailed hotel page URLs in results. - Provides guidance for environment setup and API key usage. - Outlines fallback strategies when searches return insufficient results.
元数据
Slug find-hotel
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

find-hotel 是什么?

Hotel search and pricing via the RollingGo CLI. Use when the user wants to search hotels by destination, filter by date/star/budget/tags/distance, inspect ho... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 228 次。

如何安装 find-hotel?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install find-hotel」即可一键安装,无需额外配置。

find-hotel 是免费的吗?

是的,find-hotel 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

find-hotel 支持哪些平台?

find-hotel 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 find-hotel?

由 zlon(@longcreat)开发并维护,当前版本 v1.0.0。

💬 留言讨论