--- name: daily-news-digests description: daily-news-digests — Build and maintain local scheduled news/research digest scripts that collect fresh items from multiple public sources and save Markdown locally. version: 1.0.0 license: MIT platforms: - macos - linux metadata: hermes: tags: - research - monitoring - news - markdown - cron - launchd - github - x - reddit --- # Daily News Digests Use this skill when the user asks for a recurring local news/research monitor that pulls fresh items from X/Twitter, GitHub, Reddit, Hacker News, RSS, release notes, forums, or other public sources and saves a Markdown digest locally. The deliverable is a working collector plus verified scheduling, not a suggestion list. ## Default outcome Create: 1. A deterministic script under `~/scripts/` or an explicitly requested project folder. 2. A dated Markdown output directory under the relevant vault area. 3. A `latest.md` copy for quick viewing. 4. A scheduler: - macOS local/background: `launchd` LaunchAgent. - Hermes/gateway-delivered work: Hermes cron only when delivery or LLM reasoning is needed. 5. A verified test run with real output, logs, and exit status. ## Source selection pattern Prefer primary or near-primary feeds before broad web search: 1. Official GitHub repo: - releases - issues - pull requests - commits - GitHub search - Atom feeds for releases/commits 2. Official docs/blog/release notes RSS or sitemap if available. 3. X/Twitter via `xurl` when installed and authenticated. 4. Reddit public JSON search for relevant subreddits and global mentions. 5. Hacker News Algolia search. 6. Other forums/community sources only if the topic warrants it. For X/Twitter, do not read or print `~/.xurl`. Check only `xurl auth status`; if auth is unavailable, make the script skip X cleanly and explain how the user can enable it outside the agent session. ## Implementation steps 1. Decide output path based on domain ownership. - Assistant/system monitoring: `~/Notes//` - Personal: `~/Notes/...` - Work/finance/safety domains: delegate or ask the owning profile if needed. 2. Write a standalone script with: - Configurable window, e.g. `HERMES_NEWS_DAYS`. - Configurable output directory, e.g. `HERMES_NEWS_DIR`. - Configurable max items per source. - Per-source exception handling so one failing source does not kill the digest. - Deduplication by canonical URL. - Markdown grouped by source. - A clear note that collection is not verification. 3. Run syntax validation: - Python: `python3 -m py_compile