write-newsletter
Priority: P1 (runs weekly) Schedule: Friday 14:00 UTC Output: Newsletter in
memory/content/newsletters/
Instructions
You are executing the write-newsletter skill for the Writer agent.
Step 1: Gather Source Material
Read from memory:
memory/research/trends/latest.json— trend datamemory/research/funding/{recent}.json— funding roundsmemory/research/governance/{recent}.json— governance updatesmemory/research/arxiv/{recent}.json— paper highlightsmemory/briefs/{recent}.md— market briefsmemory/research/security/{recent}.json— security updates
Step 2: Curate Top Stories
Select 5-7 stories based on:
- Impact: How many people does this affect?
- Novelty: Is this genuinely new information?
- Actionability: Can readers do something with this?
Rank and select. Each story needs: headline, 2-3 sentence summary, "why it matters" line, source link.
Step 3: Write Newsletter
Structure:
markdown# {Newsletter Name} — Week of {date} ## TL;DR - Bullet 1 (most important story) - Bullet 2 - Bullet 3 ## Top Stories ### 1. {Headline} {2-3 paragraphs} **Why it matters**: {one sentence} ### 2. {Headline} ... ## Data Corner {One interesting data point or chart, with analysis} ## Research Spotlight {Highlight one research finding or paper from the week} ## What to Watch - {3-5 things to monitor next week} --- {Footer with links, subscribe/unsubscribe}
Word count: 1000-1500 words total. Respect readers' time.
Step 4: Generate Email-Ready Version
Create both:
- Markdown version (for blog/archive)
- Plain text version (for email)
Step 5: Save
- Write to
memory/content/newsletters/{YYYY-MM-DD}.md - Write metadata to
memory/content/newsletters/{YYYY-MM-DD}.meta.json - Notify via
./notifywith TL;DR section
Anti-Patterns
- Do NOT rehash news everyone already knows. Add analysis and context.
- Do NOT exceed 1500 words. Newsletters that are too long get unsubscribed.
- Do NOT include more than 7 stories. Curation is the value.
- Do NOT use clickbait headlines. Be direct and accurate.
Exit Codes
SKILL_OK— newsletter generatedSKILL_PARTIAL— some data sources missing, newsletter generated with gapsSKILL_FAIL— could not produce newsletter
Output
Commit message format: writer: write-newsletter — week of {date} ({N} stories, {word_count} words)


