Overview
- Skill Key
- harrylabs0913/trip
- Author
- harrylabs0913
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/harrylabs0913/trip
- Latest Commit SHA
- 779837651d45c222eda286604068d8b9275a87a6
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Trip 技能。 若已安装,则直接安装 Trip 技能。
# Trip.com (携程) 旅行助手 携程网 (Trip.com / Ctrip.com) 自动化工具,支持机票搜索、酒店搜索、订单管理和价格监控。 ## 功能 - **机票搜索**: 搜索航班并比较价格 - **酒店搜索**: 搜索酒店并筛选条件 - **订单管理**: 查看历史订单 - **价格监控**: 追踪产品价格变化 - **扫码登录**: 支持 QR 码登录 ## 安装 ```bash # 安装 Python 依赖(playwright 等) pip install -r requirements.txt # 安装 Playwright 浏览器 playwright install chromium ``` ## 使用方法 ### 机票搜索 ```bash trip flight <出发地> <目的地> <日期> ``` 示例: ```bash trip flight 北京 上海 2026-03-15 trip flight 上海 深圳 2026-03-20 --json ``` ### 酒店搜索 ```bash trip hotel <城市> <入住日期> <离店日期> ``` 示例: ```bash trip hotel 上海 2026-03-15 2026-03-17 trip hotel 北京 2026-04-01 2026-04-03 --json ``` ### 查看订单 ```bash trip order trip order --json ``` ### 价格监控 ```bash trip price <链接> ``` 示例: ```bash trip price https://www.trip.com/hotels/shanghai-hotel/12345/ ``` ### 扫码登录 ```bash trip login ``` ## 选项 - `--headless`: 无头模式运行(不显示浏览器窗口) - `--json`: 以 JSON 格式输出结果 ## 数据存储与安全 **本地数据存储位置:** `~/.openclaw/data/ecommerce/` | 文件 | 用途 | 安全说明 | |------|------|----------| | `auth.db` | 登录会话信息 | SQLite 数据库,本地存储 | | `ecommerce.db` | 缓存和价格历史 | 不含敏感信息 | | `trip_profile/` | 浏览器配置文件 | Playwright 用户数据目录 | | `trip_cookies.json` | Cookie 文件 | 可选,用于保持登录状态 | **安全提示:** - 所有数据仅存储在本地,不会上传到任何服务器 - 建议仅在个人设备上使用,不要在共享设备上保存登录状态 - 如需清除所有数据,删除 `~/.openclaw/data/ecommerce/` 目录即可 ## 技术架构 - **代码框架**: 内置 `ecommerce_core` 模块(代码自包含,无外部模块依赖) - **运行时依赖**: Playwright(浏览器自动化)、aiohttp、Pillow - **数据缓存**: SQLite(本地存储) - **浏览器**: Chromium via Playwright ## 依赖说明 **代码层面:** 本 skill 包含完整的 `ecommerce_core/` 框架代码,不依赖外部 Python 模块导入。 **运行时层面:** 需要安装以下 Python 包(见 requir...
openbotx
An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler, and more. One command to start. Everything from the browser. No coding required.
sealiu1997
OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.
abczsl520
🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)
chizhongwang
Teach AI agents to discover hidden APIs, data functions & browser automation recipes for any website. Works with Claude Code, ClawHub, Cursor & any AgentSkills-compatible agent.
ashemag
OpenClaw skill to crosspost X/Twitter posts to Reddit via browser automation
canbirlik
A visual, human-like web browser for OpenClaw agents.Supports reading,screenshots, and visible mode.