# AI News Digest Julia Skill

Aggregate, filter, and compile daily AI/tech news digests from top sources.

## Usage

```bash
/ai-news-digest [--sources all|tech|ai] [--limit 5] [--hours 24] [--output json|markdown|email]
```

## Parameters

- `--sources` - Feed categories: `all` (default), `tech`, `ai`  
- `--limit` - Max stories in digest (default: 5)
- `--hours` - Look back period (default: 24)
- `--output` - Format: `json`, `markdown` (default), `email`

## Features

- **Multi-source aggregation** - 15+ premium tech/AI news sources
- **AI relevance filtering** - NLP-based content scoring for AI topics
- **Deduplication** - Smart story merging and duplicate removal
- **Digest compilation** - Top stories with summaries and links
- **Multiple outputs** - JSON, Markdown, or email-ready formats

## Sources Included

### Tech News
- TechCrunch
- The Verge
- Ars Technica
- Wired
- VentureBeat
- TechOholic

### AI-Focused
- AI News
- Machine Learning Mastery
- Towards Data Science
- MIT AI News
- OpenAI Blog
- Google AI Blog

### Business Tech
- Fast Company Tech
- MIT Technology Review
- IEEE Spectrum

## Examples

```bash
# Daily AI digest (top 5 stories)
/ai-news-digest

# Tech news only, 10 stories, 48 hours
/ai-news-digest --sources tech --limit 10 --hours 48

# AI-focused sources, JSON output
/ai-news-digest --sources ai --output json

# Email format for newsletter
/ai-news-digest --output email --limit 3
```

## Output Formats

### Markdown (default)
```markdown
# AI News Digest - March 6, 2026

## 1. OpenAI Releases GPT-5 with Multimodal Capabilities
**Source:** TechCrunch | **Score:** 95/100 | **Published:** 2 hours ago

OpenAI announced GPT-5 with enhanced multimodal capabilities including...
[Read more](https://techcrunch.com/...)
```

### JSON
```json
{
  "digest_date": "2026-03-06",
  "total_sources": 12,
  "stories_processed": 156,
  "digest": [
    {
      "title": "OpenAI Releases GPT-5",
      "summary": "...",
      "url": "...",
      "source": "TechCrunch",
      "ai_score": 95,
      "published": "2026-03-06T05:30:00Z"
    }
  ]
}
```

## AI Filtering Algorithm

The skill uses a multi-factor scoring system:

1. **Keyword matching** - AI, machine learning, neural networks, etc.
2. **Company detection** - OpenAI, Google AI, Anthropic, etc.  
3. **Topic classification** - NLP model trained on AI content
4. **Relevance scoring** - 0-100 scale, threshold configurable

## Dependencies

- Julia RSS parsing libraries
- Text processing for content analysis
- HTTP client for feed fetching
- JSON/CSV output formatting

## Configuration

Edit `config.json` to:
- Add/remove RSS feeds
- Adjust AI relevance thresholds  
- Configure output templates
- Set update frequencies