Documentation

Delta Trip Management CLI

delta-trip-pp-cli

Install

npx -y @mvanhorn/printing-press-library install delta-trip

Installs the CLI binary and the agent skill for Claude Code, Codex, Cursor, Gemini CLI, Copilot, and more. Add --cli-only or --skill-only for one half. Requires Node.

Documentation

Look up and manage Delta Air Lines trips by confirmation number — view all flights, seats, baggage, upgrade options, and flight details without logging in.

Learn more at Delta Trip.

Created by @paulbockewitz (Paul Bockewitz).

Quick Start

1. Install

See Install above.

2. Verify Setup

delta-trip-pp-cli doctor

This checks your configuration.

3. Try Your First Command

delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource

Usage

Run delta-trip-pp-cli --help for the full command reference and flag list.

Commands

baggage

Baggage information and tracking for a trip

  • delta-trip-pp-cli baggage - View baggage allowance and tracking info for a confirmation

flights

Flight details for a trip — departure, arrival, seat, fare class, operator

  • delta-trip-pp-cli flights - List all flights in a trip itinerary with details

seats

Seat assignment and upgrade eligibility per passenger per flight

  • delta-trip-pp-cli seats - View seat assignments and upgrade options for all passengers

trips

Delta trip lookup and management by confirmation number

  • delta-trip-pp-cli trips - Look up a trip by confirmation number, first name, and last name

Output Formats

# Human-readable table (default in terminal, JSON when piped)
delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource

# JSON for scripting and agents
delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource --json

# Filter to specific fields
delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource --json --select id,name,status

# Dry run — show the request without sending
delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource --dry-run

# Agent mode — JSON + compact + no prompts in one flag
delta-trip-pp-cli flights --confirmation example-value --first-name example-resource --last-name example-resource --agent

Agent Usage

This CLI is designed for AI agent consumption:

  • Non-interactive - never prompts, every input is a flag
  • Pipeable - --json output to stdout, errors to stderr
  • Filterable - --select id,name returns only fields you need
  • Previewable - --dry-run shows the request without sending
  • Read-only by default - this CLI does not create, update, delete, publish, send, or mutate remote resources
  • Offline-friendly - sync/search commands can use the local SQLite store when available
  • Agent-safe by default - no colors or formatting unless --human-friendly is set

Exit codes: 0 success, 2 usage error, 3 not found, 5 API error, 7 rate limited, 10 config error.

Health Check

delta-trip-pp-cli doctor

Verifies configuration and connectivity to the API.

Configuration

Config file: ``

Static request headers can be configured under headers; per-command header overrides take precedence.

Troubleshooting

Not found errors (exit code 3)

  • Check the resource ID is correct
  • Run the list command to see available items

Browser Requirement

This CLI opens a visible Chrome window to fetch trip data from delta.com. The delta.com WAF blocks headless/automated HTTP clients, so a real Chrome browser session is required. Chrome must be installed on the system.

The browser window closes automatically after the trip data is retrieved. Subsequent calls within the 4-hour cache TTL are instant and require no browser.


Generated by CLI Printing Press

For agents: pass /documentation/delta-trip/agents.md to install this CLI from a prompt.