AgentSkillsCN

newsletter-digest

将新闻通讯整理为 Second Brain 摘要。当用户希望处理新闻通讯、创建摘要,或跟进订阅内容时使用。不适用于网页剪辑(请使用“处理网页剪辑”)或电子邮件书签(请使用“处理电子邮件书签”)。

SKILL.md
--- frontmatter
name: newsletter-digest
description: "Process newsletters into Second Brain digest. Use when user wants to process newsletters, create digest, or catch up on subscriptions. Not for web clippings (use process-clippings) or email bookmarks (use process-email-bookmarks)."
tools: Bash, Read, WebFetch

Newsletter Digest Skill

Process unread newsletters, extract actionable content for Second Brain, archive processed emails.

Gmail: See ../_GMAIL.md | Obsidian CLI: See ../_OBSIDIAN.md | Integration: See ../_SECOND_BRAIN.md

Newsletter Sources

All newsletters are processed - categorize by content, not by sender.

Common Platforms

bash
# Search for unread newsletters from common platforms
gog gmail search "is:unread (from:substack.com OR from:beehiiv.com OR from:convertkit.com OR from:mailchimp.com OR from:buttondown.email)" --account=maroffo@gmail.com --json --max=20

Known Newsletter Labels

LabelDescription
📰Newsletter/🔴 SubstackSubstack newsletters
📰NewsletterGeneral newsletters
👨🏻‍💻work-relatedWork-related content (higher priority)

Key Newsletters by Category

NewsletterAuthorCategory
ByteByteGoAlex XuAI/Development
Turing Post-AI/Open Source
Artificial IgnoranceCharlie GuoAI/Management
The Beautiful MessJohn CutlerEngineering Management
Tidy First?Kent BeckEngineering/Design
Javarevisited-Development
[mini]marketingGianluca DiegoliMarketing
Paul KrugmanPaul KrugmanPolitics/Economics
AppuntiStefano FeltriPolitics (IT)
270 by YoutrendYoutrendPolitics (IT)
Il Mattinale EuropeoDavid CarrettaEU Politics
Il Post-News (IT)
Semafor-News (International)
Roberta VillaRoberta VillaHealth/Science
Ellissi-Media/Culture
SillabeElena TosatoLiterature

Processing Workflow

Step 1: Find Unread Newsletters

bash
gog gmail search "is:unread (from:substack.com OR from:beehiiv.com OR from:convertkit.com)" --account=maroffo@gmail.com --json --max=20

Step 2: For Each Newsletter

  1. Get full content:
bash
gog gmail thread get <threadId> --account=maroffo@gmail.com --json
  1. Extract metadata:

    • Sender/publication name
    • Subject/title
    • Date
    • Body content (HTML → text)
  2. Analyze content - identify:

    • Tools/libraries mentioned → Second Brain - Development/AI
    • Patterns/techniques → Second Brain appropriate section
    • News/opinions → Reference only (skip or brief note)
    • Tutorials/guides → Extract key steps
  3. Categorize per ../_SECOND_BRAIN.md routing table

  4. Extract & integrate via Obsidian CLI:

bash
obsidian append file="Second Brain - <Topic>" content="<extracted>"
  1. Update Timeline:
bash
obsidian append file="Second Brain - Timeline" content="- **YYYY-MM-DD** | [Topic] | Source: Newsletter | -> Second Brain - <File>.md"
  1. Archive email (see ../_GMAIL.md for archive command)

Output Format

After processing batch:

code
## Newsletter Digest - YYYY-MM-DD

### Processed (X newsletters)

1. **[Pragmatic Engineer]** - "Platform Teams Done Right"
   - Extracted: Platform team anti-patterns
   - → Second Brain - Engineering Management.md
   - ✓ Archived

2. **[ByteByteGo]** - "Rate Limiting Deep Dive"
   - Extracted: Token bucket algorithm summary
   - → Second Brain - Development.md
   - ✓ Archived

3. **[The Batch]** - "AI News Weekly"
   - Skipped: News only, no actionable content
   - ✓ Archived

### Summary
- Newsletters processed: X
- Second Brain entries added: Y
- Archived: X

Content Extraction Guidelines

Include in Second Brain:

  • Tool/library announcements with clear use case
  • Architecture patterns with examples
  • Techniques you can apply
  • Commands/configs worth remembering
  • Important news from news-focused newsletters (Il Post, Semafor, Appunti, Il Mattinale Europeo):
    • Geopolitical events with lasting impact
    • Policy changes (EU, IT, international)
    • Economic developments (trade, sanctions, markets)
    • Major political events (elections, government changes)
    • → Add to Second Brain - Politics and Economics.md

Skip (archive only):

  • Tech industry news/opinions (funding, hype cycles)
  • Funding announcements
  • Job postings
  • Content you've already captured
  • Ephemeral news (daily weather, minor events)

Ask user if unclear:

  • Mixed content (some actionable, some not)
  • Topics outside usual categories

Rules

See ../_SECOND_BRAIN.md for shared rules. Additional:

  • Always archive - processed = archived, no exceptions
  • Batch process - handle multiple newsletters in one session