← Back to Skills Marketplace
catplus-eric

油价智能提醒

by CatPluZ · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
136
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oil-price-reminder-china
Description
油价智能提醒技能。自动监控国家发改委油价公告,判断近期油价涨跌趋势,在调价窗口前提早提醒用户加油。(1)未来油价将上调 → 提醒近日安排加油;(2)未来油价将下调 → 提醒等调价后再去加油。支持自定义检查频率、城市配置、状态防重复提醒。触发条件:用户提到"油价提醒"、"什么时候加油"、"油价涨了吗"、"设置油价监...
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oil-price-reminder-china
  3. After installation, invoke the skill by name or use /oil-price-reminder-china
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
oil-price-reminder-eric v1.0.0 - 首发上线:油价智能提醒技能,自动监控国家发改委油价公告 - 自动抓取、分析油价涨跌趋势,智能在调价窗口前提醒用户加油或等待 - 支持自定义检查频率(每天/每3天/每周)及城市配置 - 自动估算下次调价日期,并防止同一天重复提醒 - 本地状态记录,零依赖外部API,适合定时运行与消息推送 - 用户通过“油价提醒”等关键词激活,即可使用
Metadata
Slug oil-price-reminder-china
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 油价智能提醒?

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

How do I install 油价智能提醒?

Run "/install oil-price-reminder-china" 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 CatPluZ (@catplus-eric); the current version is v1.0.0.

💬 Comments