LaunchKit · 2026
Back to Skills

Research and summarize what happened in the last N days (or a date range) about a topic, optionally using Reddit.

0
451 downloads
by @levineam

Setup & Installation

openclaw skills install @levineam/lastxdays

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install lastxdays

Version History

v1.0.2Feb 21, 2026 - Version note by skill developer:

Fix model guidance: sonnet default, flash only for simple single-source runs

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: lastxdays 7 OpenAI for all

AGENT
  1. 1Parses N=7, topic='OpenAI', sources='all', and computes the date range
  2. 2Runs web search with freshness filter and fetches top results
  3. 3Attempts Reddit ingestion via API or falls back to site:reddit.com web search
  4. 4Attempts X ingestion via x-cli, API, or local archive, falling back to site:x.com web search
  5. 5Deduplicates and ranks links, then writes a markdown report with top themes and notable links grouped by platform
OUTPUT

Markdown report with date range, 3-7 top themes, notable links grouped by Web, Reddit, and X, and 3 follow-up search suggestions

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

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)