AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
chore(release): bump version to 3.24.0 (#1125)
github-actions[bot]ca9d415e6607
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex a7b8b3fb..2be6e333 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -11,7 +11,7 @@{"name": "last30days","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.",- "version": "3.23.1",+ "version": "3.24.0","author": {"name": "Matt Van Horn","url": "https://github.com/mvanhorn"diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex e52aa296..9f209442 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.23.1",+ "version": "3.24.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.","author": {"name": "Matt Van Horn",diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 45863067..1325c39d 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.23.1",+ "version": "3.24.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and the web.","author": {"name": "Matt Van Horn",diff --git a/.grok-plugin/marketplace.json b/.grok-plugin/marketplace.jsonindex 864c6a58..a4cf54ef 100644--- a/.grok-plugin/marketplace.json+++ b/.grok-plugin/marketplace.json@@ -9,7 +9,7 @@{"name": "last30days","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.",- "version": "3.23.1",+ "version": "3.24.0","category": "productivity","source": {"source": "url",diff --git a/.grok-plugin/plugin.json b/.grok-plugin/plugin.jsonindex a46b5a65..d3d2c6d2 100644--- a/.grok-plugin/plugin.json+++ b/.grok-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.23.1",+ "version": "3.24.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.","author": {"name": "Matt Van Horn",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5f93d845..00ffb3fc 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,17 @@ This project uses [towncrier](https://towncrier.readthedocs.io/). Upcoming notes<!-- towncrier release notes start -->+## [3.24.0] - 2026-09-09++### Added++- New `xapi` X backend: the official X API v2 with an app-only `X_BEARER_TOKEN`, trying full-archive search first and falling back to recent search (about the last seven days, reported as "window truncated to 7 days"), serving the topic lane and the from/mention/related handle lanes; it is the first rung on Grok Bot and opt-in elsewhere (`LAST30DAYS_X_BACKEND=xapi`). New `--x-posts <path>` flag ingests a `last30days-x-posts/1` envelope of posts the hosting model fetched through its X connector (per-entity `x_posts` in `--competitors-plan`), and `LAST30DAYS_X_HOST_LANE=1` marks X as available for planning while a connector is in the session. New `setup --store-key <NAME>` persists one credential from stdin without echoing it. New `payment-required` source outcome, exported under agent JSON schema `1.3`.++### Changed++- On a Grok Bot host (`LAST30DAYS_HOST=grok-bot`) X search now runs through the bot's X connector first, with the official X API (`X_BEARER_TOKEN`) and xAI's licensed X search (`XAI_API_KEY`) as backups; onboarding, doctor, and repair hints there name only those paths. Credit-exhaustion responses from any source (HTTP 402 or an explicit "insufficient credits" message) now classify as the `payment-required` outcome instead of `error` or `auth-failed`, and `LAST30DAYS_STRICT_EXIT` treats it as degraded (exit `3`).++## [3.23.1] - 2026-09-08### Securitydiff --git a/changelog.d/+grok-bot-official-x-api.changed.md b/changelog.d/+grok-bot-official-x-api.changed.mddeleted file mode 100644index 4e787eae..00000000--- a/changelog.d/+grok-bot-official-x-api.changed.md+++ /dev/null@@ -1 +0,0 @@-On a Grok Bot host (`LAST30DAYS_HOST=grok-bot`) X search now runs through the bot's X connector first, with the official X API (`X_BEARER_TOKEN`) and xAI's licensed X search (`XAI_API_KEY`) as backups; onboarding, doctor, and repair hints there name only those paths. Credit-exhaustion responses from any source (HTTP 402 or an explicit "insufficient credits" message) now classify as the `payment-required` outcome instead of `error` or `auth-failed`, and `LAST30DAYS_STRICT_EXIT` treats it as degraded (exit `3`).diff --git a/changelog.d/+x-api-backend-and-host-lane.added.md b/changelog.d/+x-api-backend-and-host-lane.added.mddeleted file mode 100644index 3ed8a938..00000000--- a/changelog.d/+x-api-backend-and-host-lane.added.md+++ /dev/null@@ -1 +0,0 @@-New `xapi` X backend: the official X API v2 with an app-only `X_BEARER_TOKEN`, trying full-archive search first and falling back to recent search (about the last seven days, reported as "window truncated to 7 days"), serving the topic lane and the from/mention/related handle lanes; it is the first rung on Grok Bot and opt-in elsewhere (`LAST30DAYS_X_BACKEND=xapi`). New `--x-posts <path>` flag ingests a `last30days-x-posts/1` envelope of posts the hosting model fetched through its X connector (per-entity `x_posts` in `--competitors-plan`), and `LAST30DAYS_X_HOST_LANE=1` marks X as available for planning while a connector is in the session. New `setup --store-key <NAME>` persists one credential from stdin without echoing it. New `payment-required` source outcome, exported under agent JSON schema `1.3`.diff --git a/gemini-extension.json b/gemini-extension.jsonindex 3b6dfcf6..b6d0d6d1 100644--- a/gemini-extension.json+++ b/gemini-extension.json@@ -1,6 +1,6 @@{"name": "last30days-skill",- "version": "3.23.1",+ "version": "3.24.0","description": "Research a topic from the last 30 days across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, and the web.","settings": [{diff --git a/pyproject.toml b/pyproject.tomlindex 6bf89e91..47df27c0 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "last30days-skill"-version = "3.23.1"+version = "3.24.0"description = "Multi-source last-30-days research skill"readme = "README.md"requires-python = ">=3.12"diff --git a/skills/last30days/SKILL.md b/skills/last30days/SKILL.mdindex 617f79f3..4f29399a 100644--- a/skills/last30days/SKILL.md+++ b/skills/last30days/SKILL.md@@ -1,6 +1,6 @@---name: last30days-version: "3.23.1"+version: "3.24.0"description: "Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Includes a doctor health check to diagnose broken or missing sources."argument-hint: 'last30days nvidia earnings reaction | last30days AI video tools | last30days what users want in react'allowed-tools: Bash, Read, Write, AskUserQuestion, WebSearch@@ -415,7 +415,7 @@ If your Bash call to `last30days.py` does NOT include the FULL pre-flight checkl----# last30days v3.23.1: Research Any Topic from the Last 30 Days+# last30days v3.24.0: Research Any Topic from the Last 30 Days> **Permissions overview:** Reads public web/platform data and optionally saves research briefings to `LAST30DAYS_MEMORY_DIR` (defaults to `~/Documents/Last30Days`). X/Twitter search uses optional user-provided tokens (AUTH_TOKEN/CT0 env vars), an X API v2 app-only bearer (X_BEARER_TOKEN, sent only to api.x.com), or a host-provided `--x-posts` envelope the hosting model fetched through its own X connector. Bluesky search uses optional app password (BSKY_HANDLE/BSKY_APP_PASSWORD env vars - create at bsky.app/settings/app-passwords). On hosts with `uv` and no Python 3.12+, the preflight may install a uv-managed CPython 3.12 (one-time ~28MB download, announced on stderr). All credential usage and data writes are documented in the [Security & Permissions](#security--permissions) section.diff --git a/uv.lock b/uv.lockindex 01be43a9..7f2bc6bf 100644--- a/uv.lock+++ b/uv.lock@@ -130,7 +130,7 @@ wheels = [[[package]]name = "last30days-skill"-version = "3.23.1"+version = "3.24.0"source = { virtual = "." }[package.dev-dependencies]