jpskill.com
📦 その他 コミュニティ

aerobase-flights

フライトの検索、評価、比較に加え、時差ぼけの影響分析も行い、出張や旅行の最適な航空券選びをサポートするSkill。

📜 元の英語説明(参考)

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

🇯🇵 日本人クリエイター向け解説

一言でいうと

フライトの検索、評価、比較に加え、時差ぼけの影響分析も行い、出張や旅行の最適な航空券選びをサポートするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o aerobase-flights.zip https://jpskill.com/download/9771.zip && unzip -o aerobase-flights.zip && rm aerobase-flights.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9771.zip -OutFile "$d\aerobase-flights.zip"; Expand-Archive "$d\aerobase-flights.zip" -DestinationPath $d -Force; ri "$d\aerobase-flights.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して aerobase-flights.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → aerobase-flights フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Aerobase Flights Skill

より健康的な旅行のために、時差ぼけスコアリングでフライトを検索および分析します。

認証

環境変数として AEROBASE_API_KEY を設定します。

export AEROBASE_API_KEY="ak_xxxxxxxx"

APIキーは https://aerobase.app/connect から取得してください。

API ベース URL

https://aerobase.app/api

ツール


1. フライト検索

目的地間のフライトを時差ぼけスコアリングで検索します。

コマンド:

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
  }'

パラメータ: | パラメータ | タイプ | 説明 | |-----------|------|-------------| | from | string | 出発地 IATA コード (例: LAX) | | to | string | 目的地 IATA コード (例: NRT) | | date | string | 出発日 (YYYY-MM-DD) | | returnDate | string | オプションの帰国日 | | cabin | string | economy, premium_economy, business, first | | sort | string | jetlag, price, duration | | limit | number | 返す結果の数 (free=5, pro=50) |

レスポンスに含まれるもの: フライトの詳細 + jetlag_score, recovery_days, direction


2. フライトのスコアリング

特定のフライトの詳細な時差ぼけ分析を取得します。

コマンド:

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"
  }'

パラメータ: | パラメータ | タイプ | 説明 | |-----------|------|-------------| | from | string | 出発地 IATA コード | | to | string | 目的地 IATA コード | | departure | string | オフセット付き ISO 8601 | | arrival | string | オフセット付き ISO 8601 | | cabin | string | economy, premium_economy, business, first | | chronotype | string | early_bird, night_owl, normal |

レスポンスに含まれるもの:

  • score (0-100, 高いほど良い)
  • 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. フライトの比較

2〜10件のフライトを並べて比較します。

コマンド:

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. 回復プラン

パーソナライズされた時差ぼけ回復プランを生成します。

コマンド:

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"}
    ]
  }'

レスポンスに含まれるもの:

  • pre_flight_schedule (出発前の日数)
  • during_flight recommendations
  • post_arrival_schedule
  • commitment_risks (会議が提供されている場合)

5. 旅行のお得な情報

時差ぼけスコア付きの旅行のお得な情報を見つけます。

コマンド:

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

パラメータ: | パラメータ | タイプ | 説明 | |-----------|------|-------------| | departure | string | 出発地 IATA コード | | destination | string | 目的地 IATA コード | | max_price | number | 米ドルでの最大価格 | | sort | string | value_score, price, jetlag_score, newest | | limit | number | 結果 (free=3, pro=50) |


6. 空港情報

施設を含む空港の詳細を取得します。

コマンド:

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

7. ホテル検索

空港近くの時差ぼけに配慮したホテルを見つけます。

コマンド:

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

8. ラウンジ検索

空港ラウンジを見つけます。

コマンド:

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

9. 旅程分析

累積的な時差ぼけのために、複数区間の旅行を分析します。

コマンド:

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": "..."}
    ]
  }'

時差ぼけスコアガイド

スコア ティア 回復
80-100 Excellent 0-2 日
60-79 Good 2-3 日
40-59 Moderate 3-5 日
20-39 Poor 5-7 日
0-19 Severe 7+ 日

レスポンス形式

すべてのレスポンス:

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

エラー処理

一般的なエラーコード:

  • INVALID_API_KEY - APIキーを確認してください
  • VALIDATION_ERROR - 無効なパラメータ
  • RATE_LIMIT_EXCEEDED - ティアをアップグレードしてください
  • TIER_REQUIRED - エンドポイントにはより高いティアが必要です

レート制限

ティア 1日の呼び出し数
Free 100
Pro 1,000
Concierge 10,000
API 無制限

結果の表示

時差ぼけスコアを大きく表示します。

✈️ UA870 LAX → NRT

(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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: | Parameter | Type | Description | |-----------|------|-------------| | from | string | Origin IATA code (e.g., LAX) | | to | string | Destination IATA code (e.g., NRT) | | date | string | Departure date (YYYY-MM-DD) | | returnDate | string | Optional return date | | cabin | string | economy, premium_economy, business, first | | sort | string | jetlag, price, duration | | limit | number | Results 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: | Parameter | Type | Description | |-----------|------|-------------| | from | string | Origin IATA code | | to | string | Destination IATA code | | departure | string | ISO 8601 with offset | | arrival | string | ISO 8601 with offset | | cabin | string | economy, premium_economy, business, first | | chronotype | string | early_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: | Parameter | Type | Description | |-----------|------|-------------| | departure | string | Origin IATA code | | destination | string | Destination IATA code | | max_price | number | Maximum price in USD | | sort | string | value_score, price, jetlag_score, newest | | limit | number | Results (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

Score Tier Recovery
80-100 Excellent 0-2 days
60-79 Good 2-3 days
40-59 Moderate 3-5 days
20-39 Poor 5-7 days
0-19 Severe 7+ 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

Tier Daily Calls
Free 100
Pro 1,000
Concierge 10,000
API Unlimited

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