跳到正文
cccskills
免费在 GitHub 公开

aerobase-flights

Search, score, and compare flights with jetlag impact analysis.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md6.7 KB
  • README.md3.7 KB
  • requirements.txt18 B
  • tools/aerobase.py15.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Aerobase Flights Skill

Search and analyze flights with jetlag scoring for healthier travel.

Authentication

Set AEROBASE_API_KEY as an environment variable:

export AEROBASE_API_KEY="ak_xxxxxxxx"

Get your API key from https://aerobase.app/connect

API Base URL

https://aerobase.app/api

Tools


1. Search Flights

Find flights between destinations with jetlag scoring.

Command:

curl -X POST https://aerobase.app/api/v1/flights/search \
  -H "Authorization: Bearer $AEROBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "LAX",
    "to": "NRT",
    "date": "2026-04-15",
    "cabin": "economy",
    "sort": "jetlag",
    "limit": 10
  }'

Parameters:

ParameterTypeDescription
fromstringOrigin IATA code (e.g., LAX)
tostringDestination IATA code (e.g., NRT)
datestringDeparture date (YYYY-MM-DD)
returnDatestringOptional return date
cabinstringeconomy, premium_economy, business, first
sortstringjetlag, price, duration
limitnumberResults to return (free=5, pro=50)

Response includes: flight details + jetlag_score, recovery_days, direction


2. Score a Flight

Get detailed jetlag analysis for a specific flight.

Command:

curl -X POST https://aerobase.app/api/v1/flights/score \
  -H "Authorization: Bearer $AEROBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "LAX",
    "to": "NRT",
    "departure": "2026-04-15T08:00:00-07:00",
    "arrival": "2026-04-16T14:30:00+09:00",
    "cabin": "business"
  }'

Parameters:

ParameterTypeDescription
fromstringOrigin IATA code
tostringDestination IATA code
departurestringISO 8601 with offset
arrivalstringISO 8601 with offset
cabinstringeconomy, premium_economy, business, first
chronotypestringearly_bird, night_owl, normal

Response includes:

  • score (0-100, higher is better)
  • tier: excellent|good|moderate|poor|severe
  • recovery_days
  • direction: east|west
  • timezone_shift_hours
  • breakdown (timezoneShift, departureTime, arrivalTime, duration, cabinComfort)
  • strategies (departure, arrival, shift, recovery)
  • tips

3. Compare Flights

Compare 2-10 flights side by side.

Command:

curl -X POST https://aerobase.app/api/v1/flights/compare \
  -H "Authorization: Bearer $AEROBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "flights": [
      {"from": "JFK", "to": "LHR", "departure": "2026-04-15T18:00:00-04:00", "arrival": "2026-04-16T07:00:00+01:00", "label": "Evening departure"},
      {"from": "JFK", "to": "LHR", "departure": "2026-04-15T22:00:00-04:00", "arrival": "2026-04-16T11:00:00+01:00", "label": "Red-eye"}
    ]
  }'

4. Recovery Plan

Generate personalized jetlag recovery plan.

Command:

curl -X POST https://aerobase.app/api/v1/recovery/plan \
  -H "Authorization: Bearer $AEROBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "LAX",
    "to": "NRT",
    "departure": "2026-04-15T08:00:00-07:00",
    "arrival": "2026-04-16T14:30:00+09:00",
    "arrival_commitments": [
      {"event": "Board Meeting", "time": "2026-04-17T09:00:00+09:00"}
    ]
  }'

Response includes:

  • pre_flight_schedule (days before departure)
  • during_flight recommendations
  • post_arrival_schedule
  • commitment_risks (if meetings provided)

5. Get Travel Deals

Find jetlag-scored travel deals.

Command:

curl "https://aerobase.app/api/v1/deals?departure=LAX&max_price=600&sort=jetlag_score&limit=10" \
  -H "Authorization: Bearer $AEROBASE_API_KEY"

Parameters:

ParameterTypeDescription
departurestringOrigin IATA code
destinationstringDestination IATA code
max_pricenumberMaximum price in USD
sortstringvalue_score, price, jetlag_score, newest
limitnumberResults (free=3, pro=50)

6. Airport Info

Get airport details with facilities.

Command:

curl "https://aerobase.app/api/v1/airports/JFK" \
  -H "Authorization: Bearer $AEROBASE_API_KEY"

7. Hotel Search

Find jetlag-friendly hotels near airport.

Command:

curl "https://aerobase.app/api/v1/hotels?airport=NRT&jetlagFriendly=true" \
  -H "Authorization: Bearer $AEROBASE_API_KEY"

8. Lounge Search

Find airport lounges.

Command:

curl "https://aerobase.app/api/v1/lounges?airport=LHR" \
  -H "Authorization: Bearer $AEROBASE_API_KEY"

9. Itinerary Analysis

Analyze multi-leg trips for cumulative jetlag.

Command:

curl -X POST https://aerobase.app/api/v1/itinerary/analyze \
  -H "Authorization: Bearer $AEROBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "legs": [
      {"from": "LAX", "to": "NRT", "departure": "...", "arrival": "..."},
      {"from": "NRT", "to": "SIN", "departure": "...", "arrival": "..."}
    ]
  }'

Jetlag Score Guide

ScoreTierRecovery
80-100Excellent0-2 days
60-79Good2-3 days
40-59Moderate3-5 days
20-39Poor5-7 days
0-19Severe7+ days

Response Format

All responses:

{
  "data": { ... },
  "meta": {
    "request_id": "uuid",
    "tier": "free|pro|concierge|api",
    "calls_remaining": 95,
    "latency_ms": 234
  }
}

Error Handling

Common error codes:

  • INVALID_API_KEY - Check your API key
  • VALIDATION_ERROR - Invalid parameters
  • RATE_LIMIT_EXCEEDED - Upgrade tier
  • TIER_REQUIRED - Endpoint needs higher tier

Rate Limits

TierDaily Calls
Free100
Pro1,000
Concierge10,000
APIUnlimited

Presenting Results

Show the jetlag score prominently:

✈️ UA870 LAX → NRT
   Score: 72/100 (Good) | Recovery: 3 days
   Dep: 11:00 AM | Arr: 2:30 PM (+1 day)
   💡 Red-eye aligns with natural sleep

Tips

  • Always lead with the jetlag score
  • Recommend flights with scores 60+ for business travel
  • For important meetings, flag if score < 50
  • Sort searches by "jetlag" for healthiest options

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

0xarchive

免费

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

0xwork

免费

Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, check earnings or wallet balance, or set up as a 0xWork worker. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: posting tasks (use the website), managing the 0xWork platform, or frontend development.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

查看 modbender 的全部技能

报告此技能的问题