← Back to Skills Marketplace
167
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install tripai-skill
Description
官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tripai-skill - After installation, invoke the skill by name or use
/tripai-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
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)获取与配置步骤
- 提供通用查询格式及参数说明,便于快速集成
Metadata
Frequently Asked Questions
What is TripAI?
官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。 It is an AI Agent Skill for Claude Code / OpenClaw, with 167 downloads so far.
How do I install TripAI?
Run "/install tripai-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is TripAI free?
Yes, TripAI is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does TripAI support?
TripAI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created TripAI?
It is built and maintained by trips-ai (@trips-ai); the current version is v1.0.4.
More Skills