agresource
by brianppetty
Browser & AutomationBrief
Use this skill to scrape, summarize, and analyze AgResource grain marketing newsletters.
Description
What This Skill Does
Scrapes AgResource grain marketing newsletters up to four times daily using Playwright. Extracts corn and soybean sales advice, generates structured summaries, and tracks sentiment using price-impact-focused dimensions (bullish/bearish market mood, weather impact on supply, production outlook). Stores results as dated markdown files and sends Telegram alerts when sales recommendations change.
Replaces manual login and reading of up to four daily newsletters with automated scraping, structured summaries, and change-only Telegram alerts.
When to Use It
- Reviewing morning grain market outlook before deciding whether to sell corn
- Catching new soybean sales recommendations without manually logging into AgResource
- Tracking sentiment shifts from bullish to bearish across a week of newsletters
- Getting Saturday or Sunday grain updates without opening the dashboard
- Comparing current corn positioning to advice from previous newsletters
Example Workflow
User asks: Check AgResource newsletter
- 1
Log in to AgResource dashboard using AGRESOURCE_EMAIL and AGRESOURCE_PASSWORD
- 2
Scrape newsletter content with Playwright and save a screenshot
- 3
Extract sales advice status and current positioning for corn and soybeans
- 4
Analyze sentiment across price-impact dimensions: market mood, weather impact, production outlook, trend direction
- 5
Save structured summary to a dated markdown file in ~/clawd/memory/agresource/
Markdown summary with sentiment ratings, sales advice status, and key news items. Telegram alert sent only if sales advice changed from the previous newsletter.
Requirements
- AgResource account with active paid subscription
- AGRESOURCE_EMAIL environment variable
- AGRESOURCE_PASSWORD environment variable
- Telegram bot token and chat ID configured for alerts
Installation
clawhub install brianppetty/agresourceRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.