search
Search Research
Find and synthesize information effectively.
When to use
- Deep research tasks
- Fact verification
- Competitive analysis
- Documentation lookup
- Trend analysis
Search strategies
Query formulation
# Exact phrase
"error handling best practices"
# Exclude terms
python tutorial -beginner
# Site-specific
site:github.com react hooks
# File type
filetype:pdf security audit
# Date range (use WebSearch date filtering)
react 18 features 2024
Domain filtering
# WebSearch with domain filtering
WebSearch(
query="kubernetes best practices",
allowed_domains=["kubernetes.io", "cloud.google.com", "docs.aws.amazon.com"],
)
# Exclude unreliable sources
WebSearch(
query="health benefits of X",
blocked_domains=["pinterest.com", "quora.com"],
)
Research workflow
1. Scope definition
- What specific question needs answering?
- What type of sources are authoritative?
- What time period is relevant?
2. Initial search
# Broad search first
queries = [
"main topic overview",
"main topic best practices",
"main topic common problems",
]
3. Deep dive
# Follow up on promising results
for result in initial_results:
if is_authoritative(result):
content = WebFetch(url=result.url, prompt="Extract key findings")
facts.append(content)
4. Verification
- Cross-reference claims across sources
- Check publication dates
- Verify author credentials
- Look for primary sources
Output format
## Research Summary: [Topic]
### Key Findings
1. **Finding 1** - [Source](url)
- Supporting detail
- Supporting detail
2. **Finding 2** - [Source](url)
- Supporting detail
### Consensus
- Points that multiple sources agree on
### Contradictions
- Areas where sources disagree
### Gaps
- Questions that couldn't be answered
### Sources
- [Title](url) - Credibility: High/Medium/Low
Source evaluation
| Indicator | High Credibility | Low Credibility |
|---|---|---|
| Domain | .gov, .edu, major publications | Unknown, user-generated |
| Author | Named expert, organization | Anonymous, unclear |
| Date | Recent, regularly updated | Outdated, no date |
| Citations | Links to sources | No references |
| Bias | Balanced, factual | Promotional, extreme |
Examples
Input: "Research best auth solutions for SaaS" Action: Search auth providers, compare features, check reviews, summarize
Input: "Verify this claim about performance" Action: Find benchmarks, check methodology, cross-reference results
More from htlin222/dotfiles
cpp
Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.
130refactor
Refactor code for quality and maintainability. Use for cleanup and tech debt reduction.
74data-science
Data analysis, SQL queries, BigQuery operations, and data insights. Use for data analysis tasks and queries.
52c-lang
Write efficient C code with proper memory management and system calls. Use for C optimization, memory issues, or system programming.
46quarto-book
Generate Quarto Book project structure with chapters, configuration, and output settings. Use when user wants to create a book, multi-chapter document, technical manual, or asks about Quarto book setup.
45scientific-figure-assembly
Assemble multi-panel scientific figures with panel labels (A, B, C) at publication quality (300 DPI) using R. Use when combining individual plots into journal-ready figures.
43