A self-hosted daily briefing powered by Claude Code scheduled agents ("Routines"). I switched to using this after testing digest tools such as OpenClaw.
Every morning at whatever time you decide, a Claude agent spins up in Anthropic's cloud, fetches weather and your RSS feeds, and posts a formatted briefing to Discord (or any channel you configure). No server to maintain, no subscription beyond Claude Code.
What it looks like
A short stack of Discord messages arrives each morning:
Weather — active alerts first, then current conditions, today's forecast, cycling/activity outlook, confidence rating:
[Claude] [WEATHER] Brooklyn, NY — Saturday, March 28
🚨 Active alerts
• Wind Advisory — until 7 PM today. Gusts to 45 mph; secure loose outdoor objects.
🌡️ Current conditions (as of 6:02 AM ET)
• 33°F / 1°C, Clear skies
• Wind: NW 14 mph, gusts to 28 mph
• Humidity: 49%
📊 Today's forecast
• High: 45°F / 7°C — Low: 33°F / 1°C
• Conditions: Mostly sunny, NW winds 14–16 mph with gusts to 28 mph
🌧 Precipitation
• None expected today
• Next chance: 30% Monday night after 2 AM
🚴 Cycling outlook
• Cold start at 33°F / 1°C, warming to 45°F / 7°C — dress in layers
• Gusty NW winds 14–28 mph — significant headwind/crosswind depending on route
• Clear and sunny all day — good visibility, no precipitation risk
✅ Confidence: High — hourly and period forecasts are consistent
🅿️ Alt Side Parking: Suspended today — Tisha B'Av (meters still in effect)
_Source: open-meteo.com · NYC 311 for parking_
(The parking line is NYC-only and shows up only when ASP isn't running normally — a holiday suspension or a Sunday. On an ordinary day it's absent. See NYC alternate side parking.)
Headlines — the agent reads everything across all your feeds and picks the 2–3 items that matter most to you, with a one-line reason why. Quiet feeds get a single footnote instead of their own "nothing today" message:
[Claude] [HEADLINES] Saturday, March 28
• Vibe coding SwiftUI apps is a lot of fun — Willison's minimal-prompting workflow maps directly onto how you build side projects with Claude
• Patch Tuesday, March Edition — two of the actively-exploited Windows flaws affect infra you run
Quiet today: Elena Verna, Pragmatic Engineer
Feeds — then one message per source that actually has new posts, no link previews:
[Claude] [SIMON WILLISON] Saturday, March 28
• Vibe coding SwiftUI apps is a lot of fun — Willison built two macOS apps using Claude with minimal prompting
• We Rewrote JSONata with AI in a Day, Saved $500K/Year — Case study of AI-assisted port to Go
...
Audio (optional) — if your trigger has an OPENROUTER_API_KEY, a last message carries a two-to-three-minute spoken version of the whole briefing as an mp3, rewritten for listening rather than read word for word:
[Claude] [AUDIO] Saturday, March 28
(briefing-2026-03-28.mp3 attached)
How it works
Claude Code lets you schedule remote agents on a cron schedule. Each run:
- Anthropic's cloud clones this repo into an isolated environment
- The agent reads
briefing/prompt.mdfor instructions - It reads
briefing/user-context.mdto personalize the output - It fetches weather from Open-Meteo (global coverage, no API key, dual °F/°C) and active weather alerts from the National Weather Service (US locations; skipped gracefully elsewhere)
- If home is in NYC, it checks the NYC 311 calendar and adds a parking line only when alternate side parking is suspended or otherwise not in effect
- It fetches your configured RSS feeds and filters to posts from the last ~24 hours (26h window, so a slow or late run never silently drops a post)
- It synthesizes a Headlines message — the 2–3 items across all feeds that matter most, ranked against your interests
- It posts to Discord (or other configured channels)
- If an OpenRouter key is set, it posts a spoken mp3 version last (ElevenLabs voice via OpenRouter)
No server, no cron job, no infrastructure. Just a repo and a trigger.
Setup
Prerequisites
- Claude Code account — Pro plan or above required for scheduled triggers. The free tier does not support them.
- GitHub account — repo can be public or private
1. Fork this repo
Fork to your own GitHub account. The trigger will clone it fresh on every run.
2. Edit briefing/user-context.md
This is the most important file — it's what makes the briefing yours. Describe:
- Your interests and what to prioritize in feeds
- Your weather priorities (e.g. cyclist = wind first, runner = humidity, etc.)
- Tone and format preferences
3. Edit briefing/config.json
{
"weather": {
"location": "Your City, Country"
},
"feeds": [
{ "name": "Feed Name", "url": "https://example.com/feed", "max_items": 5 }
],
"delivery": {
"discord_webhook": {
"enabled": true,
"url": "YOUR_DISCORD_WEBHOOK_URL"
}
}
}
Finding RSS feeds: Most blogs and newsletters have a feed at /feed or /atom.xml. Substack newsletters are always at https://yourpublication.substack.com/feed.
Private or tokenized feeds (Stratechery Passport, paid Substacks, anything whose feed URL contains a personal access token): don't put the real URL in config.json — a tokenized URL is a credential, and anyone who can read your repo can read your paid feed as you. Use a $PLACEHOLDER instead:
{ "name": "Stratechery", "url": "$STRATECHERY_FEED_URL", "max_items": 4 }
…and pass the real URL in the trigger's bootstrap prompt (step 5), exactly like the Discord webhook. The agent substitutes it at run time; the config validator skips placeholders.
Config is validated on every push. A GitHub Action (.github/workflows/validate.yml) checks that config.json parses, has the right shape, and that every feed URL actually resolves and responds — so a broken config turns CI red minutes after you push, instead of degrading tomorrow's 6 AM briefing. You can also run it locally before pushing:
python3 scripts/validate.py --check-feeds
4. Set up Discord delivery
- In Discord, go to your channel → Edit Channel → Integrations → Webhooks → New Webhook
- Copy the webhook URL
- Set
delivery.discord_webhook.enabled: trueinconfig.json— leaveurlempty - Instead, add the URL to your trigger's bootstrap prompt (keeps it out of your public repo):
The repo has been cloned into your working directory.
Get today's date by running: date +%Y-%m-%d
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
STRATECHERY_FEED_URL=https://stratechery.passport.online/feed/rss/YOUR_TOKEN
Then read briefing/prompt.md and follow its instructions exactly.
(The STRATECHERY_FEED_URL line is only needed if you use a $PLACEHOLDER feed — one line per placeholder, named to match. You can also add DISCORD_ALERT_WEBHOOK_URL=... pointing at a separate channel if you want partial-failure alerts routed away from the briefing itself — if you skip it, alerts fall back to the main webhook. Add NYC_ASP_API_KEY=... if you're in NYC and want the alternate side parking line. Add OPENROUTER_API_KEY=... for the spoken audio version: about 4–6¢ a day, billed per character (as of October 2026, while OpenRouter discounts ElevenLabs by half; about double without the discount). Give that key its own monthly limit on OpenRouter, and delete the line to turn the audio off.)
No bot setup, no OAuth — Discord webhooks are just HTTPS endpoints. Storing secrets in the trigger (not the repo) means you can keep your repo public without exposing them.
5. Create the scheduled trigger
Open Claude Code and run /schedule, or go to claude.ai/code/scheduled.
Create a new trigger with these settings:
| Setting | Value |
|---|---|
| Name | Daily Briefing |
| Schedule | 15 10 * * * (6:15am ET — adjust for your timezone, cron is UTC) |
| Environment | Internet Access |
| Git source | Your fork's GitHub URL |
| Model | claude-opus-4-8 |
| Tools | Bash, Read, Write, Edit, Glob, Grep, WebFetch |
Bootstrap prompt — the version from step 4, with your secret lines filled in:
The repo has been cloned into your working directory.
Get today's date by running: date +%Y-%m-%d
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
STRATECHERY_FEED_URL=https://stratechery.passport.online/feed/rss/YOUR_TOKEN
Then read briefing/prompt.md and follow its instructions exactly.
(Drop the STRATECHERY_FEED_URL line if you have no $PLACEHOLDER feeds. Add NYC_ASP_API_KEY=... on its own line for the NYC parking status, and OPENROUTER_API_KEY=... for the spoken audio version.)
6. Test it
Hit "Run now" from claude.ai/code/scheduled. The agent takes 1–2 minutes to run. Check Discord to verify.
Customizing
Switch weather location (e.g. when traveling)
Leave weather.location set to your home city and add a time-boxed entry to weather.travel. The agent picks the first active entry (where today falls between start, if set, and end inclusive) and auto-reverts to home once end passes — no second push needed.
"weather": {
"location": "Brooklyn, NY",
"lat": 40.6782,
"lon": -73.9442,
"travel": [
{ "location": "Amsterdam, Netherlands", "lat": 52.3676, "lon": 4.9041, "end": "2026-04-24" },
{ "location": "Tokyo, Japan", "lat": 35.6762, "lon": 139.6503, "start": "2026-06-10", "end": "2026-06-18" }
]
}
Dates are YYYY-MM-DD and interpreted in the agent's timezone. start is optional (omit for "starts immediately"); end is required and inclusive. Expired entries are ignored, so you can delete them whenever.
Weather is powered by Open-Meteo — free, no API key, global coverage, °F and °C. Open-Meteo queries by lat/lon, so each location entry includes lat/lon. If you omit them, the agent falls back to Open-Meteo's geocoding endpoint to resolve a city name into coordinates — but pre-caching coords skips a round-trip and removes one more thing that can fail. Look up coords once for new destinations and paste them in. (Previously used wttr.in; switched 2026-05-26 after sustained per-IP 503s from the routine sandbox.)
NYC alternate side parking
If home is in NYC, the briefing can flag days when alternate side parking isn't running normally:
🅿️ Alt Side Parking: Suspended today — Tisha B'Av (meters still in effect)
🅿️ Alt Side Parking: Suspended today — Labor Day (meters also suspended)
🅿️ Alt Side Parking: Not in effect today (Sunday)
The meter clause matters because the two rules diverge — ASP is suspended for Tisha B'Av but meters still run, while Labor Day suspends both. It's taken verbatim from the API's own details field for that date, never inferred from the holiday; if the field doesn't mention meters, the clause is omitted.
It stays quiet on ordinary days. ASP is in effect roughly 330 days a year, and a line saying so every morning is wallpaper you stop reading. The line appears only when the answer is different — a holiday suspension or a Sunday — so its presence is itself the signal. The trade-off worth knowing: on a normal day, "no line" and "feature switched off" look identical in the briefing. Real breakage is covered by the partial-failure alert instead, which is why the failure paths below are loud.
Why the 311 calendar and not @NYCASP: the account posts "rules are in effect today" at 7:30 AM ET, after this briefing runs. Only the previous day's 4 PM "tomorrow" tweet is available at 6:15 AM, and there's no tweet at all covering Sundays. The 311 API answers for any date directly and returns a structured status instead of prose.
It needs a free NYC 311 API key:
- Sign up at api-portal.nyc.gov
- Subscribe to the "NYC 311 Public Developers" product and copy your subscription key
- Add it to your trigger's bootstrap prompt (keeps it out of the repo, same pattern as the Discord webhook):
NYC_ASP_API_KEY=your_nyc_311_subscription_key
Not in NYC? Leave it alone. The agent gates on a coarse NYC bounding box around the active location, so a fork with home elsewhere skips silently and never asks for a key — and it also skips automatically while a weather.travel entry is active. Setting alternate_side_parking.enabled: false turns it off outright.
One known edge: the box has to reach west to -74.28 to cover Staten Island, which also sweeps in nearby New Jersey. If home is Newark or Jersey City you'll get a daily "key not provided" alert until you set enabled: false — python3 scripts/validate.py warns you about an out-of-box home before it ever reaches a 6 AM run.
How it fails: in NYC with the feature on but no key, a failed fetch, or a status the API doesn't document — all three skip the line and fire a partial-failure alert. An unknown status is never rendered as "Suspended"; guessing wrong in that direction is what gets a car towed, so the agent prints nothing and tells you instead.
Change the time
Update the cron expression on your trigger. Cron runs in UTC — use crontab.guru to convert. Remember to adjust in March (EDT, UTC-4) and November (EST, UTC-5).
Add or remove feeds
Edit the feeds array in config.json. Feeds are filtered to the last ~24 hours automatically. Weekly newsletters are fine to include — on quiet days they just appear in the Headlines footnote (Quiet today: ...) instead of getting their own message.
Change what the briefing focuses on
Edit briefing/user-context.md — the agent reads it on every run. No trigger changes needed.
Change the format or add sections
Edit briefing/prompt.md. This is where the agent instructions live. You can add sections, change the tone, restructure the output — the agent will follow it.
Adding delivery channels
| Channel | What's needed |
|---|---|
| Discord | Webhook URL in the trigger's bootstrap prompt (see Setup step 4) — no connector needed |
| Slack | Same as Discord — Slack incoming webhooks work identically |
| Connect an email MCP (Resend, etc.) at claude.ai/settings/connectors | |
| SMS | Connect a Twilio MCP at claude.ai/settings/connectors |
Repo structure
briefing/
prompt.md ← agent instructions (the "how")
user-context.md ← your personal context (the "who")
config.json ← feeds, weather, delivery channels (the "what")
scripts/
validate.py ← config sanity check (CI runs it on every push)
.github/workflows/
validate.yml ← the CI trigger for the check above
