compose-digest

X-McKay's avatarfrom X-McKay

Compose a formatted news digest from processed articles and trends. Uses LLM to generate cohesive narrative summary with embedded citations. Formats for Discord readability.

1stars🔀0forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

This Claude skill automates the creation of professional, high-quality news digests by synthesizing processed articles and trending topics into a cohesive narrative. It leverages LLMs to transform raw data into structured summaries with embedded citations, specifically optimized for Discord's markdown formatting to enhance readability and engagement for community or team updates.

Use Cases

  • Automated Community News: Generate and post daily AI or industry news summaries to Discord servers to keep members informed with cited sources.
  • Internal Team Briefings: Consolidate market research and internal trends into a professional narrative for executive summaries or departmental updates.
  • Content Curation Foundation: Use the generated narrative and trend analysis as a starting point for drafting newsletters, blog posts, or social media threads.
  • Information Overload Management: Filter high-importance news from large datasets to provide a concise 2-4 paragraph overview of the most critical developments.
namecompose-digest
descriptionDigest formatted for Discord posting
domainnews
categoryaction
mcp-servers[]
requires-approvalfalse
confidence0.85
- namediscord_formatted
typestr
default12

Compose Digest

Create a formatted news digest from articles and trends.

Preconditions

  • Articles processed with analyze-article skill
  • Trends analyzed with analyze-trends skill
  • LLM API available for summary generation

Actions

Step 1: Select Articles by Importance

Sort articles by importance score and select:

  1. All high importance (score >= 7)
  2. Top 5 medium importance (score 5-6)
  3. Fallback: If no notable articles, take top 5 by score

Step 2: Generate LLM Summary

Send selected articles to LLM with prompt:

Write a cohesive, professional summary of these news items:
1. Be written as flowing paragraphs, not bullet points
2. Embed source citations inline using markdown [Source](url)
3. Highlight the most important developments first
4. Group related news naturally in the narrative
5. Be concise but comprehensive

Write 2-4 paragraphs summarizing the key AI news.

Step 3: Parse and Clean Response

  • Strip Qwen3 thinking tags (<think>...</think>)
  • Clean up any formatting artifacts
  • If LLM fails, use fallback bullet-point format

Step 4: Build NewsDigest Object

Create digest with:

  • Unique ID: digest-{uuid[:8]}
  • Created timestamp
  • Period start/end based on period_hours
  • Generated headline summary
  • Top 5 trends
  • Article count
  • Sources used

Step 5: Format for Discord

Format digest with sections:

# AI News Digest - {date} ({Morning/Evening})

{LLM-generated summary with citations}

**Trending Topics:**
- {topic} (covered by {n} sources)

**Emerging Themes:**
- {rising topic}

---
*{n} articles from {n} sources*

Success Criteria

  • Coherent summary generated
  • Citations properly embedded
  • Trends highlighted appropriately
  • Format fits Discord constraints

Fallback Behavior

If LLM unavailable:

**Today's AI News Highlights:**

- [{title}]({url}) ({source}): {summary}...