返回 last30days-skill
README.md
根目录 / README.md
1 # /last30days
2
3 English | [Français](README.fr.md) | [Deutsch](README.de.md) | [Español](README.es.md) | [Português (Brasil)](README.pt-BR.md) | [日本語](README.ja.md) | [简体中文](README.zh-CN.md) | [العربية](README.ar.md) | [فارسی](README.fa.md) | [Türkçe](README.tr.md) | [Tiếng Việt](README.vi.md) | [Русский](README.ru.md) | [Українська](README.uk.md)
4
5 <p align="center">
6 <img src="media/pr-assets/last30days-ad.gif" width="720" alt="last30days - the #1 agentic social search engine that searches people, not editors" />
7 </p>
8
9 <p align="center">
10 <a href="https://github.com/mvanhorn/last30days-skill">
11 <img src="https://img.shields.io/badge/%231-Repository%20Of%20The%20Day-6f42c1?style=for-the-badge&logo=github&label=GITHUB%20TRENDING" alt="GitHub Trending #1 Repository Of The Day" />
12 </a>
13 <br/>
14 <a href="https://trendshift.io/repositories/21997" target="_blank">
15 <img src="https://trendshift.io/api/badge/repositories/21997" alt="mvanhorn/last30days-skill | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/>
16 </a>
17 <br/>
18 <a href="https://github.com/mvanhorn/last30days-skill/actions/workflows/validate.yml">
19 <img src="https://github.com/mvanhorn/last30days-skill/actions/workflows/validate.yml/badge.svg" alt="Validate status" />
20 </a>
21 </p>
22
23 **The #1 agentic social search engine — scored by upvotes, likes, views, and real money, not editors.**
24
25 This README tracks the current v4 pipeline. The runtime skill spec lives in [skills/last30days/SKILL.md](skills/last30days/SKILL.md), which is the source of truth for the latest command and setup behavior.
26
27 **Claude Code (recommended — auto-updates via marketplace):**
28 ```
29 /plugin marketplace add mvanhorn/last30days-skill
30 /plugin install last30days
31 ```
32
33 **Codex, Cursor, Copilot, Gemini CLI, or any of 50+ [Agent Skills](https://agentskills.io) hosts:**
34 ```
35 npx skills add mvanhorn/last30days-skill -g
36 ```
37 (`-g` installs globally for your user, available across all projects. Drop it to scope per-project.)
38
39 More install options (claude.ai web, OpenClaw, manual) in the [Install](#install) section below.
40
41 Zero config. Reddit, HN, Polymarket, and GitHub work immediately, and so do patent filings and careers pages when your topic is a company. Run it once and the setup wizard unlocks X, YouTube, TikTok, arXiv, Techmeme, and more in 30 seconds.
42
43 ---
44
45 Reddit upvotes. X likes. YouTube transcripts. TikTok engagement. Polymarket odds backed by real money and insider information. That's millions of people voting with their attention and their wallets every day. /last30days searches all of it in parallel, scores it by what real people actually engage with, and an AI agent judge synthesizes it into one brief.
46
47 Google aggregates editors. /last30days searches people.
48
49 You can't get this search anywhere else because no single AI has access to all of it. Google search doesn't touch Reddit comments or X posts. ChatGPT has a deal with Reddit but can't search X or TikTok. Gemini has YouTube but not Reddit. Claude has none of them natively. Each platform is a walled garden with its own API, its own tokens, its own auth. But you can bring your own keys and browser sessions, and suddenly an AI agent can search all of them at once, score them against each other, and tell you what actually matters.
50
51 That's the unlock. Not one better search engine. A dozen disconnected platforms, bridged by an agent.
52
53 ```
54 /last30days Peter Steinberger
55 ```
56
57 You have a meeting tomorrow. You Google them. You get their LinkedIn from 2023. /last30days gives you what they're actually doing this month: joined OpenAI to work on Codex, fighting Anthropic's ban on third-party agents, shipping 23 PRs at 85% merge rate, building "LobsterOS" for cross-device agent control, and r/ClaudeCode hit 569 upvotes debating whether he's a hero or "insufferable." Scattered across X posts, Reddit threads, YouTube transcripts, and GitHub commits. None of it was on Google.
58
59 ## Why this exists
60
61 I built it to keep up in AI. Everything changes every day and the Reddit and X nerds are always on top of it first. I needed better prompts, and the training data was always months behind what the community had already figured out.
62
63 But it turned into something bigger. Now I run it before a sales call to know the last 30 days truth about a business. Before a meeting to read someone's recent tweets and podcast transcripts. Before a Disney World trip to know which rides are closed and what the community says about Genie+. Before I build anything to know what problems people are actually hitting.
64
65 If you're meeting with a CEO, have you read all their tweets and YouTube transcripts from the last 30 days? I have.
66
67 ## Sources, scored by the people
68
69 | Source | What the people tell you |
70 |--------|--------------------------|
71 | **Reddit** | The unfiltered take. Top comments with real upvote counts, free, no API key. The real opinions that Google buries. With your OK, it can also search as your own logged-in Reddit account for more threads and live scores. |
72 | **X / Twitter** | The hot take, the expert thread, the breaking reaction. First to know, first to argue. |
73 | **YouTube** | The 45-minute deep dive. Full transcripts searched for the 5 quotable sentences that matter. |
74 | **TikTok** | The creator reaching 3.6M people with a take you'll never find on Google. |
75 | **Instagram Reels** | The influencer perspective with spoken-word transcripts. The visual culture signal. |
76 | **Hacker News** | The developer consensus. 825 points, 899 comments. Where technical people actually argue. |
77 | **Polymarket** | Not opinions. Odds. Backed by real money. 96% confidence on album sales. 4% on an acquisition. The report puts a market's odds on one line under the story it bears on, with how much they moved. |
78 | **GitHub** | For people: PR velocity, top repos by stars, release notes. For topics: issues and discussions. |
79 | **Digg** | Story clusters from every Digg topic (AI, tech, world and business, sports, science, gaming, entertainment), ranked by Digg Score, with attributable inline quotes from X (no X auth required). Auto-enabled when `digg-pp-cli` is on PATH. An older `digg-pp-cli` still works, on AI and tech only and without scores. |
80 | **arXiv** | The papers behind the hype. New research in the window, free, no API key. Auto-enabled when `arxiv-pp-cli` is on PATH (first-run setup installs it). |
81 | **Techmeme** | The tech-news editorial layer, date-windowed to your 30 days. Free, no API key. Auto-enabled when `techmeme-pp-cli` is on PATH (first-run setup installs it). |
82 | **Yahoo Finance** | The market's read on a company. The share-price move over your 30 days, next to the S&P 500 for US listings. Free, no API key. Shows when your topic is a listed company or the person who leads one and `yahoo-finance-pp-cli` is on PATH (first-run setup installs it). |
83 | **LinkedIn** | The professional signal. Posts and articles, with articles weighted as high signal. |
84 | **Meta Ads** | What a brand is paying to say. Live Meta ad creatives launched this month, with copy, promo codes, and spoken transcripts. |
85 | **StockTwits** | Trader sentiment. Auto-activates when your topic is a ticker or crypto. |
86 | **Threads** | The post-Twitter text layer. Conversations from creators and brands. |
87 | **Pinterest** | Visual discovery. Pins, saves, and comments on products and ideas. |
88 | **Xiaohongshu (RED)** | Chinese lifestyle, product, and creator signals. Requested explicitly with `--search xhs` when a logged-in x-mcp browser plugin or `xiaohongshu-mcp` service is running locally. |
89 | **Juejin** | Chinese developer write-ups on what just shipped, ranked by likes, comments, saves, and views. Opt in with `--search juejin` or `INCLUDE_SOURCES=juejin`. Free, no API key. |
90 | **V2EX** | The Chinese developer forum: threads and replies from the top topics. Opt in with `--search v2ex` or `INCLUDE_SOURCES=v2ex`. Free, no API key. |
91 | **Bluesky** | The decentralized social layer. AT Protocol posts from the post-Twitter migration. |
92 | **Perplexity** | Controlled Agent API synthesis, OpenRouter Sonar fallback, raw Search API rows, and explicit Deep Research. |
93 | **DEV Community (dev.to)** | Developer articles and top comments through the public, keyless API. Opt in with `--devto-tags`, `--search devto`, or `INCLUDE_SOURCES=devto`. |
94 | **Truth Social** | Posts searched with `TRUTHSOCIAL_TOKEN`; available when authenticated. |
95 | **Telegram** | Public posts from named channels. Opt-in; requires `SCRAPECREATORS_API_KEY` and a channel list. No keyword discovery. |
96 | **Trustpilot** | Company TrustScore, review count, and an AI summary of customer feedback. Opt-in; requires `trustpilot-pp-cli` on PATH and a usable session. |
97 | **Amazon** | Product ratings, prices, and customer reviews. Opt-in; requires an authenticated `brightdata` CLI and uses your Bright Data credits. |
98 | **DripStack** | Financial newsletters and analyst writeups through a public, keyless API. Opt in with `--search dripstack` or `INCLUDE_SOURCES=dripstack`. |
99 | **Jobs / careers pages** | What a company is hiring for, read from its own careers page (Workday, Apple, Amazon, Google, Microsoft, Netflix, Oracle, and more). A company run reads it automatically, and roles that hint at something unannounced become Jobs Page Secret Signals. Also selected with `--hiring-signals`, `--search jobs`, or the research plan. |
100 | **Patents** | A company's new US patent filings, as evidence of what it is building before it ships. Free, no API key. Shows when your topic is a company. A filing becomes a Patent Secret Signal only when it is out of character for the company or describes something it has not shipped or announced. |
101 | **Local corpus** | Your local Markdown and text files, plus PDFs when `pdftotext` is on PATH. Opt in with `--corpus` or `LAST30DAYS_CORPUS_DIRS`. |
102 | **Web** | The editorial coverage, the blog comparisons. One signal of many, not the only one. |
103
104 Ask `/last30days` to include the sources you need. Availability depends on credentials, installed tools, the topic, and explicit opt-ins. See [source requirements](CONFIGURATION.md#source-requirements) for configuration.
105
106 A Reddit thread with 1,500 upvotes is a stronger signal than a blog post nobody read. A TikTok with 3.6M views tells you more about what's culturally relevant than a press release. Polymarket odds backed by $66K in volume are harder to argue with than a pundit's guess.
107
108 The synthesis ranks by what real people actually engaged with. Social relevancy, not SEO relevancy.
109
110 ## What people actually use it for
111
112 **Before a meeting.** `/last30days Peter Steinberger` - joined OpenAI's Codex team, fighting Anthropic's ban on third-party agents, 23 PRs merged at 85% merge rate on GitHub, building LobsterOS for cross-device agent control. r/ClaudeCode: "Ever since OpenClaw released, it was widely known that if you run it through anything other than the API, you were gonna get banned eventually" (227 upvotes). That's not on LinkedIn.
113
114 **To see what a company is building before it ships.** `/last30days Apple` - the Jobs Page Secret Signal flagged a new director role testing whether requests trigger transactions that run through partner APIs and financial systems, which reads like quality control for an assistant that completes purchases. The Patent Secret Signal flagged an application for changing a device's state by tapping it in a saved photo of your room. Polymarket put Apple at 91% to be the world's largest company at year end. `/last30days Alphabet` found a product manager role for "YouTube Ads Agentic Buyflows", and its stock line read down 17.6% over 30 days while the S&P 500 fell 3.6%, with the worst day on Oct 29 (-12.6%). For a hiring-only report, add `--hiring-signals`.
115
116 **To find the topic before it peaks.** Ask `/last30days what's exploding in AI agents?` and the skill switches to discovery mode: the engine sweeps Reddit category listings, Hacker News front/best stories, Digg stories, and X when authenticated; your agent judges the nominations (names, junk filtering, content-worthiness) and writes podcast / X-article angles; then you get 5-10 velocity-ranked topics. Every result includes cross-source numbers, a momentum label, and a ready-to-run `/last30days "<topic>"` follow-up.
117
118 **When something drops.** `/last30days Kanye West` - UK blocked his visa, Wireless Festival canceled, sponsors fled. But BULLY debuted #2 on Billboard. Fantano came back from his "Yay sabbatical" to review it (653K views). SoFi Homecoming brought out Lauryn Hill and Travis Scott for 44 songs. Polymarket: "Will Kanye tweet again?" 86% Yes. 23 Reddit threads, 17 YouTube videos, 86K upvotes.
119
120 **To compare tools.** `/last30days OpenClaw vs Hermes vs Paperclip` - "These aren't competitors, they're layers." OpenClaw is the executor (351K GitHub stars, live), Hermes is the self-improving brain (31K stars), Paperclip is the org chart (49K stars). Star counts pulled live from the GitHub API, not stale blog posts. Side-by-side table with architecture, memory, security, best-for. Per @IMJustinBrooke: "OpenClaw = Charmander, Hermes = Charizard."
121
122 **To understand the world.** `/last30days Iran vs USA` - Day 38 of the war. Trump's Tuesday deadline for Iran to reopen the Strait of Hormuz. Two US warplanes downed. Oil at $126/barrel. The IEA called it "the largest supply disruption in the history of the global oil market." Polymarket: ceasefire by Dec 31 at 74%. 27 X posts, 10 YouTube videos, 20 prediction markets.
123
124 **Before a trip.** `/last30days Universal Epic Universe` - Expansion already under construction. "Project 680" permit filed. Fireworks show confirmed by infrastructure but unannounced. Wait times: Mine-Cart Madness averaging 148 minutes. No annual pass yet, and locals are frustrated. Stardust Racers down for refurbishment through April 5.
125
126 **To learn something fast.** `/last30days Nano Banana Pro prompting` - JSON-structured prompts are replacing tag soup. @pictsbyai's nested format prevents "concept bleeding." Edit-first workflow beats regeneration. Then it writes you a production prompt using exactly what the community said works.
127
128 ## What's new
129
130 v4 reads what a company is doing before it announces it, and makes every report easier to quote:
131
132 - Patent Secret Signals: a company run reads that month's US patent filings, with no key, and flags only the ones that are out of character or describe something unannounced.
133 - Jobs Page Secret Signals: it reads the company's own careers page and flags the roles that give away what's coming, including new teams nobody has covered yet.
134 - Quote lines: the best Reddit, X, YouTube, TikTok, and Instagram comments sit on their own line under the story they back up, translated when needed, and a line said in a video can be quoted too.
135 - Polymarket odds line: one line under the story it bears on, with how much the odds moved.
136 - Yahoo Finance line: a listed company's share price over the last 30 days next to the S&P 500, plus its biggest single-day move.
137 - Knows who you mean: "Apple" resolves to the company, its site, and its ticker on its own.
138 - Reddit as you: with your OK, Reddit searches as your own logged-in account.
139 - Digg covers every topic now, not just AI and tech.
140
141 See the [latest release](https://github.com/mvanhorn/last30days-skill/releases/latest) for the current published version and [CHANGELOG.md](CHANGELOG.md) for version-by-version changes. Unreleased changes on the default branch are recorded in [changelog.d/](changelog.d/).
142
143 This README describes the current source tree; your installed version may differ.
144
145 ## Install
146
147 | Surface | Install | Updates |
148 |---------|---------|---------|
149 | **Claude Code** (recommended) | `/plugin marketplace add mvanhorn/last30days-skill` | Auto via marketplace, or `claude plugin update last30days@last30days-skill` |
150 | **Grok** (xAI Build CLI) | `grok plugin marketplace add mvanhorn/last30days-skill` then `grok plugin install last30days` | `grok plugin update last30days` |
151 | **Grok Bot** | [Add it from the Grok Bot marketplace](https://x.ai/bot/marketplace/bots/last30days) | Managed by the marketplace |
152 | **Codex, Cursor, Copilot, Gemini CLI, or any of 50+ [Agent Skills](https://agentskills.io) hosts** | `npx skills add mvanhorn/last30days-skill -g` | `npx skills update last30days -g` |
153 | **claude.ai** (web) | [Download `last30days.skill`](https://github.com/mvanhorn/last30days-skill/releases/latest/download/last30days.skill) and upload via claude.ai > Customize > Skills > + > Create skill > Upload a skill | Re-download and re-upload |
154 | **Claude Desktop** | [Download the `.mcpb` for your platform](https://github.com/mvanhorn/last30days-skill/releases/latest) and drag into Settings > Extensions | Re-download and drag the new bundle in |
155 | **OpenClaw** | `clawhub install last30days-official` | `clawhub update last30days-official` |
156
157 ### Claude Code (recommended)
158
159 ```
160 /plugin marketplace add mvanhorn/last30days-skill
161 ```
162
163 Recommended because the Claude Code marketplace handles updates for you — the plugin cache is versioned and auto-refreshes when a new release publishes. Run `claude plugin update last30days@last30days-skill` to force a check.
164
165 If you'd rather use the agent-skills install path on Claude Code, that's also supported:
166
167 ```
168 npx skills add mvanhorn/last30days-skill -g -a claude-code
169 ```
170
171 ### Quick Try-Link
172
173 [Try Last30Days Research Skill in Telegram or WhatsApp](https://app.clawmama.run/skills/2ne05f/hermes?utm_source=github&utm_medium=issue&utm_campaign=skill_outreach_mvanhorn_last30days_skill)
174
175 The native plugin and the `npx skills` install can coexist. Note that Claude Code does not dedupe across install methods: if you have both the marketplace plugin and the `npx skills` copy active, `/last30days` will show two entries. Use one install method per machine.
176
177 ### Grok (xAI Build CLI)
178
179 [Grok Build](https://docs.x.ai/build/features/skills-plugins-marketplaces) (`grok`) installs last30days as a native plugin. Direct install tracks the repository:
180
181 ```bash
182 grok plugin install mvanhorn/last30days-skill
183 ```
184
185 Or add this repo as a marketplace source, then install by plugin name:
186
187 ```bash
188 grok plugin marketplace add mvanhorn/last30days-skill
189 grok plugin install last30days
190 ```
191
192 Add `--trust` to skip the install confirmation. Update with `grok plugin update last30days`. Grok also reads the Claude Code manifests for compatibility; the native `.grok-plugin/` pair is the first-class lane (and what an official [xAI marketplace](https://github.com/xai-org/plugin-marketplace) listing points at). `npx skills add` remains a valid cross-host fallback. On [Grok Bot](https://x.ai/bot/marketplace/bots/last30days), where last30days installs from the marketplace, X works out of the box through the bot's built-in X tools, then the bot's X connector, with the official X API (`X_BEARER_TOKEN`) as backup.
193
194 ### Codex, Cursor, Copilot, Gemini CLI, and other Agent Skills hosts
195
196 Install via the open [Agent Skills](https://agentskills.io) CLI — supports 50+ harnesses including `codex`, `cursor`, `github-copilot`, `gemini-cli`, `claude-code`, `windsurf`, `cline`, `continue`, `roo`, `aider-desk`, `opencode`, `goose`, and more (full list on the [vercel-labs/skills repo](https://github.com/vercel-labs/skills)).
197
198 ```bash
199 npx skills add mvanhorn/last30days-skill -g
200 ```
201
202 The `-g` (global) flag installs to your user directory so the skill is available across all projects. Without `-g`, `npx skills` installs project-locally into `./.skills/` (committed with the repo). For a research-the-world tool, global is what you want.
203
204 Codex desktop and other folder-mode hosts can work in ordinary folders as well as Git repos. To inspect what a run would read and write without starting research, run the bundled `scripts/last30days.py --preflight` from the loaded skill directory; in a source checkout, the equivalent command is `python3 skills/last30days/scripts/last30days.py --preflight`. It shows the config source, browser-cookie plan, planned writes, optional commands, and ignored project config without reading cookies, writing files, or running research. First-run setup does not require it.
205
206 By default this installs for whichever harness `npx skills` detects. To target a specific one (or multiple):
207
208 ```bash
209 npx skills add mvanhorn/last30days-skill -g -a codex
210 npx skills add mvanhorn/last30days-skill -g -a cursor
211 npx skills add mvanhorn/last30days-skill -g -a gemini-cli
212 npx skills add mvanhorn/last30days-skill -g -a codex -a cursor
213 ```
214
215 Update later with:
216
217 ```bash
218 npx skills update last30days -g
219 ```
220
221 Or update everything you've installed globally via `npx skills`:
222
223 ```bash
224 npx skills update -g
225 ```
226
227 List and remove with `npx skills list -g` and `npx skills remove last30days -g`.
228
229 ### DeepSeek Harness
230
231 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH) loads skills from `~/.agents/skills` (or `$DSH_AGENTS_HOME/skills` when set). That is where the global `npx skills add mvanhorn/last30days-skill -g` install above puts last30days, so DSH picks it up with no extra setup. Restart DSH after installing.
232
233 ### claude.ai (web)
234
235 1. [Download `last30days.skill`](https://github.com/mvanhorn/last30days-skill/releases/latest/download/last30days.skill) from the latest release
236 2. Go to [claude.ai > Customize > Skills](https://claude.ai/customize/skills)
237 3. Click the `+` button in the Skills panel > click on `Create skill` > `Upload a skill` and browse/drop the file in
238
239 Enable "Code execution and file creation" under Capabilities first — skills won't run without it.
240
241 ### Claude Desktop
242
243 Claude Desktop installs `/last30days` as an MCP server via a `.mcpb` bundle (a one-click Model Context Protocol package).
244
245 1. Go to the [latest release](https://github.com/mvanhorn/last30days-skill/releases/latest) and download the `.mcpb` for your platform:
246 - macOS Apple Silicon: `last30days-pp-mcp-darwin-arm64.mcpb`
247 - macOS Intel: `last30days-pp-mcp-darwin-amd64.mcpb`
248 - Linux x86_64: `last30days-pp-mcp-linux-amd64.mcpb`
249 2. Open Claude Desktop, go to Settings > Extensions, and drag the file in.
250 3. When prompted, paste API keys for the sources you want to enable. Every field is optional — the engine degrades to web-only mode if you skip them all. Keys are stored in your OS keychain.
251 4. Restart Claude Desktop. Ask Claude to "research Peter Steinberger" or any topic and it will call the `research` tool.
252
253 **Host requirement:** Python 3.12+ on PATH. The bundle ships the engine source but uses your local Python interpreter. Install from [python.org](https://www.python.org/downloads/) on Windows; macOS and most Linux distros ship a compatible version.
254
255 **Keys don't sync with the Code skill.** Claude Desktop and Claude Code maintain separate credential stores by design. If you already configured `~/.config/last30days/.env` for the Code skill, you'll re-enter the same keys here once.
256
257 Windows support is deferred until per-platform manifest entry points are sorted out; track in a follow-up issue.
258
259 ### OpenClaw
260
261 ```bash
262 clawhub install last30days-official
263 ```
264
265 For X/Twitter action workflows outside `/last30days` research, such as posting
266 tweets or replies, follower export, media handling, monitors, and giveaway
267 draws, use [TweetClaw](https://github.com/Xquik-dev/tweetclaw) as the companion
268 OpenClaw plugin. TweetClaw is maintained by Xquik-dev and is listed only as an
269 optional companion path, not a last30days dependency or endorsement.
270
271 ### Manual (developer)
272
273 ```bash
274 git clone https://github.com/mvanhorn/last30days-skill.git
275 ln -s "$(pwd)/last30days-skill/skills/last30days" ~/.claude/skills/last30days
276 ```
277
278 The symlink keeps the install in sync with your working tree as you edit — no re-copy needed. For `claude.ai`, build the `.skill` file from source: `bash skills/last30days/scripts/build-skill.sh` produces `dist/last30days.skill`.
279
280 Reddit (with comments), Hacker News, Polymarket, and GitHub work immediately, plus patent filings and careers pages for a company topic. Zero configuration. Run `/last30days` once and the setup wizard unlocks more sources in 30 seconds, including the free arXiv and Techmeme CLIs.
281
282 ## Bring your own keys
283
284 These platforms don't have relationships with each other. X doesn't know what Reddit thinks. YouTube doesn't see TikTok. But you can bring your own API keys and browser tokens, and suddenly you have access to all of them at once.
285
286 | Sources | What you need | Cost |
287 |---------|---------------|------|
288 | Reddit (with comments) + HN + Polymarket + GitHub + StockTwits + company patent filings and careers pages | Nothing | Free |
289 | arXiv + Techmeme + Yahoo Finance | Free CLIs, auto-installed by first-run setup | Free |
290 | X / Twitter | Set `X_BEARER_TOKEN` for the official X API (recent posts, about the last week, unless your X developer project has full-archive access; a backup on Grok Bot after the bot's built-in X tools, opt-in elsewhere with `LAST30DAYS_X_BACKEND=xapi`), or log into x.com in any browser, or set `XQUIK_API_KEY` / `XAI_API_KEY` | X API credits come from your X developer project; browser cookies are free; other keys are provider-specific |
291 | YouTube | `brew install yt-dlp` | Free |
292 | Bluesky | App password from bsky.app | Free |
293 | TikTok + Instagram + Threads + Pinterest + LinkedIn + YouTube comments | ScrapeCreators key | 10,000 free calls, then PAYG |
294 | TikTok (and Instagram, best effort) without a key | `yt-dlp`, used when no ScrapeCreators key is set; fewer results, no comments | Free |
295 | Xiaohongshu (RED) | Run a logged-in x-mcp browser plugin or `xiaohongshu-mcp` service and opt in with `--search xhs` per run or `INCLUDE_SOURCES=xiaohongshu` in `.env`; last30days auto-probes `http://localhost:18060` then `http://host.docker.internal:18060`, or use `XIAOHONGSHU_API_BASE` for a custom URL | No last30days API key; depends on your local browser-session service |
296 | DripStack (premium financial newsletters) | Opt-in: `--search dripstack` per run, or `INCLUDE_SOURCES=dripstack` in `.env` | No key; free public search API |
297 | Perplexity Agent API / Search API / Deep Research | Perplexity key, or OpenRouter key as Sonar fallback | Pay as you go; a direct key enables Agent API and background Deep Research |
298 | Web search | Brave Search key | 2,000 free queries/month |
299
300 ### macOS Keychain (optional)
301
302 On macOS you can store keys in the system Keychain instead of a `.env` file. The skill picks them up automatically as the lowest-priority source — `.env` files and process environment still win on collision.
303
304 ```bash
305 # Interactive setup — prompts for each known key, skip with empty input
306 skills/last30days/scripts/setup-keychain.sh
307
308 # Or store a single key by hand
309 security add-generic-password -a "$USER" -s last30days-XAI_API_KEY -w "xai-..."
310
311 # Inspect / clean up
312 skills/last30days/scripts/setup-keychain.sh --list
313 skills/last30days/scripts/setup-keychain.sh --delete XAI_API_KEY
314 ```
315
316 Items are stored under service name `last30days-<KEY>` for the current user. On non-Darwin platforms the loader is a no-op, so there is no behaviour change for Linux/Windows users.
317
318 Already have keys under different Keychain service names? Set the non-secret `LAST30DAYS_KEYCHAIN_ALIASES` mapping described in [CONFIGURATION.md](CONFIGURATION.md#reusing-existing-macos-keychain-items) instead of copying secrets.
319
320 See [CONFIGURATION.md](CONFIGURATION.md) for the full per-source key matrix, reasoning provider priority, and web-search backend priority.
321
322 ## Configuration
323
324 Two things you'll likely want to know on day one:
325
326 **Where research files are saved.** `LAST30DAYS_MEMORY_DIR` defaults to `~/Documents/Last30Days/` (Windows: `C:\Users\<you>\Documents\Last30Days\`). Override by setting that env var to any path in your shell, or `--save-dir <path>` per run. Use `--output <file>` when you need the rendered result at an exact path, using the format selected by `--emit`. Use `--save-suffix=<name>` to keep multiple variations of the same topic separate (e.g. per client). Each `--save-dir` run produces `<slug>-raw[-suffix].md`. Optionally run `python3 skills/last30days/scripts/last30days.py --preflight` to review planned writes without starting research.
327
328 **Post-turn brief capture.** The Claude Code plugin registers a `Stop` hook (`.claude-plugin/hooks.json`) that runs `scripts/capture_brief_hook.py` after each turn. It stays on your machine: when a turn ends with a finished last30days brief, it saves a copy to `LAST30DAYS_MEMORY_DIR`, and it writes nothing on other turns. Set `LAST30DAYS_AUTO_CAPTURE=off` to turn it off. Other hosts only get the hook if you run `setup --install-hooks`.
329
330 **Structured output for agents and workflows.** Ask `/last30days` for machine-readable JSON to receive the stable, versioned agent profile. For direct engine use in scripts or development, run `python3 skills/last30days/scripts/last30days.py "AI coding agents" --emit=json`; add `--json-profile=raw` only when you need the unversioned internal `Report` dump. See the [JSON export field reference and versioning policy](docs/reference/json-export.md).
331
332 **Topic-less discovery.** Ask `/last30days what's trending in AI agents?` to get a ranked discovery brief instead of researching a topic you already know - on an agent host this runs the three-command host-judged protocol (the model names topics, filters junk, scores worthiness, and writes the content angles). For direct engine use in scripts or cron, run `python3 skills/last30days/scripts/last30days.py --discover "AI agents"` (one-shot: deterministic topic names, no angles); add `--emit=json` for the versioned discovery contract. Discovery is mutually exclusive with a positional topic and `--drill`.
333
334 **Trend monitoring across runs.** The default mode produces a fresh markdown snapshot per run. To accumulate findings over time, add `--store` to persist into a SQLite database, then use [`scripts/watchlist.py`](skills/last30days/scripts/watchlist.py) for scheduled runs (with optional Slack / webhook delivery on new findings) and [`scripts/briefing.py`](skills/last30days/scripts/briefing.py) for daily / weekly digests. The full cadence pattern is in [CONFIGURATION.md](CONFIGURATION.md#trend-monitoring-store--watchlist--briefings).
335
336 **A subscribable research library.** Ask `/last30days` to build your library feed, or use `python3 skills/last30days/scripts/last30days.py library feed` directly for scripting and development. It turns saved briefs into `index.html`, a local Atom `feed.xml`, and readable brief pages. Add `--publish` only when you want the HTML index and brief pages hosted; publishing is explicit opt-in and public by default. To make the Atom feed subscribable, host the generated output directory on a static host such as GitHub Pages.
337
338 **Search everything you've researched.** Ask `/last30days search my library for MCP servers` or `/last30days have I researched MCP servers before?`. For direct engine use, run `python3 skills/last30days/scripts/last30days.py library search "MCP servers"`. Search is offline and deterministic: it incrementally indexes the same saved briefs used by the library feed, merges matching per-run store sightings, and groups results by topic and date. Fresh runs also surface a compact **From your library** section when prior research overlaps the current topic; set `LAST30DAYS_LIBRARY_CONTEXT=off` to disable that passive context.
339
340 Per-client wrapper scripts, custom category-peer subreddits, and the experimental beta channel for in-progress customizations are also documented in [CONFIGURATION.md](CONFIGURATION.md).
341
342 ## Showcase: community research feeds
343
344 Published a recurring AI update, market watch, or wonderfully narrow obsession with last30days? Share the public library URL—or the Atom URL after hosting `feed.xml` on a static host—in [the community showcase thread](https://github.com/mvanhorn/last30days-skill/issues/532). Community feeds will be linked here as their owners submit them; the thread is the collection point in the meantime.
345
346 ## How it works
347
348 1. **You type a topic.** Person, company, product, technology, "X vs Y." Anything.
349 2. **The agent resolves who matters.** Finds X handles (including founders), GitHub repos, subreddits, TikTok hashtags, YouTube channels. For "Kanye West" it knows r/hiphopheads, @kanyewest, and "bully review" on YouTube. For "OpenClaw" it resolves openclaw/openclaw on GitHub and fetches live star counts.
350 3. **All sources searched in parallel.** Multi-query expansion. Results scored by engagement, relevance, freshness.
351 4. **The depth nobody else has.** Full YouTube transcripts from reaction videos. Top Reddit comments with upvote counts. TikTok captions. Polymarket odds. Not just titles and links.
352 5. **Same story, merged.** Wireless Festival announced on Reddit, discussed on X, ticket prices on TikTok = one cluster, not three separate items.
353 6. **Synthesized into one brief.** Grounded in specific data. Cited by source. Ranked by what people actually engage with. Not "here's what I found." It's "here's what matters."
354 7. **Then it becomes your expert.** After one run, your Claude session knows everything the community knows. Ask follow-up questions. Have it write prompts, draft emails, plan trips, architect systems - all grounded in what's real right now.
355
356 ## What people are saying
357
358 > "I found a Claude Code skill that researches any topic across Reddit, X, YouTube, and HN from the last 30 days. Then writes the prompts for you. I've been manually searching Reddit and X for research before every piece of content I write. Tab by tab. Thread by thread. That's the part that takes 90 minutes. This eliminates it." -@itsjasonai
359
360 > "This one skill replaced my entire research workflow. You give it a topic, it scrapes Reddit, X, and the web for what people are actually talking about. Not old blog posts. Real conversations from the last 30 days." -@itswilsoncharles
361
362 > "5 of the 10 trending repos on GitHub today are Claude tools. #1: mvanhorn/last30days-skill" -@yieldhunter95
363
364 ## Open source
365
366 MIT license. No tracking. No analytics. Your research stays on your machine (see Data handling below).
367
368 For test commands, see [CONTRIBUTING.md](CONTRIBUTING.md#tests).
369
370 Built with Python 3.12+, yt-dlp, Node.js (vendored Bird client for X search), and ScrapeCreators API. v3 engine architecture by [@j-sperling](https://github.com/j-sperling).
371
372 See [CONTRIBUTING.md](CONTRIBUTING.md) to open a PR, [CONTRIBUTORS.md](CONTRIBUTORS.md) for the full list of community contributors, and [CHANGELOG.md](CHANGELOG.md) for version history.
373
374 ## Data handling
375
376 By default the skill runs entirely on your machine — no data leaves except to the search APIs you call (Reddit, ScrapeCreators, etc.).
377
378 **Reranking.** In the default `auto` mode, the engine uses available credentials to select a reasoning provider. This includes keys inherited from your shell (`OPENAI_API_KEY`, `XAI_API_KEY`, `OPENROUTER_API_KEY`, `GOOGLE_API_KEY`, `GEMINI_API_KEY`, or `GOOGLE_GENAI_API_KEY`), including keys you set for another tool. If a provider is selected, the engine sends your research topic and shortlisted snippets to it for relevance scoring. When no reasoning provider is available, scoring stays local. See [reasoning provider priority](CONFIGURATION.md#reasoning-provider-priority) for the selection order and how to keep reranking local.
379
380 **Local store.** When `LAST30DAYS_STORE=1` is set, findings are persisted to a local SQLite database named `research.db` inside the effective save directory (`--save-dir` takes precedence over `LAST30DAYS_MEMORY_DIR`). If no save directory is in effect, the database is `~/.local/share/last30days/research.db`. Enabling the store does not upload its database to a remote service. See [CONFIGURATION.md](CONFIGURATION.md#--store-flag) for retention details and purge instructions, including stopping database users before deletion.
381
382 ## Star History
383
384 <a href="https://github.com/mvanhorn/last30days-skill/stargazers">
385 <picture>
386 <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mvanhorn/last30days-skill/star-history-assets/star-history-dark.svg" />
387 <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/mvanhorn/last30days-skill/star-history-assets/star-history-light.svg" />
388 <img alt="Star History Chart" src="https://raw.githubusercontent.com/mvanhorn/last30days-skill/star-history-assets/star-history-light.svg" />
389 </picture>
390 </a>
391
392 ---
393
394 **@slashlast30days** · [github.com/mvanhorn/last30days-skill](https://github.com/mvanhorn/last30days-skill)
395
395 lines MARKDOWN