← Back to Skills Marketplace
446
Downloads
0
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install skill-woocommerce-stock-monitor
Description
Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Run daily via cron.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install skill-woocommerce-stock-monitor - After installation, invoke the skill by name or use
/skill-woocommerce-stock-monitor - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is WooCommerce Stock Monitor?
Monitor WooCommerce products for out-of-stock changes and send Telegram alerts. Run daily via cron. It is an AI Agent Skill for Claude Code / OpenClaw, with 446 downloads so far.
How do I install WooCommerce Stock Monitor?
Run "/install skill-woocommerce-stock-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WooCommerce Stock Monitor free?
Yes, WooCommerce Stock Monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WooCommerce Stock Monitor support?
WooCommerce Stock Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WooCommerce Stock Monitor?
It is built and maintained by Zero2Ai (@zero2ai-hub); the current version is v1.0.1.
More Skills