Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

zim齐姆

Agent Skill

zim 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,610

周安装

241

GitHub Stars

公开资料未说明

下载量

1,967
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zim(齐姆)
来源仓库:https://github.com/robinmtzieme-commits/zim
安装命令:
openclaw skills install zim
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install zim

简介

zim 用于查找、检索和筛选相关信息,适合在 OpenClaw 中根据关键词或任务场景快速定位候选结果。

  • 适用于信息搜索、资料筛选和线索整理等研究类任务场景。
  • 通过 clawhub 安装并使用 openclaw skills install zim 命令部署。
  • 安装前需确认权限范围、维护状态及是否涉及联网或文件操作。
  • 建议结合原始 README 和来源仓库进一步核验具体用法。

SKILL.md

name
zim
description
>-
metadata
openclaw
requires
bins
["python3", "bash", "curl", "jq"]
capabilities
description
Creates Stripe Checkout sessions for payment collection (test mode by default)
scope
payment
requires_env
["STRIPE_SECRET_KEY"]
description
Searches flights and hotels via Travelpayouts affiliate API
scope
search
requires_env
["TRAVELPAYOUTS_TOKEN"]
description
Searches flights and hotels via SerpApi for Google Flights/Hotels results
scope
search
requires_env
["SERPAPI_KEY"]
sensitive_env

Zim — Agent Travel Middleware

Use Zim as a travel workflow engine, not a generic search helper. Accept structured or messy travel intent, apply policy and traveler preferences, assemble coherent booking-ready options, and state clearly what is and is not automated.

What this package contains

This skill package includes:

  • SKILL.md — operating instructions for the skill
  • scripts/search-flights.sh — Travelpayouts/Aviasales flight search with cached-fare fallback
  • scripts/search-hotels.sh — hotel deeplink generation for live availability lookup
  • scripts/search-cars.sh — car rental comparison deeplinks
  • references/api-guide.md — API/deeplink notes for Travelpayouts and related links
  • references/agent-to-agent-booking.md — product model and truthfulness rules
  • zim/ — Python package implementing:

- travel models and itinerary assembly - policy / approval logic - traveler preference storage - CLI commands (zim flights, zim hotels, zim cars, zim trip, zim preferences, zim policy) - booking state machine and local booking persistence - Stripe Checkout session creation for payment collection - placeholder booking executor that does not complete real supplier reservations

  • tests/ — package tests
  • pyproject.toml — Python package metadata and dependency declarations

Do not describe this package as shell scripts only. It contains both shell helpers and a Python application.

Runtime requirements

Require all of the following when using or publishing this skill:

  • Python 3.10+
  • Standard shell environment for bundled scripts
  • Installed command-line tools used by the shell scripts:

- bash - curl - jq - python3

  • Python packages declared by the package metadata / environment:

- pydantic>=2.0 - click>=8.0 - httpx>=0.25 - python-dateutil - stripe>=8.0

  • Optional dev/test packages when running tests:

- pytest>=7.0 - pytest-asyncio>=0.21 - respx>=0.21

If a downstream environment expects requirements.txt, generate it from the package metadata or install from pyproject.toml. This package currently declares dependencies in pyproject.toml, not in a checked-in requirements.txt file.

Required environment variables

Declare these explicitly when using the skill:

VariableRequiredPurpose
TRAVELPAYOUTS_TOKENYes for flight/hotel affiliate searchTravelpayouts / Aviasales token used for API access and affiliate attribution
TRAVELPAYOUTS_MARKERYes for production affiliate attribution consistencyAffiliate marker identifier for Travelpayouts deeplinks and tracking
STRIPE_SECRET_KEYYes for payment flowStripe secret key used to create and retrieve Checkout Sessions
STRIPE_WEBHOOK_SECRETYes for webhook verification in deployed payment flowStripe webhook signature secret
ZIM_BASE_URLNoBase URL for Stripe success/cancel redirects; defaults to http://localhost:8000

