# Send Duffel Flights 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": "duffel",
    "name": "Duffel Flights",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/fabiolr/duffel",
    "canonicalUrl": "https://clawhub.ai/fabiolr/duffel",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/duffel",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=duffel",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/api-guide.md",
      "references/booking-flow.md",
      "scripts/duffel.py",
      "scripts/requirements.txt"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "duffel",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T18:14:58.727Z",
      "expiresAt": "2026-05-09T18:14:58.727Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=duffel",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=duffel",
        "contentDisposition": "attachment; filename=\"duffel-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "duffel"
      },
      "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/duffel"
    },
    "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/duffel",
    "downloadUrl": "https://openagent3.xyz/downloads/duffel",
    "agentUrl": "https://openagent3.xyz/skills/duffel/agent",
    "manifestUrl": "https://openagent3.xyz/skills/duffel/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/duffel/agent.md"
  }
}
```
## Documentation

### Duffel Flights

Search, book, and manage flights across 300+ airlines via the Duffel API.

### Setup

Set DUFFEL_TOKEN env var with your Duffel API access token.
Get one at https://app.duffel.com → Developers → Access Tokens.
Test tokens (prefix duffel_test_) use sandbox data with unlimited balance.

### Search flights

python scripts/duffel.py search --from MIA --to LHR --date 2026-04-15
python scripts/duffel.py search --from MIA --to CDG --date 2026-03-15 --return-date 2026-03-22 --cabin business
python scripts/duffel.py search --from JFK --to LAX --date 2026-05-01 --nonstop --adults 2

Options: --cabin economy|premium_economy|business|first, --nonstop, --adults N, --children N, --infants N, --sort price|duration, --max-results N, --json

Results are numbered. Use the number with other commands.

### View offer details

python scripts/duffel.py offer 3

Shows segments, baggage, fare conditions (refund/change), available extras.

### Book a flight

python scripts/duffel.py book 3 --pax "RIBEIRO/FABIO MR 1977-01-31 fabio@ribei.ro +13059159687 BR m"

Pax format: LAST/FIRST TITLE DOB EMAIL PHONE NATIONALITY GENDER

TITLE: MR, MRS, MS, MISS, DR
GENDER: m or f
Multiple passengers: repeat --pax "..." for each

Payment uses Duffel account balance. Top up at https://app.duffel.com.

### Check order status

python scripts/duffel.py order ord_0000XXXXX

### Cancel order

python scripts/duffel.py cancel ord_0000XXXXX           # Quote (shows refund amount)
python scripts/duffel.py cancel ord_0000XXXXX --confirm  # Execute cancellation

### Seat map

python scripts/duffel.py seatmap 3

### Airport/city lookup

python scripts/duffel.py places "new york"

### Typical workflow

search → browse numbered results
offer N → check details, baggage, conditions
book N --pax "..." → get PNR
order <id> → verify booking
cancel <id> → if needed

### Notes

Offers expire (usually ~20 min). Re-search if expired.
Test mode: unlimited balance, bookings on "Duffel Airways" (fake airline).
Production: real airlines, real tickets. Balance must be funded.
All commands support --json for raw API output.
Last search saved to /tmp/duffel-last-search.json for index reference.
For API details, see references/api-guide.md and references/booking-flow.md.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: fabiolr
- 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-05-02T18:14:58.727Z
- Expires at: 2026-05-09T18:14:58.727Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/duffel)
- [Send to Agent page](https://openagent3.xyz/skills/duffel/agent)
- [JSON manifest](https://openagent3.xyz/skills/duffel/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/duffel/agent.md)
- [Download page](https://openagent3.xyz/downloads/duffel)