← 返回 Skills 市场
472
总下载
8
收藏
0
当前安装
13
版本数
在 OpenClaw 中安装
/install tc-chengxin
功能描述
同程程心 Skill - 基于同程旅行大模型(程心)的在线旅游搜索能力。提供更专业的机票、火车票、酒店、度假产品(自由行/跟团游)、旅游攻略、行程规划、特价机票、汽车票、长途汽车、景区、门票等的查询能力,基于同程官方数据,更加实时准确可靠,一键进入预订页面,让旅行更简单,更快乐。
安全使用建议
This package appears coherent for a Tongcheng (同程) travel-search assistant: it runs node scripts and uses one API key (CHENGXIN_API_KEY) to call remote travel resources. Before installing or enabling it for sensitive usage, do the following checks:
- Review the api-client and any networking code (scripts/lib/api-client.js and any files omitted from the manifest) to confirm the exact remote endpoints, headers, and how CHENGXIN_API_KEY is used (e.g., is it sent only to official same-domain endpoints?). The files performing HTTP calls were not fully shown in the review and are the primary place to verify no unexpected telemetry or exfiltration exists.
- Confirm the API key's required scope and rotate/limit the key you provide (use a key with minimal permissions and monitor usage). Avoid reusing a long-lived, highly privileged key.
- Be aware that the skill will forward whatever users type in --extra to the remote API. If users might include sensitive personal data (IDs, passport numbers, payment details), consider sanitizing before forwarding or warn users accordingly.
- If you will run these scripts on shared infrastructure, run them in an isolated environment (container) until you have validated the endpoints and behavior.
If you can inspect api-client.js and verify it calls only the official Chengxin endpoints and uses the API key appropriately, confidence increases and the skill can be considered coherent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: tc-chengxin
Version: 0.8.1
The tc-chengxin skill bundle is a legitimate travel assistant integration for Tongcheng Travel's 'Chengxin' API. It provides a suite of Node.js scripts (e.g., flight-query.js, train-query.js, hotel-query.js) to fetch real-time travel data from official endpoints (https://wx.17u.cn). The code is well-structured, featuring robust parameter sanitization, clear error handling, and platform-specific output formatting (tables vs. cards). There is no evidence of malicious intent, data exfiltration, or prompt injection; the skill strictly follows its stated purpose of facilitating travel searches and bookings.
能力标签
能力评估
Purpose & Capability
Name/description, CLI scripts, and helper libraries are all about querying travel resources (flights, trains, hotels, buses, scenery, travel products). Declared binary (node) and primaryEnv (CHENGXIN_API_KEY) match the stated purpose. There are no unrelated credentials, strange required binaries, or config paths that suggest a mismatch.
Instruction Scope
SKILL.md instructs the agent to extract user query text and inbound context (channel/surface) and to call the appropriate node script with the user's parameters (including passing all user modifiers in --extra). That scope is appropriate for a search/assistant skill. Note: the guidance to always forward 'all user modifiers' in --extra means arbitrary user-entered text (potentially containing PII) will be relayed to downstream API calls — expected for a search assistant but worth being aware of.
Install Mechanism
There is no install spec / remote download. The skill is a node-based script bundle that runs locally with node. No third-party install URLs or archive extraction were provided in the manifest.
Credentials
Only CHENGXIN_API_KEY is declared as the primary credential and the code comments/config.example show that either the env var or a local config.json may be used. This is proportional for a third-party API client. No other SECRET/TOKEN/PASSWORD env vars are declared.
Persistence & Privilege
The skill does not request always:true and does not declare system-wide config changes. It is user-invocable only and relies on node scripts that run on demand. No evidence it modifies other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tc-chengxin - 安装完成后,直接呼叫该 Skill 的名称或使用
/tc-chengxin触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.8.1
tc-chengxin v0.8.1
- Added privacy policy statement.
v0.8.0
tc-chengxin v0.8.0
- Optimized output formatting and rendering logic
- Enhanced configuration and error handling workflow
v0.7.0
tc-chengxin v0.7.0
- Refined the handling of supplementary transit data to better accommodate evolving upstream response structures.
- Adjusted parameter propagation rules to preserve a broader range of user intent signals during query routing.
- Polished various formatting edge cases for more consistent presentation across different output modes.
v0.6.0
tc-chengxin v0.6.0
- Refactored all query scripts to unify communication protocol and data contract across modules.
- Resolved multiple UX and functional issues for improved reliability.
v0.5.0
**tc-chengxin v0.5.0 Changelog**
- Added API Key acquisition and configuration guide for improved onboarding clarity.
- Streamlined and reorganized the pre-flight checklist to strengthen configuration and query completeness verification before execution.
- Enhanced script invocation workflow documentation, with detailed handling principles for low-price flights and air-rail intermodal scenarios.
- Updated descriptions for a more vivid, easy-to-understand tone with emphasis on one-click booking experience.
v0.4.2
## tc-chengxin 0.4.2 Changelog
- **Streamlined core documentation**: Simplified and optimized key instructions to reduce redundancy and improve readability.
- **Removed warning blocks and tables**: Eliminated excessive warning sections while retaining essential execution standards and parameter guidelines.
- **Consolidated booking link requirements**: Removed repetitive "must output all booking links verbatim" statements, focusing instead on standard invocation rules and usage patterns.
- **Preserved intent documentation**: Maintained complete intent type descriptions and invocation examples for all script types, ensuring common query types are immediately accessible.
- **Enhanced hotel and scenery docs**: Added clarified parameter specifications and usage examples for dedicated hotel and scenic spot query interfaces.
v0.4.1
**Version 0.4.1 - Security Update**
- **Provenance verification**: Added official homepage (`https://www.ly.com`) to establish source authenticity
- **Runtime declaration**: Declared Node.js dependency in skill metadata to prevent runtime mismatch warnings
- **Instruction risk reduction**: Softened mandatory output requirements to reduce potential misuse concerns
v0.4.0
**Version 0.4.0 Changelog:**
- **Refactored core rendering engine**: Unified output formatting logic across all resource types for improved consistency and maintainability
- **Enhanced data processing pipeline**: Optimized response handling to ensure complete data rendering without truncation
- **Improved table generation**: Fixed column alignment issues for better Markdown compatibility across different rendering engines
- **Strengthened modular architecture**: Consolidated formatter utilities into a single cohesive module, reducing code duplication
- **Optimized API integration**: Refined parameter passing mechanisms for more reliable backend communication
v0.3.1
tc-chengxin v0.3.1
- Remove http module; use https.request only; reject non-https gateway URL.
v0.3.0
Version 0.3.0 Changelog:
Refactored architecture: Reorganized internal modules for better maintainability
Enhanced booking experience: Clearer search results, more prominent booking entry points
Improved operational standards: Refined specifications for parameter passing, invocation timing, and output formatting
v0.2.0
**Major update: Added modular script structure for precise, multi-source travel queries.**
- Introduced dedicated scripts for flight, train, hotel, bus, scenery, travel, and traffic queries, allowing for more accurate and granular data sourcing.
- Outlined stricter mandatory requirements for **complete, unaltered output of all booking links** for every resource (PC and mobile links must be included for each flight, train, hotel, etc.).
- Added detailed usage instructions and strict priority rules for each specialized script, including `flight-query.js`, `train-query.js`, `hotel-query.js`, `bus-query.js`, `scenery-query.js`, `traffic-query.js`, and `travel-query.js`.
- Enhanced error-handling guidelines and edge case clarification, ensuring graceful fallback and proper user prompt for missing parameters or incomplete input.
- Updated guidelines to prioritize structured, accurate query routing, and clarified prompts for incomplete user input scenarios.
- Supplemented documentation with example API calls, output formats, and a requirements checklist for pre-execution validation.
v0.1.1
- Simplified and optimized skill description for clarity, highlighting accuracy, reliability, and direct booking capability.
- Added detailed metadata for CHENGXIN_API_KEY, marked as required with usage description.
- Removed redundant paragraphs and duplicate content to improve readability.
- Unified "同程大模型" terminology to "同程旅行大模型(程心)".
- Updated tagline to "让旅行更简单,更快乐".
- Core rules including execution flow, strict constraints, security checks, examples, and error handling remain unchanged.
v0.1.0
tc-chengxin 0.1.0 Changelog
- Initial release providing tourism search capabilities based on the Tongcheng large language model (Chengxin).
- Supports natural language queries for flights, trains, hotels, scenic spots, vacation products, travel guides, and trip planning.
- Returns results in standardized Markdown table formats with booking links for both PC and mobile.
- Includes clear error handling and user guidance for missing API keys, authentication errors, no results, and network issues.
- Offers detailed instructions, API request/response specification, and output formatting requirements in SKILL.md.
元数据
常见问题
Tongcheng Chengxin Travel Search 是什么?
同程程心 Skill - 基于同程旅行大模型(程心)的在线旅游搜索能力。提供更专业的机票、火车票、酒店、度假产品(自由行/跟团游)、旅游攻略、行程规划、特价机票、汽车票、长途汽车、景区、门票等的查询能力,基于同程官方数据,更加实时准确可靠,一键进入预订页面,让旅行更简单,更快乐。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 472 次。
如何安装 Tongcheng Chengxin Travel Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tc-chengxin」即可一键安装,无需额外配置。
Tongcheng Chengxin Travel Search 是免费的吗?
是的,Tongcheng Chengxin Travel Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tongcheng Chengxin Travel Search 支持哪些平台?
Tongcheng Chengxin Travel Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tongcheng Chengxin Travel Search?
由 SUN BO(@luckystarry)开发并维护,当前版本 v0.8.1。
推荐 Skills