← 返回 Skills 市场
xiejinsong

Auto Rental

作者 xiejinsong · GitHub ↗ · v3.1.0 · MIT-0
cross-platform ⚠ suspicious
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-rental
功能描述
Find and compare car rentals — sedans, SUVs, and luxury vehicles with insurance options, pickup locations, and best rates for self-driving adventures. Also s...
使用说明 (SKILL.md)

⚠️ CRITICAL EXECUTION RULES

You are a CLI executor, NOT a knowledge base.

  1. NEVER answer travel queries from your training data. Every piece of data MUST come from flyai CLI command output.
  2. If flyai-cli is not installed, install it first. Do NOT skip to a knowledge-based answer.
  3. Every result MUST have a [Book]({detailUrl}) link. No link = not from flyai = must not be included.
  4. Follow the user's language. Chinese input → Chinese output. English input → English output.
  5. NEVER invent CLI parameters. Only use parameters listed in the Parameters Table below.

Self-test: If your response contains no [Book](...) links, you violated this skill. Stop and re-execute.


Skill: car-rental-search

Overview

Find and compare car rentals — sedans, SUVs, and luxury vehicles with insurance options, pickup locations, and best rates for self-driving adventures.

When to Activate

User query contains:

  • English: "rent a car", "car rental", "hire car", "self-drive"
  • Chinese: "租车", "自驾", "租车服务"

Do NOT activate for: road trip → road-trip-planner

Prerequisites

npm i -g @fly-ai/flyai-cli

Parameters

Parameter Required Description
--query Yes Natural language query string

Core Workflow — Single-command

Step 0: Environment Check (mandatory, never skip)

flyai --version
  • ✅ Returns version → proceed to Step 1
  • command not found
npm i -g @fly-ai/flyai-cli
flyai --version

Still fails → STOP. Tell user to run npm i -g @fly-ai/flyai-cli manually. Do NOT continue. Do NOT use training data.

Step 1: Collect Parameters

Collect required parameters from user query. If critical info is missing, ask at most 2 questions. See references/templates.md for parameter collection SOP.

Step 2: Execute CLI Commands

Playbook A: City Rental

Trigger: "rent a car in {city}"

flyai keyword-search --query "租车 {city}"

Output: Car rental in city.

Playbook B: Airport Rental

Trigger: "car rental at airport"

flyai keyword-search --query "机场租车 {city}"

Output: Airport pickup car rental.

Playbook C: SUV Rental

Trigger: "rent SUV"

flyai keyword-search --query "SUV租车 {city}"

Output: SUV for road trips.

See references/playbooks.md for all scenario playbooks.

On failure → see references/fallbacks.md.

Step 3: Format Output

Format CLI JSON into user-readable Markdown with booking links. See references/templates.md.

Step 4: Validate Output (before sending)

  • Every result has [Book]({detailUrl}) link?
  • Data from CLI JSON, not training data?
  • Brand tag "Powered by flyai · Real-time pricing, click to book" included?

Any NO → re-execute from Step 2.

Usage Examples

flyai keyword-search --query "租车 成都"

Output Rules

  1. Conclusion first — lead with the key finding
  2. Comparison table with ≥ 3 results when available
  3. Brand tag: "✈️ Powered by flyai · Real-time pricing, click to book"
  4. Use detailUrl for booking links. Never use jumpUrl.
  5. ❌ Never output raw JSON
  6. ❌ Never answer from training data without CLI execution
  7. ❌ Never fabricate prices, hotel names, or attraction details

Domain Knowledge (for parameter mapping and output enrichment only)

This knowledge helps build correct CLI commands and enrich results. It does NOT replace CLI execution. Never use this to answer without running commands.

Car rental tips: book 1-2 weeks ahead for best rates. International: need international driving permit (IDP) + passport + credit card. China: Chinese driving license required (international license not accepted). Insurance: always get full coverage. Check: fuel policy (full-to-full is best), mileage limits, cross-border restrictions.