Important notes:

  • TRAVELPAYOUTS_TOKEN enables the current search scripts.
  • TRAVELPAYOUTS_MARKER should be treated as required configuration for a production deployment even if some current scripts reuse the token as a marker fallback.
  • STRIPE_SECRET_KEY should be sk_test_... in the current beta/test setup.
  • Live Stripe mode is not a default assumption.

External services and API dependencies

Zim depends on these external services:

Travelpayouts / Aviasales

Used for:

  • flight search API calls
  • affiliate deeplink generation
  • hotel affiliate/search deeplinks

Stripe

Used for:

  • hosted Checkout Session creation
  • payment status retrieval
  • webhook-based payment confirmation flows

Linked booking/search destinations

Zim may generate outbound deeplinks to:

  • Aviasales
  • Hotellook
  • Booking.com
  • Google Hotels
  • Kayak
  • Discover Cars
  • Rentalcars.com
  • Economy Bookings

These links are for comparison or manual completion unless a real provider executor is added.

Payment and booking boundaries

Be precise about what Zim does today.

Current payment state

  • Stripe Checkout integration exists.
  • Stripe is currently intended for test mode / MVP flows.
  • Live mode requires a verified Stripe account plus proper operational setup.
  • Do not imply live payment collection is production-ready unless that has actually been configured and verified.

Current booking execution state

  • The bundled PlaceholderExecutor does not create real airline, hotel, or car rental reservations.
  • Zim can create booking-ready options, approval summaries, and payment requests.
  • After payment, actual provider reservation automation is still pending unless a real executor is added.
  • Do not say booked in plain language unless supplier-side booking execution truly happened.

Preferred truthful language:

  • booking-ready options assembled
  • awaiting approval
  • payment link created
  • payment collected; provider reservation still requires execution/manual completion

Avoid false claims like:

  • your trip is fully booked
  • payment completed and reservation confirmed

unless a real provider confirmation exists.

Payment-data disclosure

Zim includes payment orchestration via Stripe, but payment-card handling is intentionally limited.

  • Zim creates Stripe Checkout Sessions server-side using STRIPE_SECRET_KEY.
  • Zim stores Stripe session IDs, payment status, totals, and related booking metadata.
  • Zim attaches booking metadata such as booking ID / trip ID to Stripe objects.
  • Zim may prefill customer email into Stripe Checkout.
  • Zim does not directly collect, process, or store raw card numbers, CVCs, or full payment method details in the current architecture.
  • Card entry is intended to occur on Stripe-hosted checkout pages.
  • Webhook verification requires STRIPE_WEBHOOK_SECRET in deployed flows.

Treat booking/payment metadata as sensitive operational data even though raw card data is not stored by the package.

Quick start

Shell scripts

# Flights
bash scripts/search-flights.sh LHR DXB 2025-12-15 2025-12-20 usd 5

# Hotels
bash scripts/search-hotels.sh "Dubai" 2025-12-15 2025-12-18 usd 10

# Cars
bash scripts/search-cars.sh "Dubai Airport" 2025-12-15 2025-12-18

Python CLI

# Install package locally
python3 -m pip install .

# Search flights
zim flights LHR DXB 2026-04-15 --return-date 2026-04-20 --cabin business

# Search hotels
zim hotels Dubai 2026-04-15 2026-04-20 --stars-min 4

# Search cars
zim cars "Dubai Airport" 2026-04-15 2026-04-20 --car-class suv

# Assemble full itinerary
zim trip LHR DXB 2026-04-15 --return-date 2026-04-20 --mode business --human

WhatsApp Conversational Agent

When handling travel messages on the WhatsApp channel, use the Zim WhatsApp agent for a smoother conversational experience with stateful multi-turn flows (search → select → confirm → book).

How to invoke

bash /home/ubuntu/.openclaw/workspace/zim/scripts/zim-wa.sh "<user message>" "whatsapp:<user_phone>"

This returns JSON: {"response": "...", "success": true/false}

Send the response text back to the user on WhatsApp.

Conversation flow

The WhatsApp agent maintains state per user automatically:

  1. User sends a natural language travel request → agent returns search results
  2. User replies with 1, 2, or 3 → agent shows selection summary, asks YES/NO
  3. User says YES → agent returns booking confirmation + deeplink
  4. User says CANCEL at any point → resets to fresh search

