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: Run Reddit/X script in background for parallel execution

Matt Van Horn68420ca1e2cd
diff --git a/SKILL.md b/SKILL.md
index cd5b68d5..e1c6ded0 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -76,27 +76,31 @@ echo "Please edit it to add your API keys, then run the skill again."
## Research Execution
-**IMPORTANT: Run WebSearch FIRST, then the script.** This way users see our nice progress display as the "working state" while the slower script runs.
+**IMPORTANT: Run Reddit/X script IN BACKGROUND first, then WebSearch.** This way both run in parallel.
-**Step 1: Kick off WebSearch** (runs quickly)
-- Search for: `{TOPIC} 2026` (or current year) - find 8-15 pages
-- Search for: `{TOPIC} best practices tutorial guide` - find 5-10 more
-- EXCLUDE reddit.com, x.com, twitter.com (covered by script)
-- INCLUDE: blogs, tutorials, docs, news, GitHub repos
-- **DO NOT output "Sources:" list** - this is noise, we'll show stats at the end
-
-**Step 2: Run the research script** (takes longer, shows progress)
+**Step 1: Start Reddit/X script in background** (runs first, shows progress)
```bash
python3 ~/.claude/skills/last30days/scripts/last30days.py "$ARGUMENTS" --emit=compact 2>&1
```
+Use `run_in_background: true` so it starts immediately and runs while we do WebSearch.
-The script displays this progress while running:
+The script displays progress:
```
πŸš€ Deploying research agents...
β”œβ”€ 🟠 Reddit Agent: Scanning subreddits for discussions...
└─ πŸ”΅ X Agent: Following the conversation on X...
```
+**Step 2: While script runs, do WebSearch**
+- Search for: `{TOPIC} 2026` (or current year) - find 8-15 pages
+- Search for: `{TOPIC} best practices tutorial guide` - find 5-10 more
+- EXCLUDE reddit.com, x.com, twitter.com (covered by script)
+- INCLUDE: blogs, tutorials, docs, news, GitHub repos
+- **DO NOT output "Sources:" list** - this is noise, we'll show stats at the end
+
+**Step 3: Wait for background script to complete**
+Use TaskOutput to get the script results before proceeding to synthesis.
+
**Depth options** (passed through from user's command):
- `--quick` β†’ Faster, fewer sources (8-12 each)
- (default) β†’ Balanced (20-30 each)