Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

flightmapifyflightmapify 搜索

Agent Skill

flightmapify 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,468

周安装

106

GitHub Stars

公开资料未说明

下载量

865
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:flightmapify(flightmapify 搜索)
来源仓库:https://github.com/rudy2steiner/flightmapify
安装命令:
openclaw skills install flightmapify
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install flightmapify

简介

flightmapify 通过实时航班数据查找 cheapest 路线并生成交互式航线图。

  • 适用于旅行规划、地理可视化或多城市行程优化场景。
  • 整合价格与时间因素,输出直观地图界面供进一步分析。
  • 通过 clawhub 安装,专为 OpenClaw 设计,支持参数化查询输入。
  • 结果受机场开放状态与数据源覆盖范围限制,部分偏远地区可能缺失。

SKILL.md

name
flightmapify
version
1.4.6
description
Find cheapest flights and create interactive flight route maps with real-time flight search.
author
rudy2steiner
license
MIT
tags
[flights, maps, routing, flyai, travel, interactive]

FlightMapify Skill

Overview

FlightMapify creates interactive flight route maps that allow users to search for flights between cities and visualize flight paths on an interactive map. Unlike TravelMapify which focuses on ground travel routes, FlightMapify is specifically designed for air travel planning.

Features

  • Optimized server management with automatic port conflict resolution
  • Flask-based flight search server for robust API handling
  • Interactive flight search between origin and destination cities
  • Real-time flight data from FlyAI (Fliggy MCP)
  • Support for both direct and connecting flights with complete route information
  • Visual flight path display on Amap maps with animated markers
  • Direct booking links to Fliggy
  • Support for both domestic and international flights
  • Single-date input for simple flight queries
  • Enhanced UX with loading states, notifications, and auto-hiding messages
  • Professional error handling with user-friendly feedback
  • Environment variable configuration for API Key management
  • Complete connecting flight details including transfer cities, prices, and durations

Usage

Environment Setup

FlightMapify is an OpenClaw skill that supports optional user-configurable FlyAI API Key.

Configuration Options:

  1. User-provided API Key (Recommended - avoids rate limiting)

Get your API key from: https://flyai.open.fliggy.com/console

   export FLYAI_API_KEY=your_api_key_here
  1. FlyAI Built-in API Key (Default)

- If FLYAI_API_KEY is not configured, FlyAI will use its built-in default API key - Built-in key may have rate limits for frequent requests - No configuration required for basic usage

Environment Variables:

  • FLYAI_API_KEY: Your FlyAI API key for flight search (optional, recommended to avoid rate limits)
  • FLYAI_API_TOKEN: Alternative API token variable (optional)
  • FLYAI_TOKEN: Another API token variable for compatibility (optional)

Note: FLYAI_API_KEY is optional. If not set, FlyAI will use its built-in default API key, but this may be subject to rate limiting for frequent requests.

Generate Flight Map

# Generate a flight map between two cities
flightmapify --origin "北京" --destination "上海" --date "2026-04-22" --output flight-beijing-shanghai.html

Parameters

  • --origin: Departure city (required)
  • --destination: Arrival city (required)
  • --date: Travel date in YYYY-MM-DD format (required)
  • --output: Output HTML file name (required)
  • --port: HTTP server port (default: 9000)

Integration

FlightMapify integrates with the existing FlyAI skill for real-time flight search and booking capabilities. It uses Amap for map visualization and provides a clean, focused interface for flight planning.

API Keys

  • Amap API Key: Uses built-in default API key (no user key required)
  • Custom Amap Key: Set AMAP_API_KEY environment variable to use your own key

Local Server Architecture

  • Flight search server runs locally on dynamic ports
  • HTTP server serves from OpenClaw workspace directory
  • All URLs use localhost for security and simplicity

Technical Details

Server Architecture

  • Flight Search Server: Flask-based server on configurable port (default: 8790)
  • HTTP Server: Lightweight server for map display (default: 9000)
  • Port Management: Automatic port conflict resolution and server health checks

Flight Data

  • Direct Flights: Non-stop flights with price, duration, and booking links
  • Connecting Flights: Multi-segment flights with transfer cities, complete pricing, and duration
  • Route Visualization: Interactive map showing flight paths with animated markers
  • Real-time Data: Live search results from FlyAI API

Environment Variables

  • FLYAI_API_KEY: Your FlyAI API key for flight search (optional, recommended to avoid rate limits)
  • FLYAI_API_TOKEN: Alternative API token variable (optional)
  • FLYAI_TOKEN: Another API token variable for compatibility (optional)

Note: FLYAI_API_KEY is optional. If not set, FlyAI will use its built-in default API key, but this may be subject to rate limiting for frequent requests. Setting your own API key is recommended for production use or high-volume requests.

Changelog

