travel-booking

travel-booking is a skill for Claude Code, Codex from idea2realClaw/myAgent. It costs 52 tokens per session (1,281 once invoked), scanned A, original, MIT.

A workflow for searching and booking hotels and flights across travel websites. It compares options using details such as destination, dates, passengers, budget, ratings, location, and cancellation preferences.

In plain words
What is it for?
Use it to search or book accommodation and flights, compare prices and schedules, and filter results by practical travel preferences.
Why use it?
It gathers the details needed for a search and helps compare travel choices across platforms instead of checking each one separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search or book accommodation and flights, compare prices and schedules, and filter results by practical travel preferences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/idea2realclaw/myagent/travel-booking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add idea2realClaw/myAgent --skill travel-booking
Clone the repo
git clone --depth 1 https://github.com/idea2realClaw/myAgent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for travel-booking

README.md
[![agentmods](https://agentmods.dev/badge/skills/idea2realclaw/myagent/travel-booking/github.svg)](https://agentmods.dev/skills/idea2realclaw/myagent/travel-booking)
Your own site
<a href="https://agentmods.dev/skills/idea2realclaw/myagent/travel-booking"><img src="https://agentmods.dev/badge/skills/idea2realclaw/myagent/travel-booking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for travel-booking

Your own site · 80×15
<a href="https://agentmods.dev/skills/idea2realclaw/myagent/travel-booking"><img src="https://agentmods.dev/badge/skills/idea2realclaw/myagent/travel-booking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01281
Opus 5 $0.00026 $0.00641
Sonnet 5 $0.00010 $0.00256
Haiku 4.5 $0.00005 $0.00128

Measured 12d ago against content hash 482549ca088d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

travel-booking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/search_flights.py, scripts/search_hotels.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/travel-booking/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Travel Booking Skill

酒店机票预订技能。使用Python脚本自动化搜索Trip.com、Booking.com等平台,根据用户偏好推荐最佳选项。

Skill Purpose

帮助用户高效搜索、比较和预订酒店与航班。支持以下场景:

  • 按目的地、日期、预算搜索酒店
  • 按行程、时间、价格搜索航班
  • 根据用户偏好(星级、评分、位置、价格区间)推荐
  • 对比多个平台价格获取最优选择

When to Use

用户提到以下需求时触发此技能:

  • "订酒店"、"找酒店"、"booking"、"住宿"
  • "订机票"、"买票"、"flight"、"航班"
  • "旅行计划"、"出差住宿"、"行程规划"
  • 具体的搜索需求,如"北京到上海的机票"、"三亚的酒店"

Workflow

步骤1:收集需求信息

首先明确以下关键信息:

酒店搜索必需:

  • 目的地城市或具体区域
  • 入住日期、退房日期
  • 入住人数/房间数
  • 预算范围(如有)

机票搜索必需:

  • 出发城市、到达城市
  • 出发日期、返程日期(往返)或单程日期
  • 乘客人数
  • 时间偏好(早班/午班/晚班)

可选偏好:

  • 星级要求(3星/4星/5星)
  • 价格敏感度(优先价格/优先舒适)
  • 位置偏好(市中心/机场/景区附近)
  • 特殊需求(无烟房、免费取消、早餐)

步骤2:选择搜索平台

根据搜索类型选择平台:

类型 平台 说明
酒店 Trip.com 国际化,中文友好,支持全球酒店
酒店 Booking.com 全球覆盖广,评价系统完善
机票 Trip.com 航班信息全,价格透明
机票 Skyscanner 聚合平台,价格对比

步骤3:执行Python搜索脚本

调用scripts目录下的Python脚本进行自动化搜索:

酒店搜索:

python3 ~/.workbuddy/skills/travel-booking/scripts/search_hotels.py \
  --platform trip.com \
  --destination "北京" \
  --checkin "2026-04-10" \
  --checkout "2026-04-12" \
  --guests 2 \
  --min-rating 4.5 \
  --max-price 800

机票搜索:

python3 ~/.workbuddy/skills/travel-booking/scripts/search_flights.py \
  --platform trip.com \
  --origin "上海" \
  --destination "北京" \
  --date "2026-04-10" \
  --passengers 1

步骤4:整理推荐结果

将搜索结果按用户偏好排序,生成推荐清单:

酒店推荐格式:

排名 酒店名称 星级 评分 每晚价格 位置 亮点
1 XXX酒店 ⭐⭐⭐⭐⭐ 4.8 ¥650 市中心 含早餐,免费取消

机票推荐格式:

排名 航空公司 航班号 出发时间 到达时间 价格 中转
1 东方航空 MU5101 08:30 10:50 ¥850 直飞

步骤5:提供预订链接

为每个推荐选项提供直接预订链接,方便用户快速下单。

Bundled Resources Usage

Scripts

scripts/search_hotels.py - 酒店搜索自动化脚本

  • 接受命令行参数:目的地、日期、人数、评分、价格范围
  • 访问Trip.com/Booking.com API或网页爬取
  • 输出结构化JSON结果:名称、价格、评分、位置、预订链接

scripts/search_flights.py - 航班搜索自动化脚本

  • 接受命令行参数:出发地、目的地、日期、人数
  • 访问Trip.com或Skyscanner
  • 输出结构化JSON:航班号、时间、价格、航空公司、预订链接

Read the full file on GitHub · 146 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 146 lines · 52 tokens per session scan A 482549ca088d

Subscribe to this mod's changes

travel-booking is a skill published in the GitHub repository idea2realClaw/myAgent (2 stars, last pushed 23d ago), licensed MIT. It adds 52 tokens to every session and 1,281 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens