Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

Fix: embed date filter in query instead of --since flag

Matt Van Hornbcf5c2cc3fb0
diff --git a/scripts/lib/bird_x.py b/scripts/lib/bird_x.py
index 3568a89e..230332e6 100644
--- a/scripts/lib/bird_x.py
+++ b/scripts/lib/bird_x.py
@@ -127,11 +127,14 @@ def search_x(
"""
count = DEPTH_CONFIG.get(depth, DEPTH_CONFIG["default"])
+ # Build query with date filter using X's search syntax
+ # Bird doesn't support --since flag, but X search accepts since:YYYY-MM-DD in query
+ query = f"{topic} since:{from_date}"
+
# Build command
cmd = [
"bird", "search",
- topic,
- "--since", from_date,
+ query,
"-n", str(count),
"--json",
]