last30days is an open-source agent skill that researches any topic across Reddit, Hacker News, Polymarket, GitHub, X, YouTube and a dozen other sources, scores what it finds by real engagement, and has your AI agent write one grounded brief about the last 30 days. It picked up 945 GitHub stars in a single day this week (5,302 over the week, 75,187 in total), and setup takes about two minutes in Claude Code, Codex, Cursor or Gemini CLI.
The pitch is simple: Google mostly surfaces editors and SEO pages, while the arguments that matter about a new tool, a company or a person tend to live in Reddit comment threads and X replies. last30days goes and reads those, with upvote counts and prediction-market odds attached, so your agent stops answering from months-old training data.
RelatedHow to Make Claude Code Draw Clean Diagrams with Diagram Design
- Zero config to start: Reddit, Hacker News, Polymarket and GitHub work with no key at all, and so do patent filings and careers pages when the topic is a company.
- One install per machine: Claude Code users add it as a plugin from the marketplace; Codex, Cursor, Copilot and Gemini CLI users install it with
npx skills. - Keys are optional extras: X, TikTok, Instagram and web search switch on as you add tokens or a free ScrapeCreators account through the first-run wizard.
- Current release: v4.6.0, published November 22, 2026, under the MIT license.
The exact steps, start to finish
- Check Python and Node. The engine needs Python 3.12 or newer, and the
npxinstall path needs Node.js.python3 --version node --version - Install in Claude Code. Run these two slash commands inside a Claude Code session.
/plugin marketplace add mvanhorn/last30days-skill /plugin install last30days - Or install in Codex, Cursor, Copilot or Gemini CLI. Pick this instead of step 2, never both.
npx skills add mvanhorn/last30days-skill -g - Choose where briefs are saved. Create
~/.config/last30days/.envand add one line for your OS. On Windows:LAST30DAYS_MEMORY_DIR=C:\Users\<user>\Documents\Last30Days - Optional: add a web search key. A Brave Search key covers web results (the README lists 2,000 free queries a month). Add it to the same file:
BRAVE_API_KEY=<your-brave-key> - Run it once to start the setup wizard. The wizard asks before reading browser cookies, offers the free ScrapeCreators signup (10,000 calls) through a GitHub device code, and installs the free arXiv and Techmeme CLIs.
/last30days Peter Steinberger - Ask a real question. Comparisons work well as a first test:
/last30days OpenClaw vs Hermes vs Paperclip
Which last30days install path fits your agent?
The project ships the same research engine through several doors, and they do not share settings. Pick the row that matches where you spend your day.
| Surface | Install | Updates | Catch |
|---|---|---|---|
| Claude Code | Plugin marketplace | Automatic, or claude plugin update | Do not also add the npx copy |
| Codex, Cursor, Copilot, Gemini CLI | npx skills add mvanhorn/last30days-skill -g | npx skills update | Without -g it installs per project |
| claude.ai (web) | Upload last30days.skill (1.4 MB) | Re-download, re-upload | Needs code execution turned on |
| Claude Desktop | .mcpb bundle (about 6 MB) | Drag in the new bundle | macOS and Linux only for now |
| OpenClaw | clawhub install | clawhub update | Uses its own package name |
For Claude Code, the marketplace route is the one to take. The plugin cache is versioned and refreshes when a new release publishes, and you can force a check with:
claude plugin update last30days@last30days-skill
On the npx skills side, you can target one harness or several in one command, which helps if you switch between tools:
npx skills add mvanhorn/last30days-skill -g -a codex
npx skills add mvanhorn/last30days-skill -g -a cursor
npx skills add mvanhorn/last30days-skill -g -a codex -a cursor
Keep it current with npx skills update last30days -g, and see or remove it with npx skills list -g and npx skills remove last30days -g.
What /last30days does between your prompt and the brief
You type a person, company, product or "X vs Y". The agent first works out who and what matters: X handles, GitHub repos, subreddits, YouTube channels. Then every source is searched in parallel, results are scored on engagement, relevance and freshness, and the same story showing up on Reddit, X and TikTok is merged into one cluster instead of three. Your agent writes the final brief from that pile, and after one run the rest of the session can answer follow-ups from it.
Adding X, TikTok and web search keys to last30days
Everything optional lives in one file, ~/.config/last30days/.env. The project's own skeleton shows the shape: one reasoning provider, one web search backend, then whatever extra sources you want.
# Web search backend (one is enough; Brave is the cheapest)
BRAVE_API_KEY=<your-brave-key>
# Optional sources
SCRAPECREATORS_API_KEY=<your-scrapecreators-key>
INCLUDE_SOURCES=tiktok,instagram
You rarely need to type the ScrapeCreators key yourself. The first-run wizard runs a GitHub device-code signup and saves SCRAPECREATORS_API_KEY for you. The 10,000 free calls go further than they used to: since v4.6.0, TikTok comments come from a public endpoint that needs no key, and TikTok search itself falls back to yt-dlp when no key is set.
X is the fiddly one. You can set X_BEARER_TOKEN for the official API, set XAI_API_KEY, or let the wizard read your logged-in browser session. A reasoning key such as GOOGLE_API_KEY or OPENAI_API_KEY is also optional; with none set, the engine scores results with a local model.
Running last30days on Windows
The skill itself works on Windows through Claude Code or npx skills, with two limits worth knowing before you start. The native browser-cookie scan on Windows and Linux reads Firefox only, so if you live in Chrome or Edge, X results will need a token instead. And the Claude Desktop .mcpb bundle has no Windows build yet; the README says that is deferred.
Saved briefs default to C:\Users\<you>\Documents\Last30Days\. If you write paths into the .env, use an absolute path or ~/..., because the reader does not expand $HOME and stores it literally.
RelatedHermes Agent Setup: A Free, Self-Improving AI CLI
Using the engine directly from scripts and cron
If you clone the repo, the same engine runs without an agent in front of it. The manual install is a clone plus a symlink into your Claude skills folder:
git clone https://github.com/mvanhorn/last30days-skill.git
ln -s "$(pwd)/last30days-skill/skills/last30days" ~/.claude/skills/last30days
From the checkout, --preflight shows what a run would read and write without starting research, and --emit=json gives machine-readable output. --discover returns a ranked list of rising topics instead of researching one you name.
python3 skills/last30days/scripts/last30days.py --preflight
python3 skills/last30days/scripts/last30days.py "AI coding agents" --emit=json
python3 skills/last30days/scripts/last30days.py --discover "AI agents"
Fixing a doubled /last30days entry and missing X results
Two /last30days commands in the menu. Claude Code does not dedupe across install methods, so the marketplace plugin plus an npx skills copy shows up twice. Remove one with npx skills remove last30days -g.
The skill does nothing on claude.ai. Turn on "Code execution and file creation" under Capabilities before uploading the .skill file; skills will not run without it.
No X posts in the brief. On Windows this is usually the Firefox-only cookie scan. Set a token in the .env instead. If you previously declined cookie access, that refusal is saved as BROWSER_CONSENT=false; run setup again and accept, or stick with a key.
You want no cookie reads at all. Put this in the global .env and the engine skips every browser read:
BROWSER_CONSENT=false
Is last30days worth a slot in your agent?
For anyone who writes, sells or builds around fast-moving topics, yes. The free tier alone (Reddit with comments, Hacker News, Polymarket, GitHub) beats asking a model what people think, because it quotes real threads with real numbers. Where it is weaker: X coverage depends on tokens or cookies you may not want to hand over, and the engine sends topics and snippets to whatever reasoning provider you configure, so skip that key if the research is sensitive. It is also heavy on setup choices. Start with zero keys, run three topics you know well, and only add sources once you can see what the brief is missing.
- Repomvanhorn/last30days-skill on GitHub README, install table and source list
- ReleaseLatest release (v4.6.0) .skill and .mcpb downloads
- DocsCONFIGURATION.md .env keys, first-run wizard, Windows notes
- ChangelogCHANGELOG.md v4.6.0 keyless TikTok changes
- Referencevercel-labs/skills the npx skills installer and supported agents
