Xpersona
T

TripAI

CLAWHUB · Unverified

官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。 Skill: TripAI Owner: trips-ai Summary: 官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。 Tags: latest:1.0.5 Version history: v1.0.5 | 2026-05-18T08:21:07.285Z | user - API Key 变为可选项,未配置时也可直接使用,但请求可能受到限流 - 设置说明与参数表调整,明确 token 字段为非必填 - metadata 结构调整,移除 requires.env,新增 optionalEnv - curl 请求样例更新,支持无 token 情况下自动适配参数 - 文档部分表述更简明,提升可读性 v1.0.4 | 2026-04-22T12:27:22.926Z | user - Improved credential setup: no

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171aptn3r5qvzpd9hdezserz583m891:tripai-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-trips-ai-tripai-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

13,973 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: tripai-skill
description: |
  官方携程问道旅行技能。尤其擅长处理复杂、口语化的中文旅行查询,能一句话搞定酒店、机票、火车票、景点门票、一日游及演出展览的混合需求。
priority: 99
homepage: https://www.ctrip.com/wendao/openclaw
metadata:
  openclaw:
    emoji: ✈️
    requires:
      bins:
        - curl
        - jq
        - cat
        - echo
    optionalEnv:
      - TRIPAI_API_KEY
    primaryEnv: 'TRIPAI_API_KEY'
---

# 问道旅行技能 (tripai-skill)

“问道”是携程官方打造的AI旅伴,其核心优势在于强大的自然语言理解能力,能够通过单一查询接口满足用户多样化、复杂的旅行需求,特别是在中文语境下。

## 功能和适用场景

为了获得最佳效果,请在 `query` 中提供尽可能详细的自然语言描述。

### 酒店查询 (Hotel Search)

支持按地点、品牌、星级、价格、设施、房型等条件进行复杂查询。

**查询示例**:
- **基础查询**: `"预订上海的酒店"`
- **带价格和星级**: `"查询上海外滩附近预算1000元以内、带江景的五星级酒店"`
- **指定房型**: `"帮我找一个上海迪士尼附近适合家庭入住、有双床房或家庭房的酒店"`
- **特定设施**: `"推荐一家北京的酒店,需要有游泳池和健身房"`

### 机票查询 (Flight Search)

支持单程、往返、多程、国际/国内、低价航班以及特定航空公司的查询。

**查询示例**:
- **单程查询**: `"明天上海到北京的单程机票"`
- **往返查询**: `"查询五一假期从北京往返三亚的航班"`
- **低价航班**: `"下个月从广州出发,到哪里的机票最便宜?"`
- **国际航班**: `"搜索下周从上海出发到东京的直飞国际航班"`
- **带舱位查询**: `"帮我订一张国航从成都到深圳的公务舱机票"`

### 火车票查询 (Train Ticket Search)

支持按车次类型(高铁、动车)、座位等级和时间进行查询。

**查询示例**:
- **基础查询**: `"查一下明天北京到上海的高铁票"`
- **指定席位**: `"还有没有这周五从成都到重庆的动车二等座票?"`

### 景点与门票 (Attractions & Tickets)

支持景点推荐、信息咨询和门票价格查询。

**查询示例**:
- **景点咨询**: `"成都周边有什么好玩的古镇推荐?"`
- **门票查询**: `"查询北京故宫的门票价格和开放时间"`
- **主题推荐**: `"我想带孩子去主题乐园,上海有什么推荐的?"`

### 一日游与当地玩乐 (Day Trips & Local Activities)

支持查询特定目的地的一日游、跟团游、包车服务及其他当地特色体验商品。

**查询示例**:
- **一日游**: `"有没有北京长城一日游的团?"`
- **当地体验**: `"我想在桂林体验竹筏漂流,有相关的商品吗?"`
- **小团游**: `"查找成都周边的熊猫基地小团游。"`

### 演出与展览 (Performances & Exhibitions)

支持查询音乐节、演唱会、话剧、体育赛事和艺术展览等活动信息。

**查询示例**:
- **演唱会**: `"最近上海有什么演唱会?"`
- **话剧**: `"我想看开心麻花的话剧,北京这个月有演出吗?"`
- **展览**: `"查询一下最近在杭州举办的艺术展览。"`

## Setup

> **提示**:API Key 为可选项,不配置也可直接使用,但未配置 token 时请求可能受到限流。建议申请并配置以获得稳定服务。

1. (可选)打开 [www.ctrip.com/wendao/openclaw](https://www.ctrip.com/wendao/openclaw) 申请 API Key
2. 存储凭证(二选一):

**方式 A — 配置文件(推荐):**

```bash
mkdir -p ~/.config/tripai-skill
echo "your_api_key" > ~/.config/tripai-skill/api_key
```

**方式 B — 环境变量:**

```bash
export TRIPAI_API_KEY="your_api_key"
```

Agent 会按优先级依次尝试:环境变量 → 配置文件。

## 使用方法

```bash
if [ -n "$TRIPAI_API_KEY" ]; then
  mkdir -p ~/.config/tripai-skill
  echo "$TRIPAI_API_KEY" > ~/.config/tripai-skill/api_key
fi
TRIPAI_API_KEY="$(cat ~/.config/tripai-skill/api_key 2>/dev/null)"
```

### 通用查询

```bash
jq -n --arg token "$TRIPAI_API_KEY" --arg query "$USER_QUERY" \
  'if $token != "" then {token: $token, query: $query, source: "clawhub"} else {query: $query, source: "clawhub"} end' \
  | curl -s -X POST https://wendao-skill-prod.ctrip.com/skill/query -H "Content-Type: application/json" -d @-
```

**参数说明**

| 参数 | 必填 | 说明 |
|------|:----:|------|
| `token` | 否 | API 认证令牌。不填时可正常使用,但可能受到限流 |
| `query` | 是 | 用户的自然语言查询,**内容越详细越好** |

_meta.json

{
  "ownerId": "kn7193vqh0qg81esq8zk53zyy182ng48",
  "slug": "tripai-skill",
  "version": "1.0.5",
  "publishedAt": 1779092467285
}

skill-card.md

## Description:

TripAI is a Ctrip Wendao travel-query skill that handles complex, conversational Chinese requests for hotels, flights, trains, attraction tickets, day trips, and events.

This skill is ready for commercial/non-commercial use.

## Publisher:

[trips-ai](https://clawhub.ai/user/trips-ai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use TripAI to turn natural-language Chinese travel requests into Ctrip Wendao API queries for travel search and planning across hotels, flights, trains, attractions, local activities, and events.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: API keys may be exposed because the skill can store TRIPAI_API_KEY in a plaintext config file.

Mitigation: Prefer a temporary environment variable; if using the config file, restrict it to owner-only permissions and rotate the token if it may have been exposed.

Risk: Personal travel details in user queries are sent to an external Ctrip Wendao service.

Mitigation: Avoid placing sensitive personal information in free-form travel queries and review the request before sending it.

## Reference(s):

- [TripAI Skill on ClawHub](https://clawhub.ai/trips-ai/skills/tripai-skill)
- [Ctrip Wendao OpenClaw](https://www.ctrip.com/wendao/openclaw)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, API calls, Guidance]

**Output Format:** [Markdown instructions with shell commands and JSON API payloads]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses TRIPAI_API_KEY optionally and sends natural-language travel queries to an external Ctrip Wendao service.]

## Skill Version(s):

1.0.5 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to TripAI and adjacent AI workflows.