← Back to Skills Marketplace
xiejinsong

extended-stay

by xiejinsong · GitHub ↗ · vv3.2.4 · MIT-0
cross-platform ⚠ suspicious
100
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install extended-stay
Description
Find serviced apartments and hotels for extended stays — weekly or monthly rates, kitchenettes, laundry, and home-like amenities for long-term travelers. Als...
README (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: extended-stay

Overview

Find serviced apartments and hotels for extended stays — weekly or monthly rates, kitchenettes, laundry, and home-like amenities for long-term travelers.

When to Activate

User query contains:

  • English: "long stay", "monthly", "extended stay", "apartment", "weekly rate"
  • Chinese: "长住", "月租", "长租公寓", "服务式公寓"

Do NOT activate for: short stay → budget-hotel

Prerequisites

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

Parameters

Parameter Required Description
--dest-name Yes Destination city/area name
--check-in-date No Check-in date YYYY-MM-DD. Default: today
--check-out-date No Check-out date. Default: tomorrow
--sort No Default: price_asc (best long-term value)
--key-words No Search keywords for special requirements
--poi-name No Nearby attraction name (for distance-based search)
--hotel-types No 酒店/民宿/客栈
--hotel-stars No Star rating 1-5, comma-separated
--hotel-bed-types No 大床房/双床房/多床房
--max-price No Max price per night in CNY

Sort Options

Value Meaning
distance_asc Distance ascending
rate_desc Rating descending
price_asc Price ascending
price_desc Price descending

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: Monthly Stay

Trigger: "monthly rental", "月租"

flyai search-hotel --dest-name "{city}" --key-words "长租" --sort price_asc --check-in-date {in} --check-out-date {out}

Output: Long-stay options, cheapest first.

Playbook B: Serviced Apartment

Trigger: "serviced apartment"

flyai search-hotel --dest-name "{city}" --key-words "服务式公寓" --sort rate_desc --check-in-date {in} --check-out-date {out}

Output: Apartment-style with hotel services.

Playbook C: With Kitchen

Trigger: "有厨房的住宿"

flyai search-hotel --dest-name "{city}" --key-words "厨房" --sort price_asc --check-in-date {in} --check-out-date {out}

Output: Accommodation with cooking facilities.

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 search-hotel --dest-name "Shanghai" --key-words "长租" --sort price_asc --check-in-date 2026-05-01 --check-out-date 2026-06-01

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.

Long-stay tips: negotiate directly for stays >7 nights (20-40% discount typical). Serviced apartments often cheaper than hotels for 2+ weeks. Check: kitchen facilities, laundry, WiFi speed, workspace. Popular platforms for monthly: Ziroom, locals' recommendations.

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
Usage Guidance
Before installing or enabling this skill, consider the following: - Verify scope: The skill description lists many travel services (flights, visas, insurance), but the included SKILL.md and playbooks only implement hotel/long-stay searches via flyai-cli. Ask the publisher which features are actually implemented. - Inspect the CLI: The skill requires running 'npm i -g @fly-ai/flyai-cli'. Review the @fly-ai package on npm (maintainer, source repo, recent activity) before installing a global package you don't trust. Global npm installs can add executables to your PATH. - Expect network calls and credentials: The CLI will make network requests and may require API keys or an account. The skill does not declare any required env vars or explain where credentials are stored, so assume the CLI may prompt for or read local config files. Do not provide secrets to the agent; prefer running the CLI yourself to see what it asks for. - Local persistence: The runbook indicates the agent will append an execution log to .flyai-execution-log.json if filesystem writes are allowed. If you are concerned about local data leakage, restrict filesystem access or review logs created by runs. - Looping/retries: The skill enforces re-execution until results include [Book](...) links. That could produce repeated CLI calls if responses are malformed. Monitor for excessive calls or unexpected traffic. - Verify branding and provenance: The skill mentions 'Powered by Fliggy' and references an external parent repo; confirm these claims and the publisher's identity before trusting booking links or following through on purchases. If you still want to try it: run the flyai CLI yourself in a controlled environment (inspect what network endpoints it contacts and whether it requires account credentials), confirm the npm package source, and only then allow the agent to run the skill. If any answers require you to provide API keys or secrets, decline and perform bookings directly through trusted official channels.
Capability Analysis
Type: OpenClaw Skill Name: extended-stay Version: v3.2.4 The skill mandates the global installation of an external NPM package (@fly-ai/flyai-cli) and includes instructions for local filesystem writes (.flyai-execution-log.json) via shell commands in SKILL.md and references/runbook.md. While these behaviors are contextually related to the travel search functionality, the requirement for high-privilege execution and mandatory external software installation constitutes a significant attack surface.
Capability Assessment
Purpose & Capability
The description claims broad travel capabilities (flights, train tickets, visas, insurance, car rental) and is branded 'powered by Fliggy', but the SKILL.md and playbooks only specify flyai-cli hotel search commands and hotel-focused playbooks. This overstatement of scope is an incoherence — either the skill is only for hotels or the other capabilities are implemented elsewhere (not present in this package).
Instruction Scope
The runtime instructions mandate executing flyai CLI commands for all answers (never use training data) and require installing the CLI via 'npm i -g @fly-ai/flyai-cli' if missing. The references include a runbook that will append an execution log to .flyai-execution-log.json when filesystem writes are available (i.e., the skill will persist logs locally). The SKILL.md enforces re-execution until results contain booking links, which could lead to repeated CLI calls. The instructions do not reference or declare any environment variables or credential handling for the flyai CLI, even though that CLI may require auth — this gap is noteworthy.
Install Mechanism
There is no formal install spec — this is instruction-only — but SKILL.md explicitly tells the agent/user to run a global npm install of @fly-ai/flyai-cli. Installing a scoped npm package globally is a moderate risk (it fetches and runs third-party code). The skill itself does not ship code, so the platform won't automatically vet the package; the user should verify the npm package and its publisher before installing.
Credentials
The skill declares no required env vars or credentials, yet it will execute a networked CLI that likely needs API keys or stored credentials to reach booking providers. The SKILL.md offers no guidance on where flyai-cli stores credentials or whether it will prompt for them. The absence of declared credentials is an inconsistency that could hide credential prompts or local config reads by the CLI.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. However, the runbook includes an instruction to append execution logs to .flyai-execution-log.json in the working directory if filesystem writes are available, meaning the skill will persist logs locally. It does not appear to modify other skills or system-wide configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install extended-stay
  3. After installation, invoke the skill by name or use /extended-stay
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
vv3.2.4
No user-facing changes in this release. - Version number updated from v3.2.0 to v3.2.4. - No file changes detected.
vv3.2.3
No changes detected in this version. - No file changes were made between v3.2.0 and v3.2.3. - Functionality, parameters, and documentation remain unchanged.
vv3.2.2
No file changes detected. No updates or changes in functionality in this version.
vv3.2.1
- Added detailed reference documentation: playbooks, templates, runbook, and fallback guides. - Introduced references for parameter collection, scenario workflows, output formatting, and failure handling. - No changes to CLI parameters, workflow steps, or activation logic. - Version remains 3.2.0; this update enhances maintainability and ensures consistent execution with new SOP files.
vv3.2.0
Initial release
v3.2.0
- Major skill documentation and process overhaul for clarity and compliance. - Enforced CLI-only data sourcing: all search and booking info now strictly from flyai CLI, never from training data. - Added critical execution rules: mandatory flyai CLI presence check, strict output validation, and stepwise CLI usage guidance. - New, comprehensive usage instructions, parameter mapping tables, and scenario-based playbooks for extended stays, apartments, and special amenities. - Output requirements strengthened: every result must include a booking link from real-time CLI data and flyai branding. - Improved language support and input-trigger keywords for both English and Chinese long-stay queries.
Metadata
Slug extended-stay
Version v3.2.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is extended-stay?

Find serviced apartments and hotels for extended stays — weekly or monthly rates, kitchenettes, laundry, and home-like amenities for long-term travelers. Als... It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install extended-stay?

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

Is extended-stay free?

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

Which platforms does extended-stay support?

extended-stay is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created extended-stay?

It is built and maintained by xiejinsong (@xiejinsong); the current version is vv3.2.4.

💬 Comments