openrouter-perplexity
Search the web with AI-powered answers via Perplexity API.
Setup & Installation
Install command
clawhub install mrnicholasbcarter-code/openrouter-perplexityIf the CLI is not installed:
Install command
npx clawhub@latest install mrnicholasbcarter-code/openrouter-perplexityOr install with OpenClaw CLI:
Install command
openclaw skills install mrnicholasbcarter-code/openrouter-perplexityor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/mrnicholasbcarter-code/openrouter-perplexityWhat This Skill Does
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.
When to Use It
- 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
View original SKILL.md file
# Perplexity Search
AI-powered web search that returns grounded answers with citations.
## Search
Single query:
```bash
node {baseDir}/scripts/search.mjs "what's happening in AI today"
```
Multiple queries (batch):
```bash
node {baseDir}/scripts/search.mjs "What is Perplexity?" "Latest AI news" "Best coffee in NYC"
```
## Options
- `--json`: Output raw JSON response
## Notes
- Requires `OPENROUTER_API_KEY` environment variable
- Responses include citations when available
- Batch queries are processed in a single API call
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Looking up recent news or current events
- 1Looking up recent news or current events
- 2Fact-checking a claim against live web sources
- 3Researching a topic and getting cited summaries
- 4Running multiple research queries in one script call
- 5Getting sourced answers without opening a browser
Search the web with AI-powered answers via Perplexity API.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.