Free guide

last30days: Research What People Said About Any Topic in the Last 30 Days

A free, open-source agent skill that searches Reddit, X, YouTube, Hacker News, Polymarket and more for the last 30 days on any topic, scores every post, and hands your agent one cited brief. What it does, how it works, how to set it up, and the fine print.

By Beau Johnson·
The Short this guide goes with: last30days: Research What People Said About Any Topic in the Last 30 Days

Quick answer

last30days is a free, open-source (MIT) agent skill for Claude Code, Codex, Cursor, Gemini CLI and other agents. You type /last30days and a topic, and it searches sources like Reddit, X, YouTube, Hacker News and Polymarket in parallel for the last 30 days, scores every post by engagement, relevance and freshness, merges the same story across sites, and writes one brief with its sources cited.

The short version

  • The maker's pitch: Google gives you what editors wrote, last30days gives you what people said in the last 30 days, scored by upvotes, likes and real money (Polymarket odds).
  • Reddit, Hacker News, Polymarket and GitHub work with zero setup. X needs an API key or your own logged-in browser, and YouTube needs the free yt-dlp tool, which the setup wizard installs.
  • It's trending on GitHub: 4,731 stars this week and about 73,000 in total on Nov 23, 2026. It's MIT licensed, and the current release is v4.6.0 (Nov 22).

How it actually works

The newspaper vs the room

A search engine shows you the pages editors and publishers wrote. last30days goes to where people talk: Reddit threads with their upvotes, X posts with their likes, YouTube transcripts, Hacker News points and comments, and Polymarket odds backed by real money. The maker's own line: "Google aggregates editors. /last30days searches people."

Your agent plans, the engine searches

You type a topic: a person, a company, a product, or two things to compare. Your agent (Claude Code, Codex, Gemini and others) works out who and what matters, like the right X handles, subreddits and GitHub repos, and hands the engine a search plan. The engine then searches every source it can reach at the same time.

Scored, merged, cited

Results are scored by engagement, relevance and freshness, so a thread with 1,500 upvotes counts for more than a blog post nobody read. The same story showing up on Reddit, X and TikTok becomes one cluster instead of three items. Your agent then writes one brief, grounded in the posts it found and cited by source, and you can keep asking it follow-up questions in the same session.

Where it fits

The README's own uses: before a sales call or a meeting, before a trip, to compare tools ("/last30days OpenClaw vs Hermes vs Paperclip"), or to learn how people are using something right now. If you prep for calls or pitches, it replaces the tab-by-tab digging through Reddit and X.

How to set it up

  1. 1.Check you have an agent and Python 3.12

    last30days runs inside an agent such as Claude Code, Codex, Cursor, Copilot or Gemini CLI. The engine is Python 3.12 or newer with no extra packages.

    python3 --version
  2. 2.Install it in Claude Code

    The maker recommends the plugin marketplace, which keeps it updated. Run these two commands inside Claude Code. Use one install method per machine, or /last30days shows up twice.

    /plugin marketplace add mvanhorn/last30days-skill
    /plugin install last30days
  3. 3.Or install it for Codex, Cursor, Copilot or Gemini CLI

    The open Agent Skills installer works with 50+ agent hosts. -g installs it for your user across all projects; -a picks one host.

    npx skills add mvanhorn/last30days-skill -g
    
    # one host only
    npx skills add mvanhorn/last30days-skill -g -a codex
    
    # update later
    npx skills update last30days -g
  4. 4.Run your first research

    Type the command and a topic. The first run starts a setup wizard: it asks before reading any browser cookies, installs yt-dlp for YouTube and a few free command-line tools, and offers optional keys. Skip what you don't want; Reddit, Hacker News, Polymarket and GitHub work without any of it.

    /last30days Notion
    /last30days Cursor vs Claude Code
  5. 5.Add X if you want it

    X needs one of: your logged-in browser (free, you allow the cookie read during setup), an official X API bearer token (your developer credits, about the last week of posts), or an xAI or Xquik key. Keys live in ~/.config/last30days/.env or your macOS Keychain.

    # ~/.config/last30days/.env (chmod 600)
    X_BEARER_TOKEN=your-token

The fine print

  • The skill is free and open source under the MIT license. Your agent and its model are billed as usual, and some optional sources cost money: the X API uses your developer credits, ScrapeCreators (TikTok, Instagram, Threads, LinkedIn) gives 10,000 free calls then charges, and Perplexity and Bright Data are paid.
  • Reddit's keyless search can be refused on some networks or VPNs. In our own sandboxed test it answered HTTP 403 Blocked, and the engine skipped Reddit for 6 hours. The docs offer an optional logged-in Reddit session or a ScrapeCreators backfill.
  • Using your browser login for X means it searches as your account, and the docs say that carries some account risk.
  • It runs on your machine, and only the search services you call see your query. If you set a reasoning key (OpenAI, xAI, OpenRouter or Gemini), your topic and the snippets go to that provider for reranking; with no key it scores locally.
  • Run it from inside your agent. The Python engine on its own, with no search plan from an agent, falls back to a simpler planner and returned thin results in our headless test.
  • Want to see what it would read and write before a run? From the skill folder: python3 scripts/last30days.py --preflight. It does no research, reads no cookies and writes nothing.

FAQ

Is last30days free?

Yes, the skill is open source under the MIT license, and Reddit, Hacker News, Polymarket, GitHub and YouTube (through the free yt-dlp tool) cost nothing to search. You still pay for your agent, and a few optional sources like the X API or ScrapeCreators after its free calls cost money.

Does last30days work with Claude Code?

Yes. Inside Claude Code run /plugin marketplace add mvanhorn/last30days-skill and then /plugin install last30days. It also installs in Codex, Cursor, Copilot, Gemini CLI and other agents with npx skills add mvanhorn/last30days-skill -g, and there are claude.ai and Claude Desktop versions on the releases page.

Can last30days search X without paying for the API?

Yes, through your own logged-in browser: during setup you allow it to read your x.com cookies. It then searches as your account, which the docs say carries some account risk. The paid X API route only covers about the last week of posts unless your developer project has full-archive access.

How does it decide what matters?

Your agent plans the searches, then every result is scored by engagement, relevance and freshness. The same story across different sites is merged into one cluster, and the final brief ranks by what people actually engaged with, with sources cited.

Does it send my research anywhere?

It runs locally. Your query goes to the search services it calls (Reddit, Hacker News and the others). If you set a reasoning provider key, the topic and snippets also go to that provider for reranking. Reports are saved in ~/Documents/Last30Days/ by default.

Sources

Facts checked 2026-11-23 against the last30days README, CONFIGURATION.md and LICENSE at v4.6.0, the release list, the GitHub API (72,997 stars, MIT, created 2026-01-23) and GitHub Trending weekly (4,731 stars this week), plus our own sandboxed headless run of v4.6.0.

Want help building with tools like this?

Join the Shipping Skool community free. Paid members get live bootcamp calls every week and weekly-updated courses.

Join Shipping Skool

More free guides