justintravala/travel-skills

cancel-booking

Cancel an existing hotel booking. Use this skill when the user explicitly wants to cancel their reservation — phrases like "cancel my booking", "cancel reservation BK_xxx", "I don't need the hotel anymore", "refund my booking". This is a destructive action; always confirm with the user before calling, and warn if the cancellation is past the free-cancellation deadline.

First seen Apr 29, 2026

Installation

$ npx skills add justintravala/travel-skills --skill cancel-booking

Summary

  • Cancel an existing hotel booking.
  • Use this skill when the user explicitly wants to cancel their reservation — phrases like "cancel my booking", "cancel reservation BK_xxx", "I don't need the hotel anymore", "refund my booking".
  • This is a destructive action; always confirm with the user before calling, and warn if the cancellation is past the free-cancellation deadline.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from justintravala/travel-skills.

npx skills add justintravala/travel-skills

Browse all from justintravala/travel-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE.md
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,427 B
  • docs SUMMARY.md 395 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 56 installs

SKILL.md

cancel-booking

Cancel a hotel booking. Destructive action — confirm first.

When to use

The user explicitly asks to cancel:

  • "Cancel BK202605_001"
  • "I want to cancel my hotel"
  • "Refund my booking"

For checking status only, use manage-booking instead.

Prerequisites

  1. bookingId
  2. Last name on the booking
  3. Email on the booking

If unsure whether the booking is still cancellable for free, run manage-booking first to see the cancellationDeadline and isCancellable flag.

Pre-cancellation confirmation

Before cancelling, especially if the free-cancellation window has passed:

About to cancel BK202605_001 — Park Hyatt Tokyo, May 1–5.
⚠️ Free cancellation expired on April 29. A cancellation fee may apply.

Are you sure you want to cancel? (yes/no)

If still inside the free window, a lighter confirmation is fine:

About to cancel BK202605_001 — Park Hyatt Tokyo, May 1–5.
You're inside the free cancellation window — no fee.

Confirm? (yes/no)

Only proceed after the user says yes.

How to call

npx @tvl-justin/travel-cli@latest cancel \
  --booking-id "<bookingId>" \
  --last-name "<lastName>" \
  --email "<email>"

Output

{
  "bookingId": "BK_2026_05_001",
  "status": "CANCELLED",
  "refundAmountUSD": 1800,
  "refundEta": "5-7 business days",
  "cancellationFeeUSD": 0
}

Presenting to the user

✅ Booking BK202605_001 cancelled.
Refund of $1,800 USD will appear on your card in 5–7 business days.
No cancellation fee.

If a fee was charged:

✅ Booking cancelled.
Refund: $1,440 USD (a $360 cancellation fee was applied because we're past the free-cancellation deadline).

Errors

  • 404 Not Found — Booking ID not found, or last name / email mismatch.
  • 409 Already Cancelled — Booking was already cancelled. Tell the user, don't retry.
  • Network error — Tell the user the cancellation didn't go through and ask whether to retry.