ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

lastxdays

Research and summarize what happened in the last N days (or a date range) about a topic, optionally using Reddit API and X ingestion via x-cli/API/archive with graceful fallback to web.

Why use this skill?

Research and summarize news, social media, and web data for any topic over the last N days or a specific date range with OpenClaw AI.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/levineam/lastxdays
Or

What This Skill Does

The lastxdays skill is a powerful research-oriented agent capability designed to synthesize historical data from disparate sources into a coherent narrative. Whether you are tracking breaking news on social media or looking for a consolidated report on industry trends, this skill automates the discovery process. It intelligently balances a default 'web-first' strategy with specialized ingestion pipelines for Reddit and X (via CLI or API), allowing users to move beyond simple search results.

At its core, the skill parses natural language to establish timeframes—either by calculating a delta of N days from the current date or by extracting specific YYYY-MM-DD ranges. It is designed for reliability; when specialized platform APIs or local archives are inaccessible, the skill gracefully fails over to a robust web-search and fetch process to ensure you always receive an answer.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/levineam/lastxdays

Ensure that you have your environment variables configured (REDDIT_CLIENT_ID, etc.) if you wish to leverage the direct platform API ingestion features, which provide deeper access than standard web scraping.

Use Cases

  • Market Intelligence: Monitor sentiment shifts or product announcements for a specific company over the past 30 days.
  • Trend Analysis: Review community discussions and developer discourse on platforms like Reddit to understand how a specific technology has evolved over a set calendar period.
  • Journalism & Research: Quickly aggregate public discourse across social and web platforms for a given topic without manually browsing multiple feeds.

Example Prompts

  • "What has been happening in the AI agent space in the last 14 days?"
  • "Summarize the discourse on Reddit from 2026-01-01 to 2026-01-15 regarding sustainable energy stocks."
  • "Using all sources, tell me what major news broke about the SpaceX launch in the last 7 days."

Tips & Limitations

  • Model Selection: Use the default sonnet model for complex, multi-step research. Reserve flash only for simple, single-source queries to maintain output quality.
  • Fallback Awareness: Understand that while the skill attempts API/CLI ingestion, it is designed to prioritize delivering an answer via web fallback if credentials are missing or rate limits are hit.
  • Clamping: Note that the skill caps the lookback period at 365 days and a minimum of 1 day to ensure query performance and reliability.

Metadata

Author@levineam
Stars1656
Views0
Updated2026-02-28
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-levineam-lastxdays": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#research#social-monitoring#automation#summary#web-scraping
Safety Score: 4/5

Flags: network-access, file-read, external-api