← 返回 Skills 市场
zero2ai-hub

WooCommerce Stock Monitor

作者 Zero2Ai · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
446
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install skill-woocommerce-stock-monitor
功能描述
Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Run daily via cron.
安全使用建议
This skill appears to be what it says: a simple WooCommerce poller that sends Telegram alerts. Before installing/run it, verify these points: - The skill requires TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID (set in cron or environment). Keep the bot token secret. - Provide a secure woo-api.json with only the WooCommerce read credentials. The default path is ~/woo-api.json; consider placing it in a restricted directory and referencing it explicitly via WOO_API_PATH. - The script writes state to memory/stock-state.json relative to the skill; confirm that location is acceptable and not shared with other services. - Registry metadata omits the required env vars/credentials — do not assume the skill is credential-free. Double-check SKILL.md and the script before running. - Run the script in a least-privilege environment (non-root user, isolated container or sandbox) if you're unsure about trust level. If you need higher assurance, inspect or run the bundled scripts in a controlled environment and verify network requests (to your store and api.telegram.org) before giving it persistent or automated execution.
功能分析
Type: OpenClaw Skill Name: skill-woocommerce-stock-monitor Version: 1.0.1 The skill is a legitimate tool for monitoring WooCommerce product stock levels and sending notifications via Telegram. It reads API credentials from a user-defined local file (~/woo-api.json) and uses standard Node.js HTTPS modules to interact with the WooCommerce REST API and Telegram Bot API. The code in scripts/stock-monitor.js is transparent, lacks obfuscation, and performs only the actions described in SKILL.md and README.md.
能力评估
Purpose & Capability
Name/description, README, SKILL.md, and the included script all align: the script fetches products from the WooCommerce REST API (using consumer_key/consumer_secret from a local JSON), compares state, saves a state file, and posts alerts to Telegram. Minor inconsistency: registry metadata declares no required env vars/credentials while SKILL.md and the script require TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID and a WOO_API_PATH file; this is likely an oversight but worth noting.
Instruction Scope
SKILL.md instructs to run node scripts/stock-monitor.js and documents environment vars and state file location. The runtime instructions and the script stay within the stated purpose: they read a specified WooCommerce credentials file, call the store API, write a local state file, and call Telegram's API. The script does not access unrelated system files or external endpoints beyond the store and api.telegram.org.
Install Mechanism
No install spec (instruction-only) and the script is bundled with the skill; there are no downloads or external installers. This is low-risk from an install perspective.
Credentials
The script legitimately needs a WooCommerce API (consumer key/secret via woo-api.json) and Telegram bot token/chat id. Those are proportionate to the feature. However, registry metadata did not declare these required credentials — the omission could mislead users about what secrets are needed. The default WOO_API_PATH points to the user's home directory, so users should ensure the referenced JSON is stored securely.
Persistence & Privilege
The skill is not always-enabled and may be invoked by the agent; it writes a local state file memory/stock-state.json under the skill's directory (normal for tracking state). It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-woocommerce-stock-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-woocommerce-stock-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added README.md with usage instructions, configuration details, and setup guidance. - No changes to functionality.
v1.0.0
Initial release of WooCommerce Stock Monitor. - Monitors WooCommerce products for in-stock to out-of-stock transitions. - Sends daily Telegram alerts for newly out-of-stock items. - Provides a first-run baseline report of all current out-of-stock products. - Tracks stock changes using a local state file for accurate notifications. - Easy configuration via environment variables and compatible with cron scheduling.
元数据
Slug skill-woocommerce-stock-monitor
版本 1.0.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 2
常见问题

WooCommerce Stock Monitor 是什么?

Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Run daily via cron. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 446 次。

如何安装 WooCommerce Stock Monitor?

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

WooCommerce Stock Monitor 是免费的吗?

是的,WooCommerce Stock Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

WooCommerce Stock Monitor 支持哪些平台?

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

谁开发了 WooCommerce Stock Monitor?

由 Zero2Ai(@zero2ai-hub)开发并维护,当前版本 v1.0.1。

💬 留言讨论