技能详情(站内镜像,无评论)
作者:Alessandro @aaureli
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.0
统计:⭐ 0 · 152 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:aaureli/air-train-ev
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The code and instructions match the described flight/train/EV functionality, but the package metadata omits required API credentials and the source is unknown—this inconsistency warrants caution.
目的
The skill's name/description align with what the scripts do: Amadeus for flights, Navitia for journeys, Open Charge Map for EV points. However, the registry metadata reported “Required env vars: none” while SKILL.md and the scripts require API credentials (AMADEUS_CLIENT_ID/SECRET, NAVITIA_TOKEN, OPENCHARGEMAP_API_KEY). That metadata omission is inconsistent and could mislead users about secret requirements.
说明范围
SKILL.md instructs running the bundled Python scripts which only perform HTTP requests to the listed provider APIs. The scripts do not read arbitrary system files, nor do they exfiltrate data to unexpected endpoints. They optionally write a local JSON dump file if --dump is used. One minor note: ev_charge_points.py sets a User-Agent header including an email address (alessandro@update.solutions), which will be sent to remote services and could…
安装机制
There is no install spec — this is instruction-only with three Python scripts included. No downloads, package managers, or archive extraction are used. The scripts rely only on Python stdlib and do not install additional software.
证书
Requested credentials (Amadeus client id/secret, Navitia token, Open Charge Map key) are appropriate and limited to the services the skill integrates with. There are no unrelated credentials requested. However, the registry metadata claiming 'no required env vars' conflicts with the SKILL.md and code that enforce these environment variables; that inconsistency reduces trust and should be resolved before use.
持久
The skill does not request permanent presence (always:false) and does not modify other skills or system-wide settings. It does not create background services or persistent agents.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「air-train-ev」。简介:Provides flight prices with Amadeus, train itineraries and schedules with Navit…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaureli/air-train-ev/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: air-train-ev
description: Unified travel + mobility skill: (1) flight pricing with Amadeus (flight offers), (2) public transport/train journey planning with Navitia (journeys, departures), and (3) find nearby EV charge points using Open Charge Map. Use when Alessandro asks for flight prices, train itineraries/schedules, or EV charging stations.
---
# Air + Train + EV
## Credentials (env)
Do not hardcode keys in scripts.
### Flights (Amadeus)
- `AMADEUS_CLIENT_ID`
- `AMADEUS_CLIENT_SECRET`
- Optional: `AMADEUS_HOST` (default `https://api.amadeus.com`)
### Trains / public transport (Navitia)
- `NAVITIA_TOKEN`
- Optional: `NAVITIA_HOST` (default `https://api.navitia.io`)
- Optional: `NAVITIA_COVERAGE` (default `sandbox`)
### EV charge points (Open Charge Map)
- `OPENCHARGEMAP_API_KEY`
- Optional: `OPENCHARGEMAP_HOST` (default `https://api.openchargemap.io`)
## Flights — quick usage
```bash
python3 skills/air-train-ev/scripts/flight_offers.py
--origin ZRH --destination IST
--departure 2026-03-10
--adults 1 --travel-class ECO
--non-stop true
--included-airlines PC,VF,TK
--max 6
```
Output formatting is fixed:
- Dates/times: `DD/MM/YY HH:MM`
- EUR prices use `€`
## Train journeys — quick usage
```bash
python3 skills/air-train-ev/scripts/navitia.py coverage
python3 skills/air-train-ev/scripts/navitia.py places --q "Strasbourg"
python3 skills/air-train-ev/scripts/navitia.py journeys --from "Strasbourg" --to "Rennes" --datetime "2026-03-07T08:00:00" --count 5
```
## EV charge points — quick usage
```bash
python3 skills/air-train-ev/scripts/ev_charge_points.py
--lat 48.5839 --lon 7.7455
--km 5 --max 10
```
Notes:
- This uses Open Charge Map `GET /v3/poi/`.
- Returned results include operator/title, address, distance (when available), connector types, and coordinates.