Agent skill
aggregated-search
Install this agent skill to your Project
npx add-skill https://github.com/tsaol/awesome-claude/tree/main/skills/aggregated-search
SKILL.md
Aggregated Search Skill
Multi-source content aggregation for hot topics research. Supports 15+ data sources.
Usage
/aggregated-search <keyword> [options]
Options:
--sources=all- Search all sources (default)--sources=github,hn,reddit- Specific sources--limit=50- Max results per source (default: 50)--days=7- Content age limit in days (default: 7)--lang=en- Language: en, zh, all (default: all)--expand- Enable query expansion (auto-generate related terms)
Examples:
/aggregated-search "agentic AI"
/aggregated-search "LLM agents" --sources=github,hn,arxiv
/aggregated-search "大模型" --sources=chinese --lang=zh
/aggregated-search "RAG" --limit=100 --days=30
Supported Sources (15+)
Code & Projects
| Source | File | API | Free |
|---|---|---|---|
| GitHub | github.md | gh api | ✅ |
| Papers With Code | papers-with-code.md | REST | ✅ |
Tech Communities
| Source | File | API | Free |
|---|---|---|---|
| Hacker News | hackernews.md | Algolia | ✅ |
| reddit.md | JSON | ✅ | |
| DEV.to | devto.md | REST | ✅ |
| Product Hunt | producthunt.md | GraphQL | ✅ |
Academic
| Source | File | API | Free |
|---|---|---|---|
| ArXiv | arxiv.md | XML | ✅ |
| Semantic Scholar | semantic-scholar.md | REST | ✅ |
| Papers With Code | papers-with-code.md | REST | ✅ |
News & Media
| Source | File | API | Free |
|---|---|---|---|
| Tech News (Multi) | tech-news.md | WebFetch | ✅ |
| Medium | medium.md | WebFetch | ✅ |
Chinese Sources (中文源)
| Source | File | API | Free |
|---|---|---|---|
| 36氪/少数派/掘金/知乎/机器之心 | chinese-tech.md | Mixed | ✅ |
Social Media
| Source | File | API | Free |
|---|---|---|---|
| Twitter/X | twitter.md | Nitter | ✅ |
| YouTube | youtube.md | WebFetch | ✅ |
Meta Search (Recommended)
| Source | File | API | Free |
|---|---|---|---|
| Tavily | tavily.md | REST | 1000/mo |
Source Groups
Use these shortcuts for common combinations:
| Group | Sources |
|---|---|
--sources=code |
github, papers-with-code |
--sources=community |
hn, reddit, devto |
--sources=academic |
arxiv, semantic-scholar, papers-with-code |
--sources=news |
tavily, tech-news, medium |
--sources=chinese |
36kr, sspai, juejin, zhihu, jiqizhixin |
--sources=social |
twitter, youtube, producthunt |
--sources=all |
All sources |
Workflow
Step 0: Query Expansion (if --expand)
If --expand is enabled, generate related terms before searching:
Original: "agentic commerce"
↓
Expanded (max 5):
- agentic commerce (original)
- AI shopping agent
- conversational commerce
- e-commerce AI assistant
- 智能购物
Use the prompt in sources/query-expansion.md to generate max 4 related terms (5 total).
Step 1: Parse Input
Extract keyword, sources, limit, days, language from user input.
Step 2: Parallel Search
CRITICAL: Search all sources in parallel using multiple tool calls in a single message.
For each source:
- Read source instruction from
sources/{source}.md - Execute API call or WebFetch
- Parse results
Step 3: Aggregate & Deduplicate
- Merge all results
- Deduplicate by URL and title similarity (>80% = duplicate)
- Sort by: relevance score, date, engagement
- Tag with source name
Step 4: Output
Generate raw/aggregated.md:
# Aggregated Search: {keyword}
**Sources:** {count} sources searched
**Results:** {total} unique items
**Generated:** {timestamp}
---
## Summary (via Tavily AI)
> AI-generated summary of the topic...
## GitHub ({count})
| # | Repository | Stars | Description |
|---|------------|-------|-------------|
## Hacker News ({count})
| # | Title | Points | Comments |
|---|-------|--------|----------|
## Academic Papers ({count})
| # | Title | Year | Citations |
|---|-------|------|-----------|
## News & Blogs ({count})
| # | Title | Source | Date |
|---|-------|--------|------|
## Chinese Sources ({count})
| # | 标题 | 来源 | 日期 |
|---|------|------|------|
---
## Statistics
- Total sources: {sources_count}
- Total results: {total_count}
- Unique results: {unique_count}
- Date range: {earliest} to {latest}
Environment Variables
# Required for full functionality
export TAVILY_API_KEY="your-key" # Tavily search
# Optional
export YOUTUBE_API_KEY="your-key" # YouTube API
export TWITTER_BEARER_TOKEN="your-key" # Twitter API (paid)
export PRODUCTHUNT_TOKEN="your-key" # Product Hunt API
Integration
Works with ai-writing hottrend pipeline:
/aggregated-search "topic"
↓
raw/aggregated.md
↓
hottrend-draft agent
↓
output/v1_draft.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
git-review
Review code changes against requirements and original design. Validates implementation correctness, design alignment, code quality, and runs tests. Use before committing or creating a PR.
git-commit
Review project consistency and commit changes. Checks code vs docs alignment, updates CHANGELOG/README/DESIGN.md, updates ~/history.log, bumps version, then commits, pushes, and deploys if configured. Use after finishing code modifications.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
docx
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
product-review
Product review from a PM perspective. Uses multi-agent pipeline to analyze any project/codebase for product discovery, goal alignment, UX/DX audit, competitive analysis, and roadmap planning.
Didn't find tool you were looking for?