← Back to Skills Marketplace
yinanping-cpu

Price Monitor

by Yinanping · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
608
Downloads
0
Stars
11
Active Installs
1
Versions
Install in OpenClaw
/install price-monitor
Description
Monitor website prices, inventory, and content changes using browser automation. Use when tracking e-commerce prices, competitor monitoring, stock alerts, or...
README (SKILL.md)

Price Monitor

Overview

Automated price and content monitoring skill using agent-browser. Tracks price changes, stock availability, and content updates on any website with configurable alerts and history logging.

Quick Start

# Monitor a product price
agent-browser open "https://example.com/product/123"
agent-browser snapshot -i
agent-browser get text @e1  # Get price element

Core Workflows

1. Single Product Price Check

Use case: Check current price of a specific product

# Navigate to product page
agent-browser open "\x3Cproduct-url>"

# Get page snapshot to find price element
agent-browser snapshot -i

# Extract price (use appropriate ref from snapshot)
agent-browser get text @e1

# Optional: Save to history log
echo "$(date), $(price)" >> price-history.csv

2. Multi-Product Monitoring

Use case: Track prices across multiple products/competitors

Create a products.csv with URLs and price selectors:

url,selector,name
https://site-a.com/product1,.price-tag,Product A
https://site-b.com/item2,#price,Product B

Run monitoring script:

python scripts/monitor_prices.py products.csv

3. Stock/Inventory Alerts

Use case: Get notified when out-of-stock items become available

agent-browser open "\x3Cproduct-url>"
agent-browser snapshot -i
agent-browser get text @e1  # Check for "In Stock" or "Out of Stock"

4. Price History Tracking

Use case: Build historical price data for analysis

Script automatically logs:

  • Timestamp
  • Product name/URL
  • Current price
  • Stock status

Output: price-history.csv or JSON format

Scripts

monitor_prices.py

Main monitoring script that:

  • Reads product list from CSV
  • Navigates to each URL
  • Extracts price using CSS selector
  • Logs results with timestamp
  • Detects price changes
  • Optional: Send alerts on significant changes

Usage:

python scripts/monitor_prices.py products.csv [--alert-threshold 10]

Arguments:

  • products.csv - Product list with URLs and selectors
  • --alert-threshold - Percentage change to trigger alert (default: 10%)

Configuration

Product List Format (CSV)

url,selector,name,min_price,max_price
https://amazon.com/dp/B08N5WRWNW,.a-price-whole,Sony Headphones,50,150
https://bestbuy.com/site/12345,.priceView-hero-price,TV,200,500

Alert Options

  • Email alerts - Configure SMTP settings
  • Discord webhook - Post to Discord channel
  • File logging - Append to CSV/JSON
  • Console output - Print changes to terminal

Best Practices

  1. Rate limiting - Add delays between requests (30s+ recommended)
  2. Error handling - Handle page load failures gracefully
  3. Selector stability - Use stable CSS selectors, avoid dynamic classes
  4. Headless mode - Run browser in headless mode for automation
  5. Schedule wisely - Check prices during business hours for accuracy

Example: Daily Price Check Cron

# Run every day at 9 AM
0 9 * * * cd /path/to/skill && python scripts/monitor_prices.py products.csv

Troubleshooting

  • Element not found: Re-run snapshot to get updated refs
  • Price format issues: Adjust selector or parse with regex
  • Page load timeout: Increase timeout or add wait condition
  • Blocked by site: Add delays, rotate user agents, or use residential proxy
Usage Guidance
This skill appears to implement typical price-monitoring behavior, but check a few things before using it: 1) Install and verify agent-browser: The script calls the agent-browser CLI extensively, but the skill metadata does not declare that binary as required. Make sure agent-browser is installed and trustworthy before running the script. 2) Alerts are not implemented: SKILL.md mentions SMTP and Discord webhooks, but the included script only logs to a CSV and prints to console; if you need notifications you will have to add them and securely store credentials. 3) Rate-limiting and legality: The SKILL.md recommends long delays (30s+), but the script currently sleeps 2s between pages. Increase delays and respect target sites' robots/terms of service to reduce blocking or legal risk. 4) Local data: The script writes price-history.csv locally. Review that file for sensitive data and ensure you store it appropriately. 5) Review agent-browser output handling: The script parses JSON snapshots returned by agent-browser — ensure the CLI's output format matches expectations to avoid silent failures. If you want higher assurance, ask the skill publisher to (a) declare agent-browser as a required binary in the metadata, (b) implement/describe notification integrations clearly and securely, and (c) adjust defaults to safer rate limits.
Capability Analysis
Type: OpenClaw Skill Name: price-monitor Version: 1.0.0 The price-monitor skill is a legitimate tool designed to track website price changes using the agent-browser utility. The core logic in scripts/monitor_prices.py uses standard subprocess calls to interact with the browser and manages data locally via CSV files, with no evidence of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
The SKILL.md and script both rely on the agent-browser CLI to navigate pages and extract content, but the skill metadata lists no required binaries. The script's use of agent-browser is necessary for its stated purpose, so the missing declared dependency is an inconsistency that could cause failures or hide an implicit requirement.
Instruction Scope
The runtime instructions (use agent-browser to open pages, snapshot, extract text; run the included Python script with a CSV) align with the price-monitor description. The instructions do suggest rate-limiting, proxies and rotating user agents for evasion, which are within scope for scraping but worth noting for legal/ethical risk and potential operational issues.
Install Mechanism
There is no install spec (instruction-only plus a local Python script). That minimizes hidden install risk. The single included Python script is readable and does not download or execute remote code.
Credentials
No environment variables or credentials are required by the code. SKILL.md mentions optional email (SMTP) and Discord webhook alerts, but the provided script does not implement those integrations; if you add them you will need to provide secrets. As-is, no excessive credential access is requested.
Persistence & Privilege
The skill is not always-on and does not request elevated platform privileges. It runs as a user-invoked script and writes only to local history files, which is consistent with the advertised behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install price-monitor
  3. After installation, invoke the skill by name or use /price-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Monitor product prices from any website with automated alerts and history logging.
Metadata
Slug price-monitor
Version 1.0.0
License
All-time Installs 11
Active Installs 11
Total Versions 1
Frequently Asked Questions

What is Price Monitor?

Monitor website prices, inventory, and content changes using browser automation. Use when tracking e-commerce prices, competitor monitoring, stock alerts, or... It is an AI Agent Skill for Claude Code / OpenClaw, with 608 downloads so far.

How do I install Price Monitor?

Run "/install price-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Price Monitor free?

Yes, Price Monitor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Price Monitor support?

Price Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Price Monitor?

It is built and maintained by Yinanping (@yinanping-cpu); the current version is v1.0.0.

💬 Comments