Add --quick and --deep flags for research depth

- quick: 8-12 sources each, faster response
- default: 20-30 sources each (unchanged behavior)
- deep: 50-70 Reddit, 40-60 X for comprehensive research

Adjusts API timeouts based on depth. Cache keys include depth
so different depths are cached separately.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt Van Horn
2026-01-23 13:41:55 -08:00
parent 19d2c41161
commit f603323ca8
4 changed files with 69 additions and 7 deletions
+6 -1
View File
@@ -84,7 +84,12 @@ echo "Please edit it to add your API keys, then run the skill again."
## Research Execution
Run the research orchestrator with the TOPIC:
Run the research orchestrator with the TOPIC.
**Depth options** (passed through from user's command):
- `--quick` → Faster, fewer sources (8-12 each)
- (default) → Balanced (20-30 each)
- `--deep` → Comprehensive (50-70 Reddit, 40-60 X)
```bash
python3 ~/.claude/skills/last30days/scripts/last30days.py "$ARGUMENTS" --emit=compact 2>&1