← 返回 Skills 市场
chenzihao0731

油价查询

作者 chenzihao0731 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
217
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install oil-price
功能描述
获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oil-price
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oil-price 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug oil-price
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

油价查询 是什么?

获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 217 次。

如何安装 油价查询?

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

油价查询 是免费的吗?

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

油价查询 支持哪些平台?

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

谁开发了 油价查询?

由 chenzihao0731(@chenzihao0731)开发并维护,当前版本 v1.0.0。

💬 留言讨论