← Back to Skills Marketplace
472
Downloads
8
Stars
0
Active Installs
13
Versions
Install in OpenClaw
/install tc-chengxin
Description
同程程心 Skill - 基于同程旅行大模型(程心)的在线旅游搜索能力。提供更专业的机票、火车票、酒店、度假产品(自由行/跟团游)、旅游攻略、行程规划、特价机票、汽车票、长途汽车、景区、门票等的查询能力,基于同程官方数据,更加实时准确可靠,一键进入预订页面,让旅行更简单,更快乐。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tc-chengxin - After installation, invoke the skill by name or use
/tc-chengxin - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Tongcheng Chengxin Travel Search?
同程程心 Skill - 基于同程旅行大模型(程心)的在线旅游搜索能力。提供更专业的机票、火车票、酒店、度假产品(自由行/跟团游)、旅游攻略、行程规划、特价机票、汽车票、长途汽车、景区、门票等的查询能力,基于同程官方数据,更加实时准确可靠,一键进入预订页面,让旅行更简单,更快乐。 It is an AI Agent Skill for Claude Code / OpenClaw, with 472 downloads so far.
How do I install Tongcheng Chengxin Travel Search?
Run "/install tc-chengxin" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Tongcheng Chengxin Travel Search free?
Yes, Tongcheng Chengxin Travel Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Tongcheng Chengxin Travel Search support?
Tongcheng Chengxin Travel Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Tongcheng Chengxin Travel Search?
It is built and maintained by SUN BO (@luckystarry); the current version is v0.8.1.
More Skills