AgentStack
SKILL verified MIT Self-run

Daily Briefing

skill-cosmicstack-labs-mercury-agent-skills-daily-briefing · by cosmicstack-labs

Automated daily tech briefing — multi-source collection → knowledge-base deduplication → AI summarization → TTS speech synthesis, generating MP3 audio briefings

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-cosmicstack-labs-mercury-agent-skills-daily-briefing

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Daily Briefing? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Daily AI Audio Briefing

> Automatically collect, deduplicate, summarize, and synthesize a daily tech briefing as a warm-voiced MP3 every morning.

Workspace

  • Collection script + summarization/TTS script
  • Output: briefing/YYYY-MM-DD.mp3 + .txt
  • Knowledge base: brain/news/YYYY-MM-DD/
  • Schedule: cron (recommended 8:30 AM)

Workflow

  1. Collect — Scrape GitHub trending/rising, HN top/show/new, arXiv latest AI papers, weather
  2. Deduplicate — Compare against brain/news/ existing entries
  • New project → mark is_new
  • Growth >30% → mark is_update
  • Otherwise → discard
  1. Ingest — Write new entries to brain/news/YYYY-MM-DD/
  2. Summarize — AI composes briefing script from filtered JSON
  3. Synthesize — TTS API → MP3 file
  4. Cleanup — Delete briefings older than 7 days

Rules

  • Don't use shell-level file deletion (find -delete) — may trigger security scanners; use Python Path.unlink()
  • Don't assume cron environment has API keys loaded — export them before running scripts
  • Don't use inline python3 -c or heredocs in agent/cron mode — write to .py files first
  • Don't trust agent-reported "MP3 generated" — verify mtime with stat after TTS step
  • Don't let each source exceed 8 items — keeps briefing concise

Validation

  • [ ] Collection script runs successfully, all sources return data
  • [ ] After dedup, filtered items ≥ 3
  • [ ] Generated briefing text contains correct date (no placeholders)
  • [ ] MP3 mtime matches current time (TTS actually ran)

Pitfalls

Date placeholders not replaced (Fixed: 2026-05-12)

  • Symptom: Briefing shows "Year X Month X" instead of actual date
  • Root cause: Prompt didn't inject real date, AI made it up
  • Fix: Inject datetime.date.today() into summarization prompt

Wrong weather source (Fixed: 2026-05-12)

  • Symptom: Always reports wrong city/temperature format
  • Root cause: Source only provided real-time temp, no high/low
  • Fix: Switch to structured weather API with high/low temp

Cron security scanner false positives

  • Symptom: Prompt blocked by exfil_curl pattern
  • Fix: Mark trusted cron job with skip_injection_scan: true

Cron environment missing .env

  • Symptom: TTS fails with "Missing credentials"
  • Fix: Export API keys before script execution

Model reasoning field empty content

  • Symptom: Reasoning model puts output in reasoning field, content is empty
  • Fix: Set generous max_tokens + retry with assistant message on empty content

TTS text length limit

  • Symptom: Long text causes unstable TTS output
  • Fix: Auto-truncate at safe threshold (~3000 chars)

References

  • references/weather-api.md — Weather data source and format
  • references/dedup-rules.md — Deduplication strategy and thresholds
  • references/tts-config.md — TTS model and parameters
  • references/cron-prompt-template.md — Cron job prompt template

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.