pay-and-book

Coordinate hotel booking workflows with wallet authentication and USDC payment via x402.

Updated May 5, 2026
One-click install
npx skills add https://github.com/travala/travel-skills --skill pay-and-book
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pay-and-book
Source: https://github.com/travala/travel-skills/tree/main/cli/skills/pay-and-book
Command: npx skills add https://github.com/travala/travel-skills --skill pay-and-book

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the complexity of booking a hotel and paying for it with USDC through an autonomous, guided agent flow.

Core Features & Use Cases

  • End-to-end hotel booking orchestration: Coordinates search, user selection, wallet authentication, optional wallet funding, and final booking confirmation in one flow.
  • On-chain payment via x402: Executes payment and confirms booking results, including booking identifiers and transaction details.
  • Wallet-first safety guardrails: Avoids auto-picking hotels, avoids auto-funding, and avoids auto-paying by requiring explicit user confirmations at key steps.

Quick Start

Ask your agent to run pay-and-book to search for a hotel in your chosen city and dates, then book it using USDC from your wallet.

Frequently Asked Questions about pay-and-book

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I book a hotel and pay with USDC in one request?

To book a hotel and pay with USDC, the agent orchestrates a full workflow: searching hotels, prompting you to select an option, verifying your Coinbase wallet, and finalizing the on-chain payment via x402. It requires explicit user confirmation before booking and paying.

Can I use an autonomous agent to search and checkout with on-chain USDC payments?

Yes, autonomous checkout with USDC is supported through an orchestrated agent flow. It sequentially handles hotel search, wallet authentication, balance checks, and payment execution, but it avoids auto-paying or auto-funding by prompting you at each critical step.

Do I need to authenticate my Coinbase wallet before booking a hotel with USDC?

Yes, wallet authentication is required before initiating payment steps. The workflow checks your wallet state and USDC sufficiency, prompting you to authenticate or fund the wallet if needed before finalizing the hotel booking.

What is the best way to ensure my wallet has enough USDC for an autonomous hotel booking?

The best way to ensure sufficient USDC is through the built-in wallet balance check. The agent verifies your wallet state via an external balance command and prompts you to fund it if your USDC is insufficient before proceeding to checkout.

Will the agent automatically choose a hotel and process the payment without my approval?

No, the agent applies wallet-first safety guardrails and avoids auto-picking hotels, auto-funding, or auto-paying. It requires explicit user confirmations at key steps, prompting you to select a hotel and approve the transaction before finalizing.

Does this workflow support booking things other than hotels with USDC?

No, this workflow is specifically designed for autonomous hotel booking in a single request. It does not apply to search-only queries, payment-only operations, or non-hotel bookings.