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
fix: clarify browser support in Unlock X message (#387) (#561)
SAI MOHANEESHc591ca3330b6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 16068248..cfc598f2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- **First-party positioning research + pitch-vs-pulse synthesis (company / product / service topics).** A new mandatory research step captures each entity's current stated positioning from first-party sources (homepage, docs, pricing) rather than from memory. The fetched pitch grounds `What it is` descriptions (entities described as they pitch themselves today), helps reject unrelated brand-name noise, and feeds an evidence-triggered prose beat: when the month's conversation directly supports a specific claim, cuts against one, or is squarely about the pitched ground, the synthesis says so anchored to the top thread — and stays silent when the pulse is orthogonal to the pitch, because a manufactured connection is worse than omission. Claims are tested at matched altitude (specific claims against specific threads; broad taglines are never graded against individual items), and statements stay windowed to the 30 days — no trend verdicts. Scoped to entities with an identifiable first party: people are always excluded (even founders whose companies qualify), as are events, abstract concepts, and ownerless topics like Bitcoin; the beat requires positioning fetched during the run, never from memory.+### Changed++- Updated "Unlock X" promo message to mention Chrome/macOS support and Windows Firefox-only limitation instead of generic "Firefox or Safari" ([#387](https://github.com/mvanhorn/last30days-skill/issues/387))+### Fixed- YouTube transcript budget prioritises recent videos (by a combination of views and recency) instead of views alone, preventing transcript slots from being consumed by old high-view-count videos that would be discarded by strict_recent freshness pruning ([#531](https://github.com/mvanhorn/last30days-skill/issues/531))diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex daf774c8..29e78f23 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -54,6 +54,7 @@ v3 has durable watchlist with multi-source storage and extended time windows.## Past Contributors+- [@23241a6749](https://github.com/23241a6749) - Windows cp1252 encoding fix ([#550](https://github.com/mvanhorn/last30days-skill/pull/550)), Windows killpg guard ([#552](https://github.com/mvanhorn/last30days-skill/pull/552)), browser cookie message clarity ([#387](https://github.com/mvanhorn/last30days-skill/issues/387))- [@JosephOIbrahim](https://github.com/JosephOIbrahim) - Windows Unicode fix ([#17](https://github.com/mvanhorn/last30days-skill/pull/17))- [@levineam](https://github.com/levineam) - Model fallback for unverified orgs ([#16](https://github.com/mvanhorn/last30days-skill/pull/16))- [@jonthebeef](https://github.com/jonthebeef) - Early testing and feedbackdiff --git a/skills/last30days/scripts/lib/cookie_extract.py b/skills/last30days/scripts/lib/cookie_extract.pyindex db66835f..e2c47215 100644--- a/skills/last30days/scripts/lib/cookie_extract.py+++ b/skills/last30days/scripts/lib/cookie_extract.py@@ -2,6 +2,8 @@Extracts cookies from local browser databases (Firefox, Chrome, Brave, Safari)to enable zero-config authentication for services like X/Twitter.+Note: Chrome/Brave extraction is macOS-only; Windows Chrome/Edge use+DPAPI-encrypted stores that are not yet supported.Only uses Python stdlib — no external dependencies."""diff --git a/skills/last30days/scripts/lib/env.py b/skills/last30days/scripts/lib/env.pyindex 7c44a7b6..1f2cf390 100644--- a/skills/last30days/scripts/lib/env.py+++ b/skills/last30days/scripts/lib/env.py@@ -407,6 +407,8 @@ def extract_browser_credentials(config: dict[str, Any]) -> dict[str, str]:These read local files silently with no system dialogs. Chrome isskipped because ``security find-generic-password`` triggers a macOSKeychain prompt that cannot be reliably suppressed.+ On Windows only Firefox cookie extraction is supported; Chrome and+ Edge use DPAPI-encrypted cookie stores that are not yet supported.Set ``FROM_BROWSER=auto`` to also try Chrome (accepts the dialog),or ``FROM_BROWSER=off`` to disable extraction entirely.diff --git a/skills/last30days/scripts/lib/ui.py b/skills/last30days/scripts/lib/ui.pyindex bd225bb0..a797295a 100644--- a/skills/last30days/scripts/lib/ui.py+++ b/skills/last30days/scripts/lib/ui.py@@ -201,7 +201,11 @@ Just start with "last30" and talk to me like normal.# Shorter promo for single missing keyPROMO_SINGLE_KEY = {"reddit": "\n💡 Unlock TikTok and Instagram with SCRAPECREATORS_API_KEY - 100 free credits, no CC - scrapecreators.com\n",- "x": "\n💡 Unlock X: log into x.com in Firefox or Safari, then re-run. Or add AUTH_TOKEN/CT0 or XAI_API_KEY.\n",+ "x": "\n💡 Unlock X: log into x.com in your browser, then re-run. "+ "Firefox works on all platforms. Safari works on macOS (detected automatically). "+ "Chrome on macOS requires FROM_BROWSER=auto in .env (Keychain dialog). "+ "On Windows only Firefox is supported. "+ "Or add AUTH_TOKEN/CT0 or XAI_API_KEY.\n","web": "\n💡 You can unlock native grounded web search with BRAVE_API_KEY or SERPER_API_KEY.\n",}diff --git a/tests/test_ui_v3.py b/tests/test_ui_v3.pyindex e0bdb133..9d97d980 100644--- a/tests/test_ui_v3.py+++ b/tests/test_ui_v3.py@@ -6,6 +6,29 @@ from unittest import mockfrom lib import ui+class PromoMessageTests(unittest.TestCase):+ def test_x_promo_mentions_browser_support_and_fallbacks(self):+ msg = ui.PROMO_SINGLE_KEY["x"]+ self.assertIn("Firefox", msg, "Firefox should be listed as supported")+ self.assertIn("Windows", msg, "Windows limitation should be mentioned")+ self.assertIn("FROM_BROWSER=auto", msg, "Chrome opt-in should be mentioned")+ self.assertIn("AUTH_TOKEN", msg, "AUTH_TOKEN/CT0 fallback should be listed")+ self.assertIn("XAI_API_KEY", msg, "XAI_API_KEY fallback should be listed")++ def test_x_promo_does_not_say_firefox_or_safari_without_qualification(self):+ msg = ui.PROMO_SINGLE_KEY["x"]+ self.assertNotIn(+ "Firefox or Safari",+ msg,+ "Promo should not say 'Firefox or Safari' without qualification",+ )+ self.assertNotIn(+ "Chrome/Safari",+ msg,+ "Promo should not list Chrome alongside Safari as if both are default",+ )++class UiV3Tests(unittest.TestCase):def test_show_diagnostic_banner_uses_v3_source_model(self):diag = {