← 返回 Skills 市场
catplus-eric

油价智能提醒

作者 CatPluZ · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oil-price-reminder-china
功能描述
油价智能提醒技能。自动监控国家发改委油价公告,判断近期油价涨跌趋势,在调价窗口前提早提醒用户加油。(1)未来油价将上调 → 提醒近日安排加油;(2)未来油价将下调 → 提醒等调价后再去加油。支持自定义检查频率、城市配置、状态防重复提醒。触发条件:用户提到"油价提醒"、"什么时候加油"、"油价涨了吗"、"设置油价监...
安全使用建议
This skill appears coherent and performs only the expected actions (fetch the NDRC site, compute a trend, write a local JSON, and output a reminder). Before installing: (1) confirm you are comfortable with the agent creating a cron job and writing a state file at /workspace/memory/oil_state.json; (2) verify how the platform's 'message tool' will deliver reminders (the script itself only prints the message — the platform must handle pushing it to you); (3) be aware the script uses a hard-coded base date to estimate the next adjustment window (a correctness/robustness issue you may want fixed); and (4) avoid overly frequent checks to respect the source site (SKILL.md already recommends ≤1/day). If you want stronger guarantees, ask the author to (a) derive the last adjustment date from the site or stored state instead of a hard-coded date, and (b) have the script call the messaging API explicitly (or document exactly how the platform will route printed messages to you).
功能分析
Type: OpenClaw Skill Name: oil-price-reminder-eric Version: 1.0.0 The skill is designed to monitor oil price trends from the official NDRC website and notify users of upcoming price changes. It uses `subprocess` to execute `curl` for data retrieval from a hardcoded domain and manages state in a local JSON file (`oil_state.json`). The logic in `oil_monitor.py` is transparent, aligns with the stated purpose in `SKILL.md`, and shows no signs of data exfiltration, malicious execution, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description match the implementation: the script fetches ndrc.gov.cn, looks for '油价' announcements, derives 'up'/'down'/unknown and writes a local state file. Declared dependencies (Python, curl, cron, messaging) align with the described behavior and are proportionate to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to create a cron job and a memory file and to push messages via a 'message tool'. The included script itself only fetches pages, computes a next-adjust date, writes /workspace/memory/oil_state.json and prints a message — it does not create cron jobs or call a messaging API. This is an implementation/coordination difference (orchestration vs script) rather than hidden behavior. Also note a functional inconsistency: the script uses a hard-coded base date (datetime(2026, 3, 23)) to compute the next adjustment window rather than deriving the last adjustment date from site content or stored state as the prose implies; this is a correctness/robustness issue but not an evidence of malicious intent.
Install Mechanism
No install spec (instruction-only with an included script) — low risk. The script calls the system curl via subprocess.run (no shell execution), does not download or execute arbitrary remote code, and writes only a local JSON state file. No remote install URLs or archive extraction are present.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond writing a state file under /workspace/memory — all proportional to a scheduling/monitoring reminder skill. External network access is limited to the official ndrc.gov.cn site (expected for this purpose).
Persistence & Privilege
The skill writes a persistent local state file in /workspace/memory/oil_state.json and SKILL.md expects the agent to create a cron job to schedule runs. Those are reasonable for a periodic reminder skill, but users should confirm that the agent's cron creation will be scoped to the agent's workspace and not modify unrelated system cron entries. always:false and no elevated privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oil-price-reminder-china
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oil-price-reminder-china 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
oil-price-reminder-eric v1.0.0 - 首发上线:油价智能提醒技能,自动监控国家发改委油价公告 - 自动抓取、分析油价涨跌趋势,智能在调价窗口前提醒用户加油或等待 - 支持自定义检查频率(每天/每3天/每周)及城市配置 - 自动估算下次调价日期,并防止同一天重复提醒 - 本地状态记录,零依赖外部API,适合定时运行与消息推送 - 用户通过“油价提醒”等关键词激活,即可使用
元数据
Slug oil-price-reminder-china
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

油价智能提醒 是什么?

油价智能提醒技能。自动监控国家发改委油价公告,判断近期油价涨跌趋势,在调价窗口前提早提醒用户加油。(1)未来油价将上调 → 提醒近日安排加油;(2)未来油价将下调 → 提醒等调价后再去加油。支持自定义检查频率、城市配置、状态防重复提醒。触发条件:用户提到"油价提醒"、"什么时候加油"、"油价涨了吗"、"设置油价监... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 油价智能提醒?

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

油价智能提醒 是免费的吗?

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

油价智能提醒 支持哪些平台?

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

谁开发了 油价智能提醒?

由 CatPluZ(@catplus-eric)开发并维护,当前版本 v1.0.0。

💬 留言讨论