CamelCamelCamel Alerts
@jgramajo4
npx machina-cli add skill @jgramajo4/camelcamelcamel-alerts --openclawCamelCamelCamel Alerts
Automatically monitor your CamelCamelCamel RSS feed for Amazon price drops and get notified on Telegram.
Quick Start
-
Get your RSS feed URL from CamelCamelCamel:
- Go to https://camelcamelcamel.com/ and set up price alerts
- Get your personal RSS feed URL (format:
https://camelcamelcamel.com/alerts/YOUR_UNIQUE_ID.xml)
-
Create a cron job with YOUR feed URL (not someone else's!):
cron add \
--job '{
"name": "camelcamelcamel-monitor",
"schedule": "0 */12 * * *",
"task": "Monitor CamelCamelCamel price alerts",
"command": "python3 /path/to/scripts/fetch_rss.py https://camelcamelcamel.com/alerts/YOUR_UNIQUE_ID.xml"
}'
Important: Replace YOUR_UNIQUE_ID with your own feed ID from step 1. Each person needs their own feed URL!
- Clawdbot will:
- Fetch your feed every 4 hours
- Detect new price alerts
- Send you Telegram notifications
How It Works
The skill uses two components:
scripts/fetch_rss.py
- Fetches your CamelCamelCamel RSS feed
- Parses price alert items
- Compares against local cache to find new alerts
- Outputs JSON with new items detected
- Caches item hashes to avoid duplicate notifications
Cron Integration
- Runs on a schedule you define
- Triggers fetch_rss.py
- Can be configured to run hourly, every 4 hours, daily, etc.
Setup & Configuration
See SETUP.md for:
- How to get your CamelCamelCamel RSS feed URL
- Step-by-step cron configuration
- Customizing check frequency
- Cache management
- Troubleshooting
Alert Cache
The script maintains a cache at /tmp/camelcamelcamel/cache.json to track which alerts have been notified. This prevents duplicate notifications.
Clear the cache to re-test notifications:
rm /tmp/camelcamelcamel/cache.json
Notification Format
When a new price drop is detected, you'll receive a Telegram message like:
š *Price Alert*
*PRODUCT NAME - $XX.XX (Down from $YY.YY)*
Current price: $XX.XX
Historical low: $ZZ.ZZ
Last checked: [timestamp]
View on Amazon: [link]
Customization
Check Frequency
Adjust the cron schedule (6th parameter in the schedule field):
0 * * * *ā every hour0 */4 * * *ā every 4 hours (default)0 */6 * * *ā every 6 hours0 0 * * *ā daily
Message Format
Edit scripts/notify.sh to customize the Telegram message layout and emoji.
Technical Details
- Language: Python 3 (built-in libraries only)
- Cache: JSON file at
/tmp/camelcamelcamel/cache.json - Feed Format: Standard RSS/XML
- Dependencies: None beyond Python standard library
- Timeout: 10 seconds per feed fetch
Troubleshooting
If you're not receiving notifications:
- Verify the feed URL works in your browser
- Check the cron job exists:
cron list - Test manually:
python3 scripts/fetch_rss.py <YOUR_FEED_URL> /tmp/camelcamelcamel - Clear the cache to reset:
rm /tmp/camelcamelcamel/cache.json - Check Telegram is configured in Clawdbot
See SETUP.md for more details.
Overview
Automatically monitor your CamelCamelCamel RSS feed for Amazon price drops and push Telegram alerts when a new deal appears. This enables automatic price tracking for products and timely notifications, helping you snag discounts before they expire.
How This Skill Works
The system uses scripts/fetch_rss.py to fetch and parse the CamelCamelCamel RSS feed, comparing items against a local cache to identify new alerts. When new items are detected, it outputs JSON and triggers Telegram notifications. Notably, alerts are cached at /tmp/camelcamelcamel/cache.json to avoid duplicates, and a cron schedule runs the task at your chosen interval.
When to Use It
- To automatically track Amazon price drops via CamelCamelCamel and forward them to Telegram
- To receive Telegram alerts the moment a product hits a target price
- To monitor multiple products using individual CamelCamelCamel RSS feeds
- To run on a configurable cron schedule (hourly, every 4 hours, daily, etc.)
- To avoid duplicate notifications with a persistent local cache
Quick Start
- Step 1: Get your RSS feed URL from CamelCamelCamel (https://camelcamelcamel.com/alerts/YOUR_UNIQUE_ID.xml)
- Step 2: Create a cron job using your feed URL and a sample command to run fetch_rss.py
- Step 3: Clawdbot will fetch the feed, detect new alerts, and send Telegram notifications
Best Practices
- Use your own unique CamelCamelCamel RSS feed URL (your feed ID) to avoid conflicts and ensure accurate alerts
- Configure a sensible cron frequency that matches how often you want updates
- Test the setup by running manual checks and verifying Telegram delivery
- Keep the cache file /tmp/camelcamelcamel/cache.json writable and protect access
- Periodically verify feed URLs and clear the cache if you need to re-test notifications
Example Use Cases
- A user creates a separate RSS feed for each product and receives per-product Telegram alerts when prices drop
- An interval of every 4 hours is configured to balance timely alerts with resource usage
- The system prevents duplicate messages by referencing the local cache between runs
- Clearing /tmp/camelcamelcamel/cache.json re-tests all previously seen alerts
- Telegram notifications include product name, current price, and view-on-Amazon link