π¦ ClawHub
Last30Days Community Intelligence for OpenClaw
by @keylimesoda
OpenClaw adaptation of @mvanhorn's last30days skill. Research any topic from the last 30 days across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Poly...
TERMINAL
clawhub install last30days-openclawπ About This Skill
name: last30days-openclaw description: OpenClaw adaptation of @mvanhorn's last30days skill. Research any topic from the last 30 days across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, and web. Includes watchlists, briefing generation, and historical query mode. license: MIT metadata: upstream_author: "@mvanhorn" upstream_repo: "https://github.com/mvanhorn/last30days-skill" adaptation: "OpenClaw adaptation by Tommy"
last30days-openclaw
> Attribution: This skill is an OpenClaw adaptation of @mvanhorn's MIT-licensed project:
What is original vs adapted
Original (from @mvanhorn)
scripts/last30days.py + scripts/lib/*)bird-search X client and source connectorsOpenClaw adaptation (this folder)
skill.json, this SKILL.md)~/.openclaw/workspace~/.openclaw/workspace/.secrets/last30days.envscripts/openclaw_watchlist_run.shscripts/setup_openclaw_env.shRuntime paths (OpenClaw defaults)
~/.openclaw/workspace/.secrets/last30days.env~/.openclaw/workspace/data/last30days/research.db~/.openclaw/workspace/data/last30days/briefs/~/.openclaw/workspace/data/last30days/out/Setup
cd ~/.openclaw/workspace/skills/last30days-openclaw
./scripts/setup_openclaw_env.sh
python3 scripts/last30days.py --diagnose
macOS X-cookie support (Bird)
The vendored Bird client reads browser cookies on macOS.
node scripts/lib/vendor/bird-search/bird-search.mjs --whoami
If that fails, set AUTH_TOKEN + CT0 in the secrets file.
Command routing
Use first token to route mode:
watch ... β watchlist managementbriefing ... β briefing generationhistory ... β history/FTS queriesOne-shot research (default mode)
Run via OpenClaw exec:
cd ~/.openclaw/workspace/skills/last30days-openclaw
python3 scripts/openclaw_run.py "TOPIC"
equivalent engine call:
python3 scripts/last30days.py "TOPIC" --emit=compact --no-native-web
--quick or --deep for depth.--store to persist findings.--search reddit,x,youtube,tiktok,instagram,hn,polymarket,web for source subsets.Watchlist mode
python3 scripts/watchlist.py add "TOPIC"
python3 scripts/watchlist.py list
python3 scripts/watchlist.py run-one "TOPIC"
python3 scripts/watchlist.py run-all
OpenClaw cron integration
Use this wrapper in a scheduled exec/cron job:
~/.openclaw/workspace/skills/last30days-openclaw/scripts/openclaw_watchlist_run.sh
This writes logs to:
~/.openclaw/workspace/logs/last30days-watchlist.log
Briefing mode
python3 scripts/briefing.py generate
python3 scripts/briefing.py generate --weekly
python3 scripts/briefing.py show --date YYYY-MM-DD
History mode
python3 scripts/store.py query "TOPIC" --since 7d
python3 scripts/store.py search "QUERY"
python3 scripts/store.py trending
python3 scripts/store.py stats
Notes
--no-native-web and use OpenClaw's web_search tool for web supplementation.βοΈ Configuration
cd ~/.openclaw/workspace/skills/last30days-openclaw
./scripts/setup_openclaw_env.sh
python3 scripts/last30days.py --diagnose
π Tips & Best Practices
--no-native-web and use OpenClaw's web_search tool for web supplementation.