Token导航 LogoToken导航

Agent Skill · 研究检索

trip-planner(旅行计划)

trip-planner 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

trip-planner 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 52,984。

总安装 541周安装 23GitHub Stars 1下载 190核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:trip-planner(旅行计划)
来源仓库:https://github.com/foogunlana/skills
仓库路径:skills/trip-planner
安装命令:
npx skills add https://github.com/foogunlana/skills --skill trip-planner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/foogunlana/skills --skill trip-planner

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

trip-planner 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。适用于旅行规划、目的地研究或行程安排,帮助 Agent 高效获取目标线索。

通过关键词输入和来源仓库配置,Agent 可自动检索并整理相关数据,支持进一步人工核验。安装前需确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/trip-planner

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/foogunlana/skills --skill trip-planner;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

trip-planner 怎么安装?

在终端执行 npx skills add https://github.com/foogunlana/skills --skill trip-planner。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

trip-planner 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

trip-planner 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

trip-planner 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

trip-planner 用的人多吗?

公开数据是累计安装 541 次,近一周安装 23 次,下载 190 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

trip-planner 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
trip-planner

旅行计划 · 本页

5411需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Trip Planner

A skill that turns natural language into flight recommendations — preferring assumptions over questions.

*Assume first. Show your work. Book the flight.*

Core Design Principle

Assume everything, show everything. The user corrects what's wrong, not fills in what's missing. The only hard requirement is a destination — everything else has a sensible default.

Two Flows

ConditionFlow
No .claude/trip-planner.md existsOnboarding Flow — instant search, then quick setup
.claude/trip-planner.md existsRegular Flow — FAST: parse, assume, search, recommend

Onboarding Flow (First Run Only)

Detection: Check if .claude/trip-planner.md exists. If no config exists, run this flow. Otherwise skip to Regular Flow.

Goal: Deliver flight recommendations immediately, then calibrate preferences.

Step 1: Welcome (skip if user already described a trip)

Read references/branding.md and display verbatim:

  1. Logo
  2. Origin quote
  3. Workflow diagram
  4. Key concepts

Then check: did the user already describe a trip in their message?

  • Yes → Skip straight to Step 2 with their input
  • No → Display:
Where are you headed? Just describe your trip naturally:

"I need to fly to Tokyo next month for a week"
"London to Paris, March 15-18, 2 adults"
"Cheapest flights to Barcelona in April"

Wait for user input.

Step 2: Parse & Assume

Extract what the user said, then fill everything else with defaults.

Run the Assumption Engine (see below) against the user's input with these fallback defaults for onboarding (no config yet):

  • Origin: LHR
  • Class: Economy
  • Passengers: 1 adult
  • Budget: Flexible
  • Stops: Any
  • Currency: GBP

Show the Assumption Card:

## Assumptions

| Field | Value | Source |
|-------|-------|--------|
| Destination | Tokyo (NRT/HND) | You said |
| Origin | London (LHR) | Default |
| Dates | Mar 10 - Mar 17, 2026 | "next month" + 7 days |
| Passengers | 1 adult | Default |
| Class | Economy | Default |
| Budget | Flexible | Default |
| Stops | Any | Default |

Anything wrong? Say so and I'll re-search. Otherwise I'll find flights.

Wait for corrections or confirmation.

If user corrects → update assumptions → re-show card → wait again.

If user confirms (or says nothing wrong) → proceed to Step 3.

Step 3: Search & Present

Run the Search Strategy (see below) with confirmed assumptions.

Present recommendations using the output format from assets/templates/trip-recommendation.md.

Then offer corrections:

Want to adjust anything? Change dates, class, budget — I'll re-search.

Corrections loop: User adjusts → re-search → re-present. Repeat until satisfied.

Step 4: Quick Setup

Once the user is happy with results:

Nice — that's your first search done.

Want to save your preferences so next time is faster? Quick 5 questions:

1. What's your home airport? (e.g. LHR, JFK, LAX)

2. Any preferred airlines? (comma-separated, or "none")

3. Default budget range per person? (e.g. "under 500", "flexible", "100-300")

4. Preferred class? (economy / premium economy / business / first)

5. Preferred booking platform? (skyscanner / google-flights / kayak)