State persists across calls via SQLite, so multi-message conversations work.

When to use the WhatsApp agent vs direct CLI

  • WhatsApp channel messages → use the WhatsApp agent (zim-wa.sh)
  • Structured agent-to-agent requests → use the Python CLI (zim flights, zim hotels)
  • Quick searches for non-chat contexts → use shell scripts (search-flights.sh)

Agent workflow

Parse into a structured travel object

Extract as many of these fields as possible:

Core trip fields

  • traveler name / profile
  • mode: business or personal
  • origin city / airport
  • destination city / airport
  • departure date
  • return date
  • trip purpose
  • total budget or category budgets

Flight fields

  • cabin class
  • direct only vs flexible
  • airline preferences
  • refundability / flexibility
  • preferred departure window
  • no red-eye preference

Hotel fields

  • hotel style: luxury / boutique / business / budget
  • star minimum
  • nightly cap
  • neighborhood / landmark / meeting proximity
  • chain preference

Car fields

  • pickup location
  • dropoff location if different
  • car type / class
  • provider preference

Policy / workflow fields

  • approval threshold
  • vendor restrictions
  • class restrictions
  • location radius rule
  • whether the agent is allowed to auto-book vs recommend only

If key fields are missing, ask only for the minimum needed to continue.

Convert city names to IATA codes before flight search where needed. Common defaults:

  • London → LHR
  • Dubai → DXB
  • New York → JFK
  • Paris → CDG
  • Singapore → SIN
  • Tokyo → HND/NRT

Convert dates to YYYY-MM-DD.

Business vs personal mode

Apply ranking differently by mode.

Business mode

  • prioritize direct flights
  • prefer refundable / flexible fares when possible
  • keep hotels near the meeting area / business district
  • enforce policy caps before presenting results
  • optimize for time, reliability, and compliance over small savings

Personal mode

  • prioritize price/value unless preferences override
  • allow more creative routing
  • surface boutique / character-rich stays when relevant
  • optimize for experience and fit

Running searches

Use the Python CLI when you want structured JSON for agent consumption. Use shell scripts when you want simple direct output and live deeplinks.

Assemble an itinerary, not disconnected results

Default behavior is to combine flight + hotel + car into a coherent recommendation when the request implies a trip.

Preferred response structure:

  1. Trip summary
  2. Recommended flight
  3. Recommended hotel
  4. Recommended car (if relevant)
  5. Why this is the best fit
  6. Action state — booking-ready / approval-needed / missing info

Presenting results

Flights

  • If structured results exist, list airline / route / price / dates / deeplink
  • If exact-date results are unavailable, say so clearly and provide nearby cached fare context plus a live Aviasales search link

Hotels

  • Present as live hotel search options or structured Python results depending on tool path used
  • Explain relevance: proximity, style, business suitability, or value

Cars

  • Present comparison links or structured Python results depending on tool path used
  • If a car class or airport pickup was requested, say so explicitly

Approval and state handling

When total cost exceeds threshold or any item is out of policy, say approval is required.

When payment has not been started, say so. When payment link/session exists, say so. When provider execution is still placeholder/manual, say so.

Preference memory

Surface recurring preferences as durable travel preferences when relevant:

  • preferred airlines
  • seat preference
  • no red-eye
  • hotel style
  • hotel star floor
  • car class

Error handling

  • If TRAVELPAYOUTS_TOKEN is not set, explain that affiliate-linked flight/hotel search cannot run.
  • If STRIPE_SECRET_KEY is not set, explain that checkout session creation cannot run.
  • If exact flight results are empty, use nearby cached fares plus a live Aviasales link.
  • If hotel APIs are unreliable, prefer working deeplinks over fake structured listings.
  • If an external API errors, report it plainly and preserve working manual paths.

References

Read these only when needed:

  • API details and deeplink formats: references/api-guide.md
  • Booking model / truthfulness guidance: references/agent-to-agent-booking.md

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.63%
按下载量换算1,527

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills