Date: 2026-05-09
Source: Harnoor (explicit, durable rule)
Confidence: explicit · durable
Optimize for cost. Two kinds of "research":
1. Synthesis / discovery ("what's the latest on X", "compare A vs B", "survey of papers") — use Perplexity (pplx.py) first. Harnoor has Perplexity Pro = flat rate, returns synthesized cited answers, doesn't burn Claude tokens.
2. Raw scraping / known-URL fetch (pull a specific page's HTML, parse JSON from a public API, scrape a Reddit thread, hit an arXiv endpoint) — use local Python tools: urllib, requests, BeautifulSoup, feedparser, subprocess curl. Run via Bash tool. NOT WebFetch. NOT Claude. Local processing keeps Anthropic token costs at zero for grunt work.
Never use WebFetch for bulk scraping — every fetch dumps 5-50K tokens of HTML through Claude's context. Local Python parses it for free.
WebFetch is only acceptable when: Harnoor specifically pasted the URL and wants Claude to read+summarize it conversationally, or for a single one-off page where setting up a local scraper is overkill.
python F:/TITAN/scripts/pplx.py "your query" --model sonar-pro --recency week --max-tokens 1200 - --model: sonar-pro (default), sonar-reasoning, sonar-deep-research for thesis-grade
- --recency: day, week, month, year, or omit for all-time
- --max-tokens: 1200 default; use 3000+ for deep memos
| Agent | Pattern |
|---|---|
| ORACLE | Already uses Perplexity — no change |
| SCOUT | Use pplx.py first for any research synthesis. WebSearch + WebFetch only as fallback / specific URL fetch |
| forge / general-purpose | When delegated a research-heavy task, pplx.py first |
| /feed | Already uses Perplexity (per skill description) |
Perplexity Pro subscription = flat-rate, no per-query cost. Use freely for legitimate research. Logged in nightly token-audit (F:/TITAN/scripts/nightly_report_builder.py already tracks Perplexity spend).