Parse response and use sensible defaults for skipped fields:

  • home_airport: "LHR"
  • preferred_airlines: []
  • budget: "flexible"
  • class: "economy"
  • platform: "skyscanner"

Write .claude/trip-planner.md config (see Config Structure below).

Saved to .claude/trip-planner.md

Run /trip-planner anytime — just describe where you want to go.

Exit after onboarding.


Regular Flow (Every Subsequent Run)

FAST approach — no questions, just recommend:

  1. Parse intent from natural language
  2. Load config for defaults
  3. Run Assumption Engine (fill all gaps)
  4. Search for flights
  5. Present recommendations with booking links

Step 1: Parse Intent

Extract from the user's message:

  • Destination(s) — city names, airport codes, or countries
  • Dates — explicit dates, relative dates ("next month"), or vague ("in April")
  • Budget — explicit amounts or qualifiers ("cheap", "under 300")
  • Class — economy, premium economy, business, first
  • Passengers — number and type (adults, children, infants)
  • Preferences — direct flights, specific airlines, time of day, layover preferences
  • Multi-city — detect "A → B → C → A" or "then" patterns

If the user just names a destination with no other details, that's fine — the Assumption Engine handles the rest.

Step 2: Load Config

Read .claude/trip-planner.md for user defaults.

See references/config-guide.md for configuration options.

Fallback defaults (if config missing or incomplete):

  • name: ""
  • home_airport: "LHR"
  • class: "economy"
  • budget: "flexible"
  • currency: "GBP"
  • stops: "any"
  • preferred_airlines: []
  • platform: "skyscanner"

Step 3: Assumption Engine

Fill missing fields using this priority order:

  1. Explicit user input — what they said in this message
  2. Config file defaults — from .claude/trip-planner.md
  3. Contextual inference — smart guesses based on trip type:

- City break (European short-haul) → 3-4 days - Intercontinental → 7-10 days - Weekend trip → Friday-Sunday - "Holiday" / "vacation" → 7 days - Month mentioned but no dates → middle of month, flexible

  1. Smart defaults — final fallback:

- 1 adult - Economy - Flexible budget - Any stops - Home airport from config (or LHR) - Dates: 4 weeks from today, 7 days duration

Get current date: Run date command — do not rely on system date.

Show the Assumption Card (always — every assumption must be visible):

## Assumptions

| Field | Value | Source |
|-------|-------|--------|
| Destination | {dest} | You said |
| Origin | {origin} | Config / Default |
| Dates | {dates} | {source} |
| Passengers | {pax} | {source} |
| Class | {class} | {source} |
| Budget | {budget} | {source} |
| Stops | {stops} | {source} |

Anything wrong? Otherwise I'll search.

Wait for corrections or confirmation before searching.

If user corrects → update → re-show card → wait.

Step 4: Search

Run the Search Strategy (see below) with confirmed assumptions.

Step 5: Present

Use the output format from assets/templates/trip-recommendation.md.

Present 3-5 flight options across three categories:

  • Best Value — best balance of price, duration, and convenience
  • Cheapest — lowest price regardless of convenience
  • Fastest — shortest total travel time

Include direct booking links for each option.

Then offer corrections:

Want to adjust anything? I can re-search with different dates, budget, or preferences.

Corrections loop: User adjusts → re-run from Step 3 with updates → re-present.


Assumption Engine — Detail

The engine runs on every search. It produces a complete set of flight parameters from partial input.

Priority Order

User Input > Config > Context Inference > Smart Defaults

Context Inference Rules

