油价查询
oil-price
by chenzihao0731
获取全国各省市油价信息。无需 API Key。Use when: user asks about gas prices, fuel costs in China.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/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 调用频率限制
- 建议每日调用一次即可
- 需要安装
curl和jq
相关 Skills
Claude API
by anthropic
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.
并行代理
by axelhu
Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw
高光制作器
by bwbernardweston18
>