🦀 ClawHub
openrouter-perplexity
by @mrnicholasbcarter-code
Search the web with AI-powered answers via Perplexity API. Returns grounded responses with citations. Supports batch queries.
TERMINAL
clawhub install openrouter-perplexity📖 About This Skill
name: perplexity description: Search the web with AI-powered answers via Perplexity API. Returns grounded responses with citations. Supports batch queries. homepage: https://openrouter.ai/ metadata: {"clawdbot":{"emoji":"🔮","requires":{"bins":["node"],"env":["OPENROUTER_API_KEY"]},"primaryEnv":"OPENROUTER_API_KEY"}}
Perplexity Search
AI-powered web search that returns grounded answers with citations.
Search
Single query:
node {baseDir}/scripts/search.mjs "what's happening in AI today"
Multiple queries (batch):
node {baseDir}/scripts/search.mjs "What is Perplexity?" "Latest AI news" "Best coffee in NYC"
Options
--json: Output raw JSON responseNotes
OPENROUTER_API_KEY environment variable⚙️ Configuration
--json: Output raw JSON response📋 Tips & Best Practices
OPENROUTER_API_KEY environment variable