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: show Bird install prompt before topic validation
Matt Van Horn73b42c5c8999
diff --git a/scripts/last30days.py b/scripts/last30days.pyindex 3882789b..a46beb7c 100644--- a/scripts/last30days.py+++ b/scripts/last30days.py@@ -405,29 +405,32 @@ def main():else:depth = "default"- if not args.topic:- print("Error: Please provide a topic to research.", file=sys.stderr)- print("Usage: python3 last30days.py <topic> [options]", file=sys.stderr)- sys.exit(1)-- # Load config+ # Load config first to check Bird availabilityconfig = env.get_config()- # Initialize progress display early for Bird prompts- progress = ui.ProgressDisplay(args.topic, show_banner=True)-- # Check Bird availability and offer install if needed+ # Check Bird availability and offer install if needed (before topic validation)x_source_status = env.get_x_source_status(config)x_source = x_source_status["source"]# If no X source and Bird can be installed, offer itif x_source is None and x_source_status["can_install_bird"]:- bird_result = setup_bird_if_needed(progress)+ # Create minimal progress for Bird prompts (no topic yet)+ temp_progress = ui.ProgressDisplay("setup", show_banner=False)+ bird_result = setup_bird_if_needed(temp_progress)if bird_result == 'bird':x_source = 'bird'# Refresh statusx_source_status = env.get_x_source_status(config)+ # Now validate topic+ if not args.topic:+ print("Error: Please provide a topic to research.", file=sys.stderr)+ print("Usage: python3 last30days.py <topic> [options]", file=sys.stderr)+ sys.exit(1)++ # Initialize progress display with topic+ progress = ui.ProgressDisplay(args.topic, show_banner=True)+# Check available sources (now accounting for Bird)available = env.get_available_sources(config)