agresourceScrapes and summarizes AgResource grain newsletters with daily sales advice, price-impact sentiment analysis, trend tracking, and Telegram alerts on updates.
Install via ClawdBot CLI:
clawdbot install brianppetty/agresourceUse this skill to scrape, summarize, and analyze AgResource grain marketing newsletters.
scraper.js (Playwright/Node.js)agresource_sentiment.py (Python)AGRESOURCE_EMAIL and AGRESOURCE_PASSWORD env vars~/clawd/memory/agresource/YYYY-MM-DD.md (morning)~/clawd/memory/agresource/YYYY-MM-DD-noon.md (noon)~/clawd/memory/agresource/YYYY-MM-DD-evening.md (evening)~/clawd/memory/agresource/YYYY-MM-DD-saturday.md (saturday)~/clawd/memory/agresource/YYYY-MM-DD-sunday.md (sunday)~/clawd/memory/agresource/sentiment_history.json"Check AgResource newsletter"
"Summarize today's grain report"
"Show full newsletter" (detailed view)
To run scraper manually:
cd /home/brianppetty/clawd/skills/agresource
# Morning newsletter (default)
node scraper.js
node scraper.js --type=morning
# Noon/midday newsletter
node scraper.js --type=noon
# Evening newsletter
node scraper.js --type=evening
# Saturday newsletter
node scraper.js --type=saturday
# Sunday newsletter
node scraper.js --type=sunday
When a cron event fires, match the time/type to the correct --type parameter:
| Cron Message | Type to Use | Time |
|--------------|-------------|------|
| "Check AgResource newsletter (morning)" | --type=morning | 8:30 AM ET (Mon-Fri) |
| "Check AgResource newsletter (afternoon)" | --type=noon | 1:30 PM ET (Mon-Fri) |
| "Check AgResource newsletter (evening - positioning)" | --type=evening | 7:00 PM ET (Mon-Sat) |
| "Check AgResource newsletter (weekend)" | --type=saturday or --type=sunday | ~3:00 PM ET (Sat/Sun) |
For weekend jobs, determine which day it is and use:
--type=saturday--type=sunday"What's the current market sentiment?"
"Show sentiment trends"
"What's the sentiment history?"
CRITICAL: Sentiment analysis tracks PRICE IMPACT, not general "good/bad" news.
Key inverse relationships to remember:
Track these dimensions across newsletters:
Status phrases to detect:
Keywords for sales advice:
Brief summary sent for every newsletter:
πΎ AgResource - 2026-01-08 8:30 AM
Summary: No sales recommended
Sentiment: Bullish (βοΈ improving)
Full details in ~/clawd/memory/agresource/
YYYY-MM-DD.md)# AgResource Newsletter - 2026-01-08 8:30 AM
## Quick Summary
[2-3 sentence overview]
## Key Newsworthy Items
- [Grain production relevant news]
- [Weather tidbits]
## Sales Advice Status
- Corn: [New sales advice / No change / No sales recommended]
- Soybeans: [New sales advice / No change / No sales recommended]
## Current Positions (from end of newsletter)
- [Summary of current positioning]
## Sentiment & Trends
- **Market Mood:** Bullish / Bearish / Neutral
- **Previous Mood:** [from last newsletter]
- **Trend:** Improving / Declining / Stable
- **Weather Impact:** Positive / Negative / Mixed
- **Production Outlook:** Optimistic / Cautious / Uncertain
## Full Content
[Optional: full newsletter content for reference]
sentiment_history.json){
"last_updated": "2026-01-08T08:30:00",
"sentiment_history": [
{
"date": "2026-01-08",
"time": "08:30 AM",
"market_mood": "bullish",
"weather_impact": "positive",
"production_outlook": "optimistic",
"trend_direction": "improving",
"confidence": "high",
"key_phrases": ["prices advancing", "favorable weather"],
"sales_advice": "No sales recommended"
}
]
}
Credentials: Loaded from environment variables
AGRESOURCE_EMAILAGRESOURCE_PASSWORDDependencies:
/home/brianppetty/clawd/skills/agresource/node_modules/playwright)Schedule: 4x daily (cron jobs)
History window: Keep last 15-20 newsletters for sentiment tracking
Generated Mar 1, 2026
A commodity trading firm uses the skill to scrape daily AgResource newsletters for real-time sentiment and sales advice on corn and soybeans. Traders receive Telegram alerts on bullish/bearish shifts to adjust positions, while sentiment history tracks trends for strategic planning.
Large-scale farming operations integrate the skill to monitor weather impacts and production outlooks from newsletters. It helps farmers decide when to sell grain based on sales advice and sentiment trends, storing summaries for audit trails in their memory system.
Investment advisors leverage the skill to analyze AgResource data for clients in agribusiness sectors. They use sentiment dimensions like market mood and production outlook to assess price risks and provide recommendations on grain-related investments.
Food processing companies employ the skill to track grain supply fluctuations from newsletter summaries. By analyzing weather impacts and export demand sentiment, they anticipate price changes and optimize procurement strategies to mitigate supply chain disruptions.
Academic or industry researchers use the skill to collect historical sentiment and sales advice data from AgResource. They analyze trends in sentiment_history.json to study market dynamics and publish insights on grain price forecasting models.
Offer a premium service where processed AgResource summaries and sentiment alerts are delivered via API or dashboard to subscribers. Revenue is generated through monthly or annual fees, targeting traders and agribusinesses needing real-time insights without manual scraping.
Provide consulting services to integrate the skill into clients' existing systems, such as CRM or trading platforms. Revenue comes from one-time setup fees and ongoing support contracts, helping businesses automate newsletter analysis tailored to their workflows.
License the skill's technology to other companies, allowing them to rebrand and use it for their own grain market analysis tools. Revenue is generated through licensing fees and royalties, enabling partners to offer value-added services without developing from scratch.
π¬ Integration Tip
Ensure environment variables for login credentials are securely configured, and schedule cron jobs to match newsletter times for automated scraping without manual triggers.
iMessage/SMS CLI for listing chats, history, watch, and sending.
Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.
Use when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).
OpenClaw skill for designing Telegram Bot API workflows and command-driven conversations using direct HTTPS requests (no SDKs).