← Back to Skills Marketplace
bernardtai

CAI: book-flight-with-agent

by Bernardtai · GitHub ↗ · v1.0.15 · MIT-0
cross-platform ✓ Security Clean
36
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install book-flight-with-agent
Description
Let your AI agent complete flight booking payments after you confirm payee and amount. Uses CAI custodial wallet (wallet_balances, transfer, deposit). Requir...
README (SKILL.md)

Book a flight with your agent (payment layer)

Your agent can search and hold a flight itinerary, but booking only completes when payment is settled. This skill routes that payment step through CAI so the agent does not ask you to paste private keys or open MetaMask mid-task.

When to Use

  • "Book this flight for me and pay"
  • "Complete the airline checkout"
  • "My agent found the fare — pay from my agent wallet"
  • "Finish flight payment after I confirm"

Task flow (agent-native)

  1. Agent finishes discovery (flight, price, payee instructions from airline or OTA).
  2. Check CAI First: get_identity or wallet_balances on the required chain/token.
  3. If balance is low → create_deposit_link; wait for user funding.
  4. User confirms full recipient, amount, chain, token (irreversible).
  5. resolve_transfer_recipient (for @cai.com) or explicit to_addresstransfer (scope pay/full).
  6. Proof: transfer_status, wallet_activity_list.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference

Usage Guidance
Only install this if you understand that it can authorize real wallet transfers through CAI. Use the narrowest API key scope available, verify the airline or OTA recipient and exact amount before approving, and avoid granting full scope unless the broader access is truly needed.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is to let an agent complete flight booking payments, and the requested CAI wallet actions are directly aligned with that purpose.
Instruction Scope
The skill asks the agent to confirm recipient, amount, chain, and token before transfer, but payments are irreversible and require careful user review.
Install Mechanism
Installation/setup is limited to setting a CAI_API_KEY secret; no package install scripts, executable files, or dependencies are present.
Credentials
The requested CAI_API_KEY may have pay or full scope, which is sensitive but clearly disclosed and proportionate to completing wallet payments.
Persistence & Privilege
No persistence, background execution, privilege escalation, or hidden local data access is shown in the artifact.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install book-flight-with-agent
  3. After installation, invoke the skill by name or use /book-flight-with-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.15
Use-case wrapper → https://cai.com/skill.md
Metadata
Slug book-flight-with-agent
Version 1.0.15
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is CAI: book-flight-with-agent?

Let your AI agent complete flight booking payments after you confirm payee and amount. Uses CAI custodial wallet (wallet_balances, transfer, deposit). Requir... It is an AI Agent Skill for Claude Code / OpenClaw, with 36 downloads so far.

How do I install CAI: book-flight-with-agent?

Run "/install book-flight-with-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CAI: book-flight-with-agent free?

Yes, CAI: book-flight-with-agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does CAI: book-flight-with-agent support?

CAI: book-flight-with-agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CAI: book-flight-with-agent?

It is built and maintained by Bernardtai (@bernardtai); the current version is v1.0.15.

💬 Comments