name: web-research
description: Use for all web searches and URL fetching — unified CLI combining tinyfish search + Groq summarization. Replaces both native WebSearch and native WebFetch. Triggers on: research tasks, finding docs, "search for X", "look up X", fetching any public URL. Skip for GitHub repos/issues (use gh CLI), Jira/Confluence (use MCP tools), internal/authenticated URLs.
Web Research (wr)
Unified web research CLI. Tinyfish for search, Groq for summarization, local cache for speed.
Auto-Setup Check
which wr || { echo "Install: cd ~/web-research && go build -o ~/.local/bin/wr ./cmd/wr"; }
wr setup
Commands
wr search "<query>"
wr fetch "<url>" "<prompt>"
wr research "<query>"
wr setup
Optimal Usage Pattern
1. wr research "query" → full pipeline, best for research tasks
2. wr search "query" → when you just need URLs first
wr fetch "<url>" "<prompt>" → then fetch specific result
When to Skip
- GitHub issues/PRs/repos →
gh CLI
- Jira/Confluence → Atlassian MCP tools
- Internal/authenticated URLs → native WebFetch
- Already have exact answer → no need to search
Env Vars
export TINYFISH_API_KEY="..."
export GROQ_API_KEY="..."
export WR_CACHE_DAYS=7
Fallback
If wr not installed or wr setup shows missing keys:
- Search → fall back to native WebSearch
- Fetch → fall back to
~/.claude/skills/web-fetch-local/fetch.sh