SignalInference
European city + no datesCity break: 3-4 days
Intercontinental + no dates7-10 days
"Weekend" mentionedFriday evening → Sunday evening
"Holiday" / "vacation"7 days
Month only, no specific datesMiddle of month, flag as flexible
"Christmas" / "Easter" / "New Year"Standard holiday date ranges
"Summer" / "Winter"Peak month of that season
Return to origin in multi-cityRound trip, proportional days per city
"Cheap" / "budget" mentionedSort by price, flag budget airlines
"Direct" / "non-stop" mentionedFilter to direct flights only
No class mentioned + business destinationStill assume economy (don't upsell)

Destination Resolution

When user gives a city name:

  • Map to primary airport code(s)
  • For cities with multiple airports, include all (e.g. London → LHR/LGW/STN, Tokyo → NRT/HND, New York → JFK/EWR/LGA)
  • For countries or regions, map to capital or most common tourist airport

Date Handling

  • Always use date command for current date
  • "Next month" → 1st of next month + duration
  • "In March" → March 15 (mid-month) + duration, flag as flexible
  • "March 15" → exact date + duration
  • "March 15-18" → exact range
  • "Next weekend" → upcoming Friday-Sunday
  • No dates at all → 4 weeks from today + duration based on trip type

Search Strategy

Step A: Construct Booking URL

Build a Skyscanner URL (or platform from config) from parameters:

https://www.skyscanner.net/transport/flights/{origin}/{dest}/{depart_date}/{return_date}/?adults={n}&cabinclass={class}&currency={currency}

Skyscanner URL format:

  • Dates: YYMMDD (e.g. 260315 for March 15, 2026)
  • Origin/dest: airport codes lowercase (e.g. lhr, nrt)
  • Cabin class: economy, premiumeconomy, business, first

For multi-city, construct per-leg URLs.

Google Flights URL (if configured):

https://www.google.com/travel/flights?q=flights+from+{origin}+to+{dest}+on+{date}

Step B: WebSearch for Pricing

Run 2-3 WebSearch queries per leg to gather current pricing intelligence:

Query templates:

  • "flights {origin} to {dest} {month} {year} price"
  • "cheap flights {origin} to {dest} {month} {year}"
  • "{airline} {origin} {dest} {month} {year} fare" (if preferred airline set)

Parse results for:

  • Airlines operating the route
  • Approximate price ranges
  • Flight duration and stop information
  • Any deals or sales mentioned

Step C: WebFetch Booking Page (optional)

Attempt WebFetch on the constructed Skyscanner URL to get live pricing.

  • If successful: Extract specific flight options with prices
  • If blocked/failed: Gracefully fall back to WebSearch data. Do not retry or error — just note that prices are approximate

Step D: Compile Results

Merge data from WebSearch and WebFetch (if available):

  • Deduplicate by airline + route + approximate time
  • Sort into three categories: Best Value, Cheapest, Fastest
  • Include direct booking URL for each option
  • Flag any data as "approximate" if from WebSearch only vs live pricing

Multi-City Search

For multi-city trips (e.g. "London → Paris → Rome → London"):

  1. Decompose into individual legs
  2. Search each leg independently (can run WebSearch queries in parallel)
  3. Present combined itinerary overview + per-leg options
  4. Calculate total cost across all legs
  5. Provide individual booking links per leg AND a combined multi-city search link

Config Structure

Stored as .claude/trip-planner.md in user's working directory.

name: "Foluso"
home_airport: "LHR"

preferences:
  class: "economy"
  budget: "flexible"
  currency: "GBP"
  stops: "any"
  preferred_airlines: []
  time_preference: "any"    # morning / afternoon / evening / any

platform:
  primary: "skyscanner"     # skyscanner / google-flights / kayak

See references/config-guide.md for full field documentation.


Key Principles

  • Assume everything, show everything. Never ask a question when you can make a reasonable assumption. Always show what you assumed so the user can correct.
  • One hard requirement: destination. Everything else has a default. A user saying "flights to Tokyo" is enough to produce a full recommendation.
  • Value first, setup later. Search before asking for configuration. Onboarding creates value immediately.
  • Corrections over questions. Present assumptions, let user fix what's wrong. Faster than asking upfront.
  • Show your sources. Every assumption in the card has a "Source" column. Every price has a booking link.
  • Graceful degradation. If WebFetch fails, fall back to WebSearch. If WebSearch is sparse, still show what you have with booking links.
  • Always get current date. Run date command — do not rely on system date or knowledge cutoff.
  • Multi-city is first-class. Not an afterthought. Decompose, search per-leg, present combined.

File Paths

TypePath
Config.claude/trip-planner.md
Skill.claude/skills/trip-planner/SKILL.md
Brandingreferences/branding.md
Config Referencereferences/config-guide.md
Future Enhancementsreferences/future.md
Output Templateassets/templates/trip-recommendation.md

平台分布

Codex

36.83%
按下载量换算70

Claude

31.83%
按下载量换算60

Cursor

18.41%
按下载量换算35

Gemini CLI

8.66%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills