跳到正文
TakoAPI
返回技能列表

lastxdays

由 levineam 提供

Web & Frontend Development
451下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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/lastxdays

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接