openrouter-perplexity
由 mrnicholasbcarter-code 提供
Web & Frontend Development简介
Search the web with AI-powered answers via Perplexity API.
描述
该技能的功能
Runs AI-powered web searches via the Perplexity API through OpenRouter. Returns answers grounded in current web content, with citations included. Supports single queries and batching multiple queries into one call.
Perplexity returns cited, grounded answers from live web data rather than static model knowledge, making it more reliable for time-sensitive or factual queries.
何时使用
- Looking up recent news or current events
- Fact-checking a claim against live web sources
- Researching a topic and getting cited summaries
- Running multiple research queries in one script call
- Getting sourced answers without opening a browser
示例工作流
User asks: what are the latest developments in quantum computing?
- 1
Receives the query string
- 2
Calls the Perplexity API via OpenRouter using OPENROUTER_API_KEY
- 3
Retrieves a grounded response with web citations
- 4
Returns the answer text along with source URLs
A summarized answer about recent quantum computing developments with citations to source articles
前置要求
- OPENROUTER_API_KEY environment variable
- OpenRouter account (openrouter.ai)
安装
clawhub install mrnicholasbcarter-code/openrouter-perplexity运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。