lastxdays
oleh levineam
Web & Frontend DevelopmentRingkasan
Research and summarize what happened in the last N days (or a date range) about a topic, optionally using Reddit.
Deskripsi
Apa yang Dilakukan Skill Ini
Searches and summarizes what happened about a topic over the last N days or a specific date range. Uses web search by default, with optional Reddit and X ingestion when credentials are configured. Falls back to web search if API access is unavailable.
It unifies web, Reddit, and X research into a single structured report with automatic fallback, eliminating the need to query each platform separately and deduplicate results manually.
Kapan Menggunakannya
- Catching up on AI industry news from the past two weeks
- Summarizing Reddit discussion about a product launch
- Tracking X posts about an ongoing event over a custom date range
- Monitoring a competitor's activity over the last 30 days
- Briefing on a topic across web, Reddit, and X in one report
Contoh Alur Kerja
User asks: lastxdays 7 OpenAI for all
- 1
Parses N=7, topic='OpenAI', sources='all', and computes the date range
- 2
Runs web search with freshness filter and fetches top results
- 3
Attempts Reddit ingestion via API or falls back to site:reddit.com web search
- 4
Attempts X ingestion via x-cli, API, or local archive, falling back to site:x.com web search
- 5
Deduplicates and ranks links, then writes a markdown report with top themes and notable links grouped by platform
Markdown report with date range, 3-7 top themes, notable links grouped by Web, Reddit, and X, and 3 follow-up search suggestions
Persyaratan
- REDDIT_CLIENT_ID environment variable (for Reddit API access)
- REDDIT_CLIENT_SECRET environment variable (for Reddit API access)
- REDDIT_REFRESH_TOKEN or REDDIT_USERNAME and REDDIT_PASSWORD (for Reddit OAuth)
- X_BEARER_TOKEN environment variable (for X API recent search)
- x-cli installed via uv tool install x-cli (for X search)
Instalasi
clawhub install levineam/lastxdaysJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.