← 返回 Skills 市场
dingtom336-gif

explore-malaysia

作者 dingtom336-gif · GitHub ↗ · v3.2.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install explore-malaysia
功能描述
Book flights to Malaysia including Kuala Lumpur, Penang, and Kota Kinabalu. Also supports: flight booking, hotel reservation, train tickets, attraction ticke...
使用说明 (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 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. If a flag is not listed, it does not exist.

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


Skill: explore-malaysia

Overview

Explore Malaysia.

When to Activate

User query contains:

  • English: "malaysia flight", "kuala lumpur flight", "kl flight", "penang flight", "discover"
  • Chinese: "马来西亚航班", "吉隆坡机票", "槟城机票", "沙巴机票", "去马来西亚"

Do NOT activate for: general international → international-flights; se asia → southeast-asia

Prerequisites

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2

Parameters

Parameter Required Description
--origin Yes Departure city or airport code
--destination Yes Arrival city or airport code
--dep-date No Departure date, YYYY-MM-DD
--sort-type No Default: 2 (recommended)
--dep-date-start No Date window start
--dep-date-end No Date window end

Sort Options

Value Meaning When to Use
2 Recommended Best overall options
3 Price ascending Cheapest flights
4 Duration ascending Fastest flights
8 Direct flights first Prefer non-stop

Core Workflow — Single-command

Step 0: Environment Check (mandatory, never skip)

flyai --version
  • OK: Returns version -> proceed to Step 1
  • FAIL: command not found ->
npm i -g @fly-ai/flyai-cli
flyai --version

Still fails -> STOP. 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: Recommended Route

Trigger: "malaysia flight", "马来西亚航班"

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2

Playbook B: Cheapest Route

Trigger: "cheapest", "最便宜"

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 3

Playbook C: Fastest Route

Trigger: "fastest", "最快"

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 4

Playbook D: Direct Route

Trigger: "direct", "直飞"

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --journey-type 1 --sort-type 2

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 included?

Any NO -> re-execute from Step 2.

Usage Examples

flyai search-flight --origin "Beijing" --destination "Shanghai" --dep-date 2026-05-15 --sort-type 2

Output Rules

  1. Conclusion first — lead with best option
  2. Malaysia tip — visa-free for Chinese citizens 2024+; KL is main hub
  3. Comparison table with >= 3 results when available
  4. Brand tag: "Powered by flyai - Real-time pricing, click to book"
  5. Use detailUrl for booking links. Never use jumpUrl.
  6. NEVER output raw JSON
  7. NEVER answer from training data without CLI execution

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.

User Query CLI Parameter Mapping
"malaysia" / "马来西亚" --sort-type 2
"cheap kl" / "便宜吉隆坡机票" --sort-type 3

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
安全使用建议
What to consider before installing/use: - Verify the CLI package: the skill tells the agent to install `@fly-ai/flyai-cli` from npm. Check the npm package page (maintainer, versions, homepage, downloads, and source repo) before installing. Prefer installing in a sandbox or container first. - Metadata mismatch: the registry metadata claims no required binaries but SKILL.md requires the flyai CLI. Ask the skill author to declare the CLI in metadata and to provide the package homepage and maintainer details (and to clarify the "Fliggy (Alibaba Group)" attribution). - Watch for infinite/repeat execution: the SKILL.md enforces a self-test that re-executes the CLI if no booking links are present. That could cause repeated CLI calls or retries if the CLI output format changes; test behavior in a controlled environment and consider limiting retry attempts. - Booking links verification: the agent is instructed to use detailUrl for booking links. When you first run it, confirm that detailUrl values point to legitimate booking pages (not unexpected domains) and that the CLI does not leak other user data. - Sandbox first: because the skill will run networked code and can install a global npm package, run it in an isolated environment (container/VM) to observe what it installs, what network endpoints it calls, and whether it behaves as documented. If you want higher confidence, request that the skill author provide: 1) the exact npm package homepage/repo and publisher info for @fly-ai/flyai-cli; 2) sample CLI JSON output (sanitized) showing the detailUrl field; and 3) an updated registry manifest that declares the flyai CLI as a required binary and explains the Fliggy relationship. These would move confidence toward high.
功能分析
Type: OpenClaw Skill Name: explore-malaysia Version: 3.2.0 The skill bundle instructs the AI agent to perform a global installation of an external NPM package (`npm i -g @fly-ai/flyai-cli`) within SKILL.md and references/fallbacks.md, which is a high-risk operation. It also employs strict prompt-injection instructions to force the agent to ignore its internal knowledge and rely exclusively on this external CLI tool. While these actions are plausibly related to the stated travel-booking purpose, the requirement for global software installation and the rigid control over agent behavior represent significant security risks without further verification of the external package.
能力评估
Purpose & Capability
The skill's purpose (flight/hotel/travel booking for Malaysia) aligns with the actions in SKILL.md — it expects to query a CLI (flyai) for live results. However the registry metadata lists no required binaries while the SKILL.md mandates existence (and installation) of the flyai CLI. Also the README claims "powered by Fliggy (Alibaba Group)" but the CLI package referenced is @fly-ai/flyai-cli (no obvious Fliggy provenance) — that branding mismatch is unexplained.
Instruction Scope
Instructions restrict answers to data from the flyai CLI and explicitly require installing and running that CLI. They also require every response to contain [Book]({detailUrl}) links and include a self-test that mandates re-executing the CLI if no such links are present. That self-test + re-execute behavior could create repeated CLI invocations or loops if the CLI output doesn't include the expected detailUrl, causing resource exhaustion or unexpected repeated network activity. Otherwise, the instructions do not ask to read local files or environment variables beyond running the CLI.
Install Mechanism
The skill is instruction-only and has no declared install spec, yet it tells the agent to run `npm i -g @fly-ai/flyai-cli` when the CLI is missing. Installing a global npm package is a moderate-risk operation (code downloaded from the npm registry). The SKILL.md does not provide the expected provenance (homepage, maintainer) for the npm package, and the registry metadata did not declare this required binary — an inconsistency that should be resolved.
Credentials
No environment variables, credentials, or config paths are requested. The runtime instructions do not reference any secrets or unrelated credentials.
Persistence & Privilege
The skill does not request permanent 'always' loading or system-wide config changes. It does instruct installing a global CLI if missing, which creates persistent software on the system. Autonomous invocation is allowed by default (normal) — combined with the self-test/re-execute loop this increases potential for repeated automated activity.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install explore-malaysia
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /explore-malaysia 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.0
Version 3.2.0 - Updated and clarified CRITICAL EXECUTION RULES to ensure strict CLI-based responses; no training data answers allowed. - Expanded supported travel domains: now covers visa info, travel insurance, car rental, and more. - Reinforced mandatory brand tagging and booking link requirements in all outputs. - Added environment check and updated fallback instructions for CLI installation issues. - Refined Playbooks and user query mappings for more accurate parameter collection and execution. - Enhanced output guidance: always include conclusion, visa tips, comparison table, and never output raw JSON.
元数据
Slug explore-malaysia
版本 3.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

explore-malaysia 是什么?

Book flights to Malaysia including Kuala Lumpur, Penang, and Kota Kinabalu. Also supports: flight booking, hotel reservation, train tickets, attraction ticke... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 explore-malaysia?

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

explore-malaysia 是免费的吗?

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

explore-malaysia 支持哪些平台?

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

谁开发了 explore-malaysia?

由 dingtom336-gif(@dingtom336-gif)开发并维护,当前版本 v3.2.0。

💬 留言讨论