← Back to Skills Marketplace
kirorab

SerpApi Flights (Google Flights)

by kirorab · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
640
Downloads
1
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install serpapi-flights
Description
Query Google Flights via SerpApi for flight schedules, prices, and cabin class info. Use when user asks about flight/机票/航班 prices, schedules, or comparisons.
Usage Guidance
This skill appears coherent and limited to calling SerpApi. Before installing: (1) Treat SERPAPI_KEY as a secret — the script sends it in the query string to serpapi.com; do not share keys in public prompts. (2) Confirm you trust SerpApi and understand its billing/rate limits (free tier ~100 searches/month). (3) Ensure your node version supports global fetch and node:util parseArgs (Node 18+ recommended). (4) Review the included script yourself if you want to confirm no additional logging of sensitive context; the code prints query info and results to the console. (5) If you need tighter security, run the script in a restricted environment and rotate the API key if it is exposed.
Capability Analysis
Type: OpenClaw Skill Name: serpapi-flights Version: 1.0.0 The skill bundle is designed to query Google Flights via SerpApi. The `SKILL.md` provides clear instructions and examples without any prompt injection attempts. The `scripts/query.mjs` script correctly retrieves the `SERPAPI_KEY` from environment variables and uses `node:util.parseArgs` for robust command-line argument parsing, mitigating shell injection risks. Network requests are made to the legitimate `serpapi.com` endpoint, and there is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The code aligns with its stated purpose and lacks high-risk behaviors.
Capability Assessment
Purpose & Capability
Name/description say 'query Google Flights via SerpApi'; the skill requires node and a SERPAPI_KEY and contains a Node script that calls https://serpapi.com/search.json. All requested resources are appropriate for that purpose.
Instruction Scope
SKILL.md only instructs setting SERPAPI_KEY and running the included Node script with origin/destination/date options. The script only reads the API key (and an alternative env var), builds a SerpApi URL, and prints results — it does not read arbitrary user files or call other endpoints.
Install Mechanism
There is no install spec (instruction-only + single script). The only runtime requirement is the 'node' binary, which is declared. No downloads or archive extraction are present.
Credentials
The only required environment variable is SERPAPI_KEY (with a fallback name SERPAPI_API_KEY used in code). That single API key is proportional and expected for a third-party search API client.
Persistence & Privilege
Skill is user-invocable, not always: true, and does not request persistent system-level privileges or modify other skills/config. It does not attempt to persist credentials beyond reading the provided env var.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install serpapi-flights
  3. After installation, invoke the skill by name or use /serpapi-flights
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: query Google Flights via SerpApi - schedules, prices, cabin classes, aircraft types
Metadata
Slug serpapi-flights
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is SerpApi Flights (Google Flights)?

Query Google Flights via SerpApi for flight schedules, prices, and cabin class info. Use when user asks about flight/机票/航班 prices, schedules, or comparisons. It is an AI Agent Skill for Claude Code / OpenClaw, with 640 downloads so far.

How do I install SerpApi Flights (Google Flights)?

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

Is SerpApi Flights (Google Flights) free?

Yes, SerpApi Flights (Google Flights) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does SerpApi Flights (Google Flights) support?

SerpApi Flights (Google Flights) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SerpApi Flights (Google Flights)?

It is built and maintained by kirorab (@kirorab); the current version is v1.0.0.

💬 Comments