oil-price

获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "oil-price" with this command: npx skills add chenzihao0731/oil-price

油价查询技能

获取全国各省市最新油价信息。无需 API Key

使用方法

直接调用

./oil_price.sh

输出格式

每行一个地区,格式为:地区 |92 号 |95 号 |98 号 |0 号

北京|8.5|9.1|10.2|7.8
上海|8.6|9.2|10.3|7.9
...

在脚本中使用

OIL_DATA=$(./oil_price.sh)

# 获取北京油价
BEIJING=$(echo "$OIL_DATA" | grep "北京")

# 提取 92 号油价
P92=$(echo "$BEIJING" | cut -d'|' -f2)

API 说明

  • 接口: https://v2.xxapi.cn/api/oilPrice
  • 认证: 无需 API Key
  • 返回: JSON 格式,包含 data 数组
  • 字段:
    • name: 地区名称
    • p92: 92 号汽油价格
    • p95: 95 号汽油价格
    • p98: 98 号汽油价格
    • p0: 0 号柴油价格

注意事项

  • 有 API 调用频率限制
  • 建议每日调用一次即可
  • 需要安装 curljq

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Oil Price Monitor

Monitor NDRC (National Development and Reform Commission) website for oil price adjustment announcements. Searches news releases every 10 working days at 17:...

Registry SourceRecently Updated
1270Profile unavailable
General

Stock Query

查询全球股票实时行情(A 股、港股、美股)、ETF、场外基金、指数,支持批量查询、历史K线(含均线)与自选股管理。 TRIGGER when: 用户查询股价/行情/净值/历史K线/自选盈亏/大盘指数时。NOT for: 加密货币、期货、期权、外汇。

Registry SourceRecently Updated
7521Profile unavailable
General

考公备考追踪

朱批录 · 国考备考追踪 Skill。当用户发来套题成绩、错题截图、备考打卡或复习进度时触发。 核心功能:识别错题截图 → 分类错题原因 → 更新本地记录 → 生成每日总结 → 导出 Excel / 同步飞书。 触发关键词:做了一套题、今天做了、错了几道、帮我分析、备考打卡、行测、申论、 判断推理、资料分析、言语...

Registry SourceRecently Updated
2950Profile unavailable
General

知乎数据获取 | Zhihu Data Fetcher

知乎数据获取 - 极简设计,支持三级认证降级(Browser Profile → File Cookie → Fallback),确保数据可靠获取 Zhihu Data Fetcher - Minimalist design with three-level auth fallback (Browser Prof...

Registry SourceRecently Updated
6870Profile unavailable