← 返回 Skills 市场
trips-ai

TripAI

作者 trips-ai · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
167
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install tripai-skill
功能描述
官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。
安全使用建议
This skill appears coherent for a Ctrip travel-api integration, but review these before enabling: 1) Confirm you obtained TRIPAI_API_KEY from the official Ctrip link in SKILL.md and that the endpoint (wendao-skill-prod.ctrip.com) is expected. 2) Be aware the skill will persist your API key in plaintext at ~/.config/tripai-skill/api_key; if that is a concern, prefer setting the env var at runtime and avoid letting the agent write the file. 3) If you keep the file, set restrictive permissions (chmod 600) and delete/rotate the key if you later revoke access. 4) The skill makes network calls to Ctrip — only install if you trust the service and the published homepage. 5) Because this is instruction-only, there is no bundled code to review; ensure the runtime environment's curl/jq binaries are from trusted sources.
功能分析
Type: OpenClaw Skill Name: tripai-skill Version: 1.0.4 The skill provides an interface to Ctrip's 'Wendao' AI travel service, allowing users to query travel information via a natural language interface. It follows standard practices by requiring an API key (TRIPAI_API_KEY) and optionally storing it in a local configuration file (~/.config/tripai-skill/api_key). The core logic involves sending user queries via curl to a legitimate Ctrip endpoint (wendao-skill-prod.ctrip.com). No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or _meta.json.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (Ctrip travel queries) match the declared requirements: a single API key and CLI tools (curl, jq, cat, echo) needed to format JSON and call the remote API. No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md instructs the agent to read TRIPAI_API_KEY (env) and/or ~/.config/tripai-skill/api_key, optionally write the env value into that config file, then POST {token,query,source} to https://wendao-skill-prod.ctrip.com/skill/query using curl. This stays within the travel-query scope, but it explicitly persists the API key to the user's home directory (side effect). It also uses a $USER_QUERY variable (expected for runtime queries).
Install Mechanism
No install spec or downloaded code — instruction-only skill. This minimizes disk/installation risk.
Credentials
Only TRIPAI_API_KEY is required and declared as the primary credential, which is proportionate to the stated purpose. The skill stores this key in plaintext under ~/.config/tripai-skill/api_key by default, which is functional but less secure than protected storage.
Persistence & Privilege
always:false and it does not request system-wide privileges or modify other skills. However, it creates a config directory and writes the API key to disk under the user's home, producing persistent sensitive state that the user should be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tripai-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tripai-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Improved credential setup: now supports loading API Key from a config file (`~/.config/tripai-skill/api_key`) with environment variable as fallback. - Updated setup instructions to guide users on both config file and environment variable methods. - Added `cat` and `echo` to required system binaries. - Documented credential priority (env → config file) and provided sample shell code for credential loading.
v1.0.3
- 增加了 `source: "clawhub"` 字段到通用查询的 API 调用示例。 - 其他内容未发生变化。
v1.0.2
- 增加详细说明文档(SKILL.md),涵盖所有功能、适用场景和使用方法 - 明确各类旅游服务支持的中文自然语言查询能力 - 明确 API key(token)获取与配置步骤 - 提供通用查询格式及参数说明,便于快速集成
元数据
Slug tripai-skill
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

TripAI 是什么?

官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 167 次。

如何安装 TripAI?

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

TripAI 是免费的吗?

是的,TripAI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TripAI 支持哪些平台?

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

谁开发了 TripAI?

由 trips-ai(@trips-ai)开发并维护,当前版本 v1.0.4。

💬 留言讨论