跳到正文
TakoAPI
返回技能列表

flight-pricer

由 jrojas537 提供

Search & Research
586下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

A command-line interface (CLI) to search for flight prices using the Duffel API.

描述

该技能的功能

A CLI tool for searching flight prices via the Duffel API. Accepts IATA airport codes, travel dates, cabin class, and passenger count to return flight offers. Stores API credentials locally in a config file.

Wraps the Duffel API in a single command with persistent auth, so fare searches require no manual HTTP calls or session setup.

何时使用

  • Checking round-trip fares between two cities before booking
  • Filtering for non-stop first-class flights on a specific date
  • Comparing economy vs business class prices for a work trip
  • Searching multi-passenger fares for group travel
  • Automating fare lookups from an agent workflow

示例工作流

输入

User asks: Find non-stop first-class flights from Detroit to Miami, April 6-10, for 1 passenger

智能体
  1. 1

    Run flight-pricer config set --api-key <key> to authenticate

  2. 2

    Run flight-pricer search --from DTW --to MIA --depart 2026-04-06 --return 2026-04-10 --non-stop --cabin first

  3. 3

    Parse returned flight offers for price and itinerary details

  4. 4

    Present options to the user

输出

List of available non-stop first-class flight offers with prices and schedules

前置要求

  • Duffel API key

安装

clawhub install jrojas537/flight-pricer

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接