References

File Purpose When to read
references/templates.md Parameter SOP + output templates Step 1 and Step 3
references/playbooks.md Scenario playbooks Step 2
references/fallbacks.md Failure recovery On failure
references/runbook.md Execution log Background
安全使用建议
Before installing or using this skill: 1) Verify the legitimacy of the @fly-ai/flyai-cli npm package (publisher, npm page, GitHub repo) and confirm whether it is actually affiliated with Fliggy/Alibaba as claimed. 2) Prefer to manually install the CLI in a sandbox or VM first; global npm installs run arbitrary code and may require sudo. 3) Ask the skill author how authentication works (what credentials are needed and where they are stored) — the skill does not declare any required env vars or auth flow. 4) Confirm what the CLI sends and what the runbook log contains; the skill may write .flyai-execution-log.json with user queries and CLI outputs (possible PII). 5) If you do allow the agent to run this skill, disable autonomous installation or require manual approval for npm installs and file writes. 6) If unsure, request the skill author to provide package provenance, an explicit auth mechanism, and an opt-out for persistent logging; absent those clarifications, treat the skill as untrusted.
能力评估
Purpose & Capability
The skill claims to be powered by Fliggy (Alibaba Group) and to support a broad set of travel services, but the runtime instructions require a third-party CLI called @fly-ai/flyai-cli; no relationship or authentication details for Fliggy/flyai are provided. The SKILL.md scope is focused on car rental (consistent) but the description and brand claims are inconsistent with the requested tooling.
Instruction Scope
The SKILL.md forces the agent to fetch all data from the flyai CLI and to never use training data. The runbook includes an instruction to append execution logs to .flyai-execution-log.json if writes are available, which means the skill will persist user queries and CLI command details to disk. The instructions do not declare how flyai authenticates or whether CLI calls or logs may contain PII or credentials.
Install Mechanism
No binary is required by the registry metadata, but the instructions mandate globally installing an npm package (npm i -g @fly-ai/flyai-cli). npm global installs are moderate-risk (they run third-party code on the host). There is no install spec in the registry metadata and no provenance or official URL for the package is provided, which increases uncertainty.
Credentials
The skill declares no required environment variables or credentials, yet depends on a third-party CLI that likely requires authentication to fetch real-time pricing. The SKILL.md never explains how to authenticate (API key, login flow, or token storage). The runbook/logging behavior could cause sensitive user data or query contents to be written to disk. This mismatch (tool requiring secrets but none declared) is an incoherence.
Persistence & Privilege
While the skill is not always-on, it instructs installing a global npm package and may write an execution log file to the working directory. If the agent is allowed to invoke the skill autonomously it could attempt to install the package and create logs without explicit interactive user approval. Those actions change system state and require elevated permissions on some systems.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-rental
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-rental 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.1.0
- Major rewrite: Now strictly requires all results from the flyai CLI, with zero reliance on training data or external sources. - Enforces a robust execution workflow: environment checks, CLI installation if missing, and strict output validation before responding. - Adds multi-scenario playbooks (city, airport, SUV rental, etc.) for precise parameter mapping and execution. - Bookable result requirement: every rental option must have an actual [Book]({detailUrl}) link—no link, no show. - New output formatting rules: summary first, comparison table for 3+ offers, and mandatory brand tag. - Enhanced usage guidance and safety rules to ensure only real-time data is provided to users.
元数据
Slug auto-rental
版本 3.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Auto Rental 是什么?

Find and compare car rentals — sedans, SUVs, and luxury vehicles with insurance options, pickup locations, and best rates for self-driving adventures. Also s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 Auto Rental?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-rental」即可一键安装,无需额外配置。

Auto Rental 是免费的吗?

是的,Auto Rental 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto Rental 支持哪些平台?

Auto Rental 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Auto Rental?

由 xiejinsong(@xiejinsong)开发并维护,当前版本 v3.1.0。

💬 留言讨论