lastxdays
levineam 제작
Web & Frontend Development요약
Research and summarize what happened in the last N days (or a date range) about a topic, optionally using Reddit.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
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
요구 사항
- 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)
설치
clawhub install levineam/lastxdaysCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.