Files
2026-07-12 10:17:17 -04:00

55 lines
1.8 KiB
Markdown

# Example Briefing Configurations
Concrete cron job setups from a real session. Use these as templates when creating new briefings.
## Example 1: Weather / Mowing Forecast
**Trigger:** "Check weather in Knoxville, TN 37919 — best mowing day after 6pm weekdays, anytime weekends"
**Cron settings:**
```
schedule: 0 8 * * 1 (Monday 8 AM)
toolsets: ["web", "terminal"]
deliver: origin (sends to this chat)
```
**Prompt structure (simplified):**
```
Fetch the JSON forecast from wttr.in for Knoxville TN 37919.
Parse hourly data for each available day.
Check constraints: after 6pm on weekdays, anytime on weekends.
Find the slot with lowest rain chance, comfortable temp, low wind.
Format with 🌱 emoji, bold the recommendation, keep it concise.
```
## Example 2: Stock Buzz Briefing
**Trigger:** "Most talked-about stocks each morning from Reddit, news, and general buzz"
**Cron settings:**
```
schedule: 30 8 * * 1-5 (Mon-Fri 8:30 AM)
toolsets: ["web", "terminal"]
deliver: origin
```
**Data sources to scrape:**
- Reddit: `old.reddit.com/r/wallstreetbets.json`, `r/stocks.json`, `r/investing.json`, `r/StockMarket.json`
- News: `finance.yahoo.com`, market aggregator sites
- Pre-market movers from free financial sources
**Prompt structure (simplified):**
```
Gather trending tickers from Reddit finance subs, financial news headlines, and general buzz.
Categorize: most talked-about stocks, top headlines, Reddit pulse.
Format with 📈 emoji header, bold tickers, keep to 3-5 stocks unless event-driven.
```
## Common cron schedule patterns used
| Pattern | Meaning | Use Case |
|---------|---------|----------|
| `30 8 * * 1-5` | 8:30 AM weekdays | Stock buzz (markets open) |
| `0 8 * * 1` | 8 AM Mondays | Weekly weather/mowing |
| `0 9 * * *` | 9 AM daily | Daily digests |