Flight Itinerary OCR for Openclaw

A specialized OCR tool designed to extract structured passenger and flight data from airline transport electronic ticket itineraries.

scnet-sugon
v1.0.5
Apr 16, 2026
0
923
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install flight-itinerary-ocr

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install flight-itinerary-ocr using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Flight Itinerary OCR?

The Flight Itinerary OCR skill is a robust technical solution for automating the extraction of data from travel documents. By leveraging the Sugon-Scnet API, this skill allows users to transform unstructured ticket images and PDFs into highly accurate, structured JSON data. It is specifically optimized for Openclaw Skills to handle the complexities of airline itineraries, ensuring that critical travel information is captured without manual data entry.

This skill is essential for developers building travel management bots or automated accounting systems. It processes various elements of an electronic ticket, including traveler identity, flight schedules, and detailed pricing breakdowns, providing a seamless integration path for any AI agent using Openclaw Skills.

Flight Itinerary OCR Use Cases

  • Automating travel expense claims by extracting fare, fuel surcharge, and tax data from digital receipts.
  • Syncing flight schedules and ticket numbers directly to corporate travel databases or personal calendars.
  • Verifying passenger identity and flight details for check-in automation or travel security workflows.
  • Batch processing historical flight records for travel data analytics and reporting within Openclaw Skills.

How Flight Itinerary OCR Works

  1. The user identifies a local image or PDF file of an airline ticket itinerary and passes the file path to the skill.
  2. The skill script authenticates with the Scnet API using the SCNET_API_KEY stored in the environment configuration.
  3. The file is uploaded to the OCR service where specialized models recognize fields such as passenger name, flight number, and price.
  4. The service returns a JSON object containing the identified fields along with confidence scores for each extraction.
  5. The skill outputs the structured data, making it ready for consumption by other tools or agents in the Openclaw Skills ecosystem.

Flight Itinerary OCR Setup

To get started with this skill for Openclaw Skills, ensure you have Python 3 and the requests library installed.

  1. Register at Scnet.cn to obtain your API Key.
  2. Install the required dependency:
pip install requests
  1. Create a config/.env file in the skill directory and add your credentials:
SCNET_API_KEY=your_scnet_api_key_here
SCNET_API_BASE=https://api.scnet.cn/api/llm/v1
  1. Set appropriate file permissions for your environment file to ensure security.

Flight Itinerary OCR Data Schema & Taxonomy

The skill produces a structured JSON output. Below are the key data points extracted from each itinerary:

Data Field Description
Passenger Name The full name of the traveler as shown on the ticket
ID Number The identification or passport number associated with the passenger
Flight Number The alphanumeric code identifying the specific flight
Route Origin and destination airport details
Price Breakdown Base fare, fuel surcharges, and civil aviation development funds
E-Ticket Number The unique 13-digit electronic ticket identifier

All results are contained within the data field of the response, specifically under the elements path defined by the Scnet API.

Flight Itinerary OCR Advanced Features

  • Support for common file formats including JPG, PNG, and PDF itineraries.
  • Integrated rate limiting management (10 QPS) with automated retry logic to handle API congestion.
  • Natural language trigger support, allowing users to invoke the skill via simple conversational commands.
  • Synchronous execution capabilities to ensure data integrity when used within complex Openclaw Skills automation chains.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*