← Back to Skills Marketplace
jrojas537

Hotel Pricer

by jrojas537 · GitHub ↗ · v1.1.1
cross-platform ✓ Security Clean
685
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install hotel-pricer
Description
Search hotels by city, dates, and guests using Amadeus API, returning availability and pricing in JSON format via a Go CLI tool.
README (SKILL.md)

hotel-pricer Skill

A Go-based CLI for searching hotel availability and pricing using the Amadeus API.

Description

This skill allows the agent to find hotel deals by city, check-in/out dates, and number of guests. It securely manages Amadeus API credentials and provides formatted JSON output.

Prerequisites

  • go (for installation)
  • An Amadeus for Developers account with API Key and Secret.

Installation

The hotel-pricer binary must be compiled and placed in the system's PATH.

# From the hotel-pricer source directory
go build
sudo mv hotel-pricer /usr/local/bin/

Configuration

Credentials must be set before use.

hotel-pricer config set --api-key YOUR_API_KEY --api-secret YOUR_API_SECRET

Usage

Search for Hotels

hotel-pricer search --city \x3CIATA_CODE> --check-in \x3CYYYY-MM-DD> --check-out \x3CYYYY-MM-DD> [flags]

Example: hotel-pricer search --city NYC --check-in 2024-12-24 --check-out 2024-12-28 --guests 2

Flags

  • --city, -c: City code (IATA) (required)
  • --check-in, -i: Check-in date (YYYY-MM-DD) (required)
  • --check-out, -o: Check-out date (YYYY-MM-DD) (required)
  • --guests, -g: Number of guests (default: 1)
  • --radius, -r: Search radius in kilometers (default: 20)
Usage Guidance
This skill appears to do what it says (a Go CLI that calls the Amadeus API), but review and accept these trade-offs before installing: - Credentials storage: The tool stores your Amadeus API Key, Secret, and cached token in a YAML config file under $HOME/.config/hotel-pricer/config.yaml (written by viper). Those values are stored unencrypted, so restrict file permissions and consider using an alternative secret storage (OS keyring or environment variables) if you need stronger protection. - SKILL.md claims 'securely manages' credentials — that wording is stronger than the implementation; treat the stored secrets as plaintext on disk. - Installation: You must build locally with 'go build' (SKILL.md requirement). The registry metadata did not list 'go' as a required binary, so ensure you have Go installed. Moving the built binary to /usr/local/bin requires sudo. - API endpoint: The code's API base is set to the Amadeus test host (https://test.api.amadeus.com). Confirm whether you intend to use the test environment or need to change the base URL to production before running. - Token caching: Access tokens are written back to the same config file. If multiple users share the account or machine, ensure appropriate file permissions. If you are comfortable with these points, the skill is internally consistent. If you need secrets encrypted at rest or automated installation, request or inspect changes to support those requirements.
Capability Analysis
Type: OpenClaw Skill Name: hotel-pricer Version: 1.1.1 The skill bundle implements a Go-based CLI for searching hotel availability and pricing using the Amadeus API. All code and documentation align with the stated purpose. API credentials and tokens are securely stored in a user-specific configuration file (`~/.config/hotel-pricer/config.yaml`), and all network communication is directed to the legitimate Amadeus API endpoint (`https://test.api.amadeus.com`). There is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts in SKILL.md or other files.
Capability Assessment
Purpose & Capability
The code implements a Go CLI that authenticates to the Amadeus API and performs hotel-offer searches, matching the name and description. No unrelated services, credentials, or binaries are requested by the code. One metadata mismatch: SKILL.md lists 'go' as a prerequisite for installation, while the registry's required-binaries list is empty.
Instruction Scope
SKILL.md instructs building the binary and using 'hotel-pricer config set' to store API key/secret, which is exactly what the code expects. However the README/SKILL.md claim that credentials are 'securely managed' is misleading: the program stores API key/secret and cached access token in a plain YAML config file under the user's home (~/.config/hotel-pricer/config.yaml) via viper. The SKILL.md does not mention that path or that secrets are stored unencrypted on disk.
Install Mechanism
There is no automated install spec (manual 'go build' and move to PATH is required). This is low risk but means the user must build and install manually; package.json exists but is informational only. No remote downloads or archive extraction are performed by the skill itself.
Credentials
The skill does not request environment variables or unrelated credentials. It uses a local config file to hold the Amadeus API Key/Secret and caches tokens — this is proportional to its stated purpose.
Persistence & Privilege
The skill does not request persistent platform privileges (always:false). It writes only to the user's config directory (~/.config/hotel-pricer) and does not modify other skills or system-wide settings. No elevated privileges are required except optional 'sudo mv' to place the binary in /usr/local/bin during installation, which is a standard install step.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hotel-pricer
  3. After installation, invoke the skill by name or use /hotel-pricer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
- Added README.md with documentation and usage instructions. - Updated package.json with latest dependencies or metadata.
v1.1.0
- Added detailed usage instructions and prerequisites to SKILL.md. - Described installation steps and configuration for API credentials. - Included CLI command examples and flag documentation for searching hotels. - Clarified output format as formatted JSON.
Metadata
Slug hotel-pricer
Version 1.1.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Hotel Pricer?

Search hotels by city, dates, and guests using Amadeus API, returning availability and pricing in JSON format via a Go CLI tool. It is an AI Agent Skill for Claude Code / OpenClaw, with 685 downloads so far.

How do I install Hotel Pricer?

Run "/install hotel-pricer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hotel Pricer free?

Yes, Hotel Pricer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Hotel Pricer support?

Hotel Pricer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hotel Pricer?

It is built and maintained by jrojas537 (@jrojas537); the current version is v1.1.1.

💬 Comments