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: align v3 version metadata and sync target
gujishh8b2cf41f1374
diff --git a/SKILL.md b/SKILL.mdindex 6cb4e6c5..5286a724 100644--- a/SKILL.md+++ b/SKILL.md@@ -59,7 +59,7 @@ metadata:- clawhub----# last30days v2.9.5: Research Any Topic from the Last 30 Days+# last30days v3.0.0: Research Any Topic from the Last 30 Days> **Permissions overview:** Reads public web/platform data and optionally saves research briefings to `~/Documents/Last30Days/`. X/Twitter search uses optional user-provided tokens (AUTH_TOKEN/CT0 env vars). Bluesky search uses optional app password (BSKY_HANDLE/BSKY_APP_PASSWORD env vars - create at bsky.app/settings/app-passwords). All credential usage and data writes are documented in the [Security & Permissions](#security--permissions) section.diff --git a/scripts/sync.sh b/scripts/sync.shindex a7f1ddec..f38850ad 100755--- a/scripts/sync.sh+++ b/scripts/sync.sh@@ -11,7 +11,7 @@ COMMON_TARGETS=(# but local development needs the cache kept in sync with the repo.# Do NOT add ~/.claude/skills/last30days - it creates a duplicate# /last30days-3 in the slash command menu alongside the plugin version.- "$HOME/.claude/plugins/cache/last30days-skill-private/last30days-3/3.0.0-alpha"+ "$HOME/.claude/plugins/cache/last30days-skill-private/last30days-3/3.0.0""$HOME/.claude/plugins/cache/last30days-skill-private/last30days-3-nogem/3.0.0-nogem""$HOME/.agents/skills/last30days""$HOME/.codex/skills/last30days"diff --git a/tests/test_version_consistency.py b/tests/test_version_consistency.pynew file mode 100644index 00000000..2850dff0--- /dev/null+++ b/tests/test_version_consistency.py@@ -0,0 +1,30 @@+import re+import unittest+from pathlib import Path+++ROOT = Path(__file__).resolve().parents[1]+++def _skill_version() -> str:+ text = (ROOT / "SKILL.md").read_text(encoding="utf-8")+ match = re.search(r'^version:\s*"([^"]+)"\s*$', text, re.MULTILINE)+ if not match:+ raise AssertionError("SKILL.md version frontmatter not found")+ return match.group(1)+++class TestVersionConsistency(unittest.TestCase):+ def test_root_skill_header_matches_frontmatter_version(self) -> None:+ text = (ROOT / "SKILL.md").read_text(encoding="utf-8")+ version = _skill_version()+ self.assertIn(f"# last30days v{version}:", text)++ def test_sync_cache_path_uses_skill_version(self) -> None:+ sync_text = (ROOT / "scripts" / "sync.sh").read_text(encoding="utf-8")+ version = _skill_version()+ self.assertIn(f'last30days-3/{version}"', sync_text)+++if __name__ == "__main__":+ unittest.main()