Aller au contenu
TakoAPI
Retour aux skills

lastxdays

par levineam

Web & Frontend Development
451Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

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

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

User asks: lastxdays 7 OpenAI for all

AGENT
  1. 1

    Parses N=7, topic='OpenAI', sources='all', and computes the date range

  2. 2

    Runs web search with freshness filter and fetches top results

  3. 3

    Attempts Reddit ingestion via API or falls back to site:reddit.com web search

  4. 4

    Attempts X ingestion via x-cli, API, or local archive, falling back to site:x.com web search

  5. 5

    Deduplicates and ranks links, then writes a markdown report with top themes and notable links grouped by platform

SORTIE

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

Prérequis

  • 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)

Installation

clawhub install levineam/lastxdays

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens