← 返回 Skills 市场
lyz1990

Variflight

作者 Variflight · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1148
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install variflight
功能描述
Query flight information, train tickets, and travel data using Variflight (飞常准) HTTP API. Use when the user needs to (1) search flights by route or flight number, (2) check flight status and punctuality, (3) find train tickets, (4) get airport weather forecasts, (5) check flight prices, (6) plan multi-modal trips (flight+train), or (7) get flight comfort metrics (happiness index).
安全使用建议
What to check before installing: - Confirm the API key requirement: the code and SKILL.md require VARIFLIGHT_API_KEY, but the registry metadata lists none. Ask the publisher to update registry metadata (declare VARIFLIGHT_API_KEY as the primary credential). - Verify the source: SKILL.md suggests cloning from https://github.com/variflight-ai/variflight-skill.git and talks to https://ai.variflight.com. Confirm that those domains/repositories are official and trustworthy before providing any API key. - Inspect config files referenced (~/.variflight.json, ~/.config/variflight/config.json, ~/.openclaw/workspace/.env.variflight) to ensure they don't contain unrelated secrets. Prefer storing the Variflight key in a minimal-scope secret (CI secret store or a purpose-built config file) rather than broad shell rc files. - Run the scripts in a restricted environment (sandbox/VM/container) if you need to test them, and monitor network calls to confirm they only contact the expected host (ai.variflight.com). - If you need stronger assurance, request the maintainer to: (1) publish a homepage/source link in registry metadata, (2) explicitly declare required environment variables in the registry, and (3) provide a reproducible package (checked release on GitHub) so you can verify integrity. Why I labelled this suspicious: The functionality and code are coherent with the described purpose, but the registry metadata omission of the required API key and the code's reading of user config paths create an unexplained mismatch that should be resolved before trusting the skill with secrets.
功能分析
Type: OpenClaw Skill Name: variflight Version: 1.0.1 The OpenClaw AgentSkills skill bundle is benign. All shell scripts act as wrappers, safely passing arguments to the `variflight.py` Python script. The Python script correctly parses arguments, loads API keys from expected locations, and then securely serializes all user-provided parameters into a JSON body before making an HTTP POST request to a hardcoded, legitimate Variflight API endpoint (`https://ai.variflight.com/api/v1/mcp/data`) using `urllib.request`. There is no evidence of prompt injection in `SKILL.md` or `README.md`, no data exfiltration, no malicious execution (e.g., `eval`, `os.system`, `curl|bash`), and no attempts at persistence or obfuscation.
能力评估
Purpose & Capability
The skill's functionality (flight/train/weather queries) matches the included scripts and the Python wrapper which POSTs to https://ai.variflight.com/api/v1/mcp/data. However the registry metadata claims no required environment variables or primary credential, while the SKILL.md and the code clearly require VARIFLIGHT_API_KEY (and accept --api-key). This mismatch (no declared credential vs. code expecting an API key) is incoherent and should be fixed by the author.
Instruction Scope
Runtime instructions and scripts are narrowly scoped: they build JSON payloads and POST to the stated Variflight base URL. The wrapper looks for an API key via CLI arg, VARIFLIGHT_API_KEY env var, or a small set of config files (./.variflight.json, ~/.variflight.json, ~/.config/variflight/config.json) and a legacy OpenClaw path (~/.openclaw/workspace/.env.variflight). The code does not attempt arbitrary file collection or send data to unexpected endpoints, but it does read user config files (including the OpenClaw env file) to extract the API key.
Install Mechanism
There is no automated install spec in the registry (instruction-only). The README and SKILL.md suggest a git clone from github.com/variflight-ai/variflight-skill.git and copying scripts; included files are plain shell and Python using only standard libraries. No downloads from obscure URLs or archive extraction were observed in the package.
Credentials
The skill requires a single API credential (VARIFLIGHT_API_KEY) for the service it integrates with, which is reasonable. However the package metadata did not declare any required env vars or primary credential (contradiction). Additionally, the Python wrapper checks legacy OpenClaw env file (~/.openclaw/workspace/.env.variflight) and other config locations; while it only extracts VARIFLIGHT_API_KEY, reading that file could surface other environment data if the format differs. The absence of a declared primaryEnv in registry makes it unclear to the installer what secrets will be needed or where they will be read from.
Persistence & Privilege
The skill does not request permanent inclusion (always=false), does not modify other skills or system configs, and does not write persistent credentials to new locations. It only reads existing configuration files and environment variables to find an API key. Autonomous invocation is allowed by default but is not combined with other privilege-escalating behaviors.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install variflight
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /variflight 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Added OpenClaw support and improved documentation
v1.0.0
Initial release: HTTP API for flight/train/weather data
元数据
Slug variflight
版本 1.0.1
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Variflight 是什么?

Query flight information, train tickets, and travel data using Variflight (飞常准) HTTP API. Use when the user needs to (1) search flights by route or flight number, (2) check flight status and punctuality, (3) find train tickets, (4) get airport weather forecasts, (5) check flight prices, (6) plan multi-modal trips (flight+train), or (7) get flight comfort metrics (happiness index). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1148 次。

如何安装 Variflight?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install variflight」即可一键安装,无需额外配置。

Variflight 是免费的吗?

是的,Variflight 完全免费(开源免费),可自由下载、安装和使用。

Variflight 支持哪些平台?

Variflight 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Variflight?

由 Variflight(@lyz1990)开发并维护,当前版本 v1.0.1。

💬 留言讨论