Daily GitHub Actions cron that polls every Discord channel the bot can see, dumps the last 24h of messages to digests/latest.md + digests/YYYY-MM-DD.md, and commits the result. A Claude scheduled task on Niklas's Mac fetches digests/latest.md each morning.
poll.py— talks to the Discord REST API, writes the markdown digest. No LLM summarization — raw messages, chronological..github/workflows/poll.yml— daily cron at 05:30 UTC (07:30 Berlin CEST), plusworkflow_dispatchfor manual runs.digests/latest.md— pointer the Claude scheduled task reads.digests/YYYY-MM-DD.md— daily archive.
Repo secret DISCORD_BOT_TOKEN is set by the bootstrap script.
gh workflow run poll.yml
gh run watch
If poll.py logs 403 / "bot not in any server", open:
https://discord.com/api/oauth2/authorize?client_id=1493705177050386562&scope=bot&permissions=66560
Pick the server, click Authorize, then gh workflow run poll.yml again.