Version 1.4.0 (2026-04-16)

  • ✅ Reverted to optional API Key configuration
  • ✅ Support for FlyAI built-in default API key (may have rate limits)
  • ✅ User-provided API Key recommended to avoid rate limiting
  • ✅ Updated documentation with clear configuration options
  • ✅ Enhanced input box width optimization for better UI
  • ✅ Fixed city suggestion box width for better UX

Version 1.3.0 (2026-04-16)

  • ✅ Removed default API Key - now requires explicit user configuration
  • ✅ Added clear error message when FLYAI_API_KEY is not set
  • ✅ Updated documentation to reflect required API Key configuration
  • ✅ Improved security by removing hardcoded API keys

Version 1.2.0 (2026-04-16)

  • ✅ Fixed connecting flight search functionality
  • ✅ Added complete connecting flight details (route cities, prices, durations)
  • ✅ Implemented OpenClaw skill configuration with user-configurable API Key
  • ✅ Added automatic fallback to default FlyAI API Key when not configured
  • ✅ Updated server manager to use Flask-based server
  • ✅ Enhanced server management with .env file support
  • ✅ Fixed API Key configuration issues (trial limit errors)
  • ✅ Improved error handling and user feedback
  • ✅ Removed flight-search-server-simple.py (now using Flask-based server exclusively)

Version 1.1.0

  • Initial release with basic flight search and map visualization

Examples

# Basic flight map
flightmapify --origin "北京" --destination "阿克苏" --date "2026-04-22" --output beijing-aksu-flight.html

# With custom port
flightmapify --origin "上海" --destination "乌鲁木齐" --date "2026-05-01" --output shanghai-urumqi-flight.html --port 8080

Troubleshooting Common Problems

🔴 "No flights found" or Empty Results

Possible Causes:

  • API Rate Limits: Built-in FlyAI API key has trial limits
  • Route Availability: Remote destinations may have limited flight options
  • Date Too Far: Airlines may not have published schedules for distant dates

Solutions:

  1. Get your own FlyAI API key from https://flyai.open.fliggy.com/console
   export FLYAI_API_KEY=your_api_key_here
  1. Try closer dates (within 3-6 months)
  2. Test with major city pairs first (Beijing-Shanghai, Guangzhou-Shenzhen)

🔴 404 File Not Found Error

Cause: HTML file generated in wrong directory

Solution:

  • The skill now uses dynamic workspace detection
  • Files are always generated in your OpenClaw workspace directory
  • Check that your workspace contains AGENTS.md or SOUL.md

🔴 Character Encoding Issues (乱码)

Symptoms: Chinese cities show as garbled text like "阿克苯"

Cause: URL parameter double-decoding

Solution:

  • This is fixed in version 1.4.0
  • Ensure you're using the latest version from ClawHub
  • If issues persist, restart your terminal session

🔴 Flight Search Server Won't Start

Symptoms: "Failed to start flight search server on port XXXX"

Causes & Solutions:

  1. Port already in use: Server automatically finds next available port
  2. Missing dependencies: Ensure flyai CLI is installed
   npm install -g @openclaw/flyai
  1. Permission issues: Run with appropriate permissions

🔴 API Key Configuration Issues

Problem: Still getting rate limits after setting API key

Solutions:

  1. Verify key is set correctly:
   echo $FLYAI_API_KEY
  1. Check FlyAI config file:
   cat ~/.flyai/config.json
  1. Use environment variable method (more reliable):
   export FLYAI_API_KEY=sk_your_actual_key
   flightmapify --origin "北京" --destination "上海" --date "2026-04-25" --output test.html

🔴 Map Not Loading or JavaScript Errors

Causes:

  • Amap API key issues
  • Network connectivity problems
  • Browser security restrictions

Solutions:

  1. Amap key is built-in - no user configuration needed
  2. Open HTML file via HTTP server (not file:// protocol)
  3. Check browser console for specific error messages

🟡 Performance Issues with Many Flights

Symptoms: Slow loading with routes having many connecting options

Solutions:

  • The system shows top 20 flights by default
  • Use direct flights only for faster results if needed
  • Close other browser tabs to free memory

🔧 Debugging Tips

  1. Check server logs:
   # Look for Python server output in your terminal
  1. Test FlyAI CLI directly:
   flyai search-flight --origin "北京" --destination "上海" --dep-date "2026-04-25"
  1. Verify file locations:
   ls -la ~/.openclaw/workspace/*.html
  1. Check port availability:
   lsof -i :9000  # Replace with your port

📞 When to Contact Support

Contact the skill maintainer if:

  • You've tried all troubleshooting steps above
  • The issue persists with major city pairs (Beijing-Shanghai)
  • You see consistent errors across different dates/routes
  • The HTML file generates but shows completely blank map

Include in your report:

  • OpenClaw version (openclaw --version)
  • Skill version (check SKILL.md)
  • Exact command used
  • Error messages from terminal
  • Screenshot of the HTML page (if applicable)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.15%
按下载量换算849

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills