← Back to Skills Marketplace
chenzihao0731

油价查询

by chenzihao0731 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
217
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install oil-price
Description
获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China.
Usage Guidance
This skill appears low-risk: it only makes a single HTTPS request to https://v2.xxapi.cn and parses the JSON with jq. Before installing, consider: 1) Verify you trust the API host (v2.xxapi.cn) and its privacy/usage terms, since data is fetched from that third party. 2) Test the script manually (./oil_price.sh) to inspect the API response and confirm the field names (SKILL.md mentions p92/p95 but the script uses n92/n95). 3) Be aware of the API's rate limits and do not run it in contexts where outbound network calls to unvetted domains are disallowed. No credentials are requested and the script does not access local secrets.
Capability Analysis
Type: OpenClaw Skill Name: oil-price Version: 1.0.0 The skill is a straightforward utility for fetching Chinese fuel prices from a public API (v2.xxapi.cn). The shell script `oil_price.sh` uses standard tools (`curl` and `jq`) to retrieve and format data as described in `SKILL.md`, with no evidence of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
Name/description, required binaries (curl, jq), manifest, SKILL.md, and the shell script all align: the skill fetches oil prices from https://v2.xxapi.cn and formats them. Nothing requested appears unrelated to the stated purpose.
Instruction Scope
Runtime instructions and the shell script confine activity to calling the documented API and parsing JSON. They do not read local secrets or other files. Note: SKILL.md documents field names like p92/p95/p98/p0 while the script extracts n92/n95/n98/n0 — this is a small inconsistency that could cause confusion if the API field names differ from what the docs state.
Install Mechanism
No install spec; the skill is instruction-only with a small local shell script. Nothing is downloaded or written to disk by an installer. This is low-risk.
Credentials
No environment variables, credentials, or config paths are requested. The single external network call is proportional to the stated purpose of fetching public price data.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges or modify other skills or system configs. Autonomous invocation is permitted by default (normal for skills) but is not combined with other concerning privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oil-price
  3. After installation, invoke the skill by name or use /oil-price
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Provides current fuel prices by region in China. - Fetches national and provincial oil prices without requiring an API key. - Supports easy command-line querying and script integration. - Returns prices for 92, 95, 98, and 0 diesel fuel types. - Requires curl and jq for operation.
Metadata
Slug oil-price
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 油价查询?

获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China. It is an AI Agent Skill for Claude Code / OpenClaw, with 217 downloads so far.

How do I install 油价查询?

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

Is 油价查询 free?

Yes, 油价查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 油价查询 support?

油价查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 油价查询?

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

💬 Comments