# Send Amadeus Flight Query to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "amadeus-flights",
    "name": "Amadeus Flight Query",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/kirorab/amadeus-flights",
    "canonicalUrl": "https://clawhub.ai/kirorab/amadeus-flights",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/amadeus-flights",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=amadeus-flights",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/airports.mjs",
      "scripts/query.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "amadeus-flights",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T23:21:15.463Z",
      "expiresAt": "2026-05-06T23:21:15.463Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=amadeus-flights",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=amadeus-flights",
        "contentDisposition": "attachment; filename=\"amadeus-flights-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "amadeus-flights"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/amadeus-flights"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/amadeus-flights",
    "downloadUrl": "https://openagent3.xyz/downloads/amadeus-flights",
    "agentUrl": "https://openagent3.xyz/skills/amadeus-flights/agent",
    "manifestUrl": "https://openagent3.xyz/skills/amadeus-flights/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/amadeus-flights/agent.md"
  }
}
```
## Documentation

### Flight Query (Amadeus)

Query real-time flight offers including price, schedule, stops, and seat availability.

### Setup

Set environment variables (or hardcoded defaults are used):

export AMADEUS_API_KEY=your_key
export AMADEUS_API_SECRET=your_secret
# For production (real data):
export AMADEUS_BASE_URL=https://api.amadeus.com

### Query Flights

node {baseDir}/scripts/query.mjs <FROM_IATA> <TO_IATA> [-d YYYY-MM-DD] [options]

### Examples

# Hong Kong to Shanghai
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25

# Direct flights only
node {baseDir}/scripts/query.mjs SWA HGH -d 2026-02-24 --direct

# Business class
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25 -c BUSINESS

# JSON output
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25 --json

### Options

-d, --date <YYYY-MM-DD>: Departure date (default: today)
-a, --adults <n>: Number of adults (default: 1)
-c, --class <class>: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
--direct: Non-stop flights only
-n, --max <n>: Max results (default: 20)
--currency <code>: Currency code (default: CNY)
--json: Raw JSON output

### Airport Lookup

node {baseDir}/scripts/airports.mjs 揭阳    # → SWA
node {baseDir}/scripts/airports.mjs 杭州    # → HGH
node {baseDir}/scripts/airports.mjs tokyo   # API lookup

Built-in mappings for 40+ Chinese cities. Falls back to Amadeus API for others.

### Notes

Test environment returns simulated data; production returns real prices
Switch to production: set AMADEUS_BASE_URL=https://api.amadeus.com
Free tier: 2000 calls/month (production)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: kirorab
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T23:21:15.463Z
- Expires at: 2026-05-06T23:21:15.463Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/amadeus-flights)
- [Send to Agent page](https://openagent3.xyz/skills/amadeus-flights/agent)
- [JSON manifest](https://openagent3.xyz/skills/amadeus-flights/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/amadeus-flights/agent.md)
- [Download page](https://openagent3.xyz/downloads/amadeus-flights)