← Back to Skills Marketplace
amurtiger01

Ticket Price Compare

by Amurtiger · GitHub ↗ · v1.2.6 · MIT-0
cross-platform ✓ Security Clean
221
Downloads
0
Stars
0
Active Installs
9
Versions
Install in OpenClaw
/install ticket-price-compare
Description
Compare real-time flight and train ticket prices across major platforms with direct booking links, real-time train availability, and discount condition details.
Usage Guidance
This skill appears to do what it says: run the provided Python script which scrapes booking sites and queries 12306, optionally using Firecrawl/Tequila/Amadeus keys if you provide them. Before using: (1) review scripts/ticket_search.py yourself (it will execute on your machine and perform network requests), (2) don't set any environment variable you don't trust—especially avoid enabling any SSL-unverified fallback flag unless you understand the network risks, (3) be aware that providing a FIRECRAWL_API_KEY or other API keys means the script will send requests to those third-party APIs (and rendered page HTML may pass through them), and (4) if running in a sensitive environment (contains other secrets or internal network access), run the script in an isolated environment/container or inspect the full code for data-leakage before running.
Capability Analysis
Type: OpenClaw Skill Name: ticket-price-compare Version: 1.2.6 The ticket-price-compare skill is a legitimate tool for searching and comparing flight and train prices across multiple platforms. The core logic in `scripts/ticket_search.py` uses standard Python libraries to query public APIs (12306) and perform web scraping on travel sites (Ctrip, Qunar), with optional support for Firecrawl and Amadeus APIs. The script demonstrates security awareness by enforcing full TLS verification for network connections and providing clear documentation on API key management. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Tags
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (compare flight/train prices, provide booking links) aligns with the included script and declared network targets (12306, Ctrip, Qunar, Firecrawl, Tequila, Amadeus). Optional env vars (FIRECRAWL_API_KEY, TEQUILA_API_KEY, AMADEUS_*) are relevant to enhanced data sources. Minor inconsistency: release notes mention an opt-in TICKET_ALLOW_UNVERIFIED_SSL flag and the manifest claims it is declared, but the SKILL.md frontmatter shown earlier does not list it — this is a documentation/manifest mismatch rather than evidence of malicious behavior.
Instruction Scope
SKILL.md tells the agent to run the packaged Python script and documents which domains will be queried. Runtime instructions only access network endpoints and optional environment variables relevant to fetching ticket data; they do not instruct reading unrelated local files or harvesting other secrets.
Install Mechanism
No install specification is provided (instruction-only plus bundled script). The script uses Python stdlib (urllib, ssl) and optionally attempts to import the Amadeus SDK. README notes an optional pip install for Amadeus SDK — reasonable and optional. No downloads from untrusted URLs or extract/install steps are present.
Credentials
Declared environment variables are optional and appropriate for the described fallbacks/enhancements (Firecrawl for JS rendering; Tequila/Amadeus for additional flight data). There are no unexpected SECRET/TOKEN env vars unrelated to travel data. One caution: release notes refer to a TICKET_ALLOW_UNVERIFIED_SSL opt-in toggle (re-enables unverified SSL previously used); enabling such a flag would reduce security and should only be done knowingly on trusted networks.
Persistence & Privilege
The skill is not forced-always, does not request persistent system-level privileges, and does not modify other skills or global agent config. Autonomous invocation remains enabled by default (platform normal) but does not by itself increase the skill's scope beyond network requests and local script execution.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ticket-price-compare
  3. After installation, invoke the skill by name or use /ticket-price-compare
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.6
Remove SSL bypass entirely: no CERT_NONE in codebase, full TLS verification for all connections
v1.2.5
Security: SSL fallback opt-in, declare env vars and network access in manifest
v1.2.4
Security: SSL verify-first fallback for 12306 (reduces MITM exposure), unify train output format
v1.2.3
Fix train ticket output: unify price+seats into one table, prevent AI from ignoring train prices
v1.2.2
Add detailed API key setup guide with step-by-step instructions for Firecrawl, Tequila, and Amadeus
v1.2.1
Update README/SKILL.md with Firecrawl documentation, enhanced data source details
v1.2.0
Version 1.2.0 - Updated platform and UI references from Chinese-only names to international equivalents (e.g., “Я��” to “Ctrip”). - Clarified supported data sources and output sections for better user guidance. - Improved and standardized terminology in documentation (platform list, seat/coach types, field labels). - Enhanced clarity on workflow and fallback data sources. - Updated discount conditions instructions to reference the latest platforms_guide.md. - General documentation and formatting improvements across README.md and SKILL.md.
v1.1.0
v1.1.0: Removed PerimeterX bypass code, fixed SSL verification (scoped to 12306 only), removed proxy credential hints. Addresses ClawHub security review findings.
v1.0.0
Initial release: 12306 real-time train tickets, Ctrip flight scraping, multi-platform links, optional Skyscanner/Tequila/Amadeus APIs
Metadata
Slug ticket-price-compare
Version 1.2.6
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 9
Frequently Asked Questions

What is Ticket Price Compare?

Compare real-time flight and train ticket prices across major platforms with direct booking links, real-time train availability, and discount condition details. It is an AI Agent Skill for Claude Code / OpenClaw, with 221 downloads so far.

How do I install Ticket Price Compare?

Run "/install ticket-price-compare" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ticket Price Compare free?

Yes, Ticket Price Compare is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ticket Price Compare support?

Ticket Price Compare is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ticket Price Compare?

It is built and maintained by Amurtiger (@amurtiger01); the current version is v1.2.6.

💬 Comments