Perplexity Web Search
Web search and URL fetching via Perplexity Sonar Pro. Use when searching the web, looking up information, fetching URL content, or configuring web search set...
kokoko
@aligurelli
What This Skill Does
Performs web searches and fetches URL content via Perplexity's Sonar or Sonar Pro API. Returns AI-synthesized answers with citations for search queries, and extracts HTML pages as markdown or text.
Replaces manual web browsing and traditional search engine result parsing by delivering AI-summarized answers with citations directly from Perplexity.
When to Use It
- Search the web for current news or information with a specific freshness filter
- Fetch and extract the text content of a webpage as markdown
- Conduct market research by including social platforms like Reddit or Twitter in search queries
- Look up localized results by specifying country and search language
- Perform deep analysis on a complex topic using the Sonar Pro model
Install
$ openclaw skills install @aligurelli/perplexity-web-searchWeb Search Skill
Web search via Perplexity (default: sonar) and URL content fetching. Sonar-pro is optional for deeper analysis.
Credentials
This skill uses the Perplexity key configured in your OpenClaw setup. No shared or third-party keys are used.
If your environment is not already configured, set PERPLEXITY_API_KEY or configure the key in OpenClaw config.
Recommended default (cost-effective):
{
tools: {
web: {
search: {
provider: "perplexity",
perplexity: {
apiKey: "<your-perplexity-api-key>",
baseUrl: "https://api.perplexity.ai",
model: "sonar"
}
}
}
}
}
Optional deep mode (higher quality, higher cost):
{
tools: {
web: {
search: {
perplexity: {
model: "sonar-pro"
}
}
}
}
}
Use sonar-pro only when you explicitly need deeper analysis.
Get your API key at: https://www.perplexity.ai/settings/api
Data Handling
- All search queries are sent to Perplexity's API (
https://api.perplexity.ai) web_fetchfetched page contents are processed locally by OpenClaw (not sent to Perplexity)- This instruction-only skill does not persist data by itself; query handling/retention is governed by OpenClaw + Perplexity policies
- Search queries are sent to Perplexity; do not include secrets or private data in queries
- Your own Perplexity API key and account terms apply
web_search
Search the web. Returns AI-synthesized answers with citations.
Parameters:
query(required) — search querycount(1-10) — number of resultscountry— 2-letter code: TR, US, DE, ALLsearch_lang— result language: tr, en, de, frfreshness— time filter: pd (day), pw (week), pm (month), py (year)
Including Social Platform Results
For market research or user feedback queries, add social platform names naturally to the query. This makes Perplexity include results from Reddit, Twitter, Quora etc. alongside normal web results — no filtering, no restriction, just broader coverage.
web_search(query="cell tower finder app complaints features users want reddit twitter quora")
Perplexity will pull from both regular websites AND social platforms in one search.
For cases where you ONLY want a specific platform, use site: operator:
web_search(query="site:reddit.com best stud finder app")
Examples:
web_search(query="latest Flutter updates", freshness="pw")
web_search(query="İstanbul hava durumu", country="TR", search_lang="tr")
web_search(query="AI news", count=5, freshness="pd")
web_search(query="GLP-1 tracker app wish features complaints reddit twitter quora")
web_fetch
Fetch URL content as markdown/text. No JS execution. Content is extracted locally.
Parameters:
url(required) — HTTP/HTTPS URLextractMode— markdown (default) or textmaxChars— truncation limit
Perplexity Models (User Choice)
sonar(default) — fast Q&A + web search, cost-effectivesonar-pro— multi-step reasoning + web search (use when deeper analysis is needed)sonar-reasoning-pro— deep chain-of-thought research (expensive, use sparingly)
Set the model in config based on your budget/quality preference.
Top skills in this category
Multi Search Engine
@gpyangyoujunMulti search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Openai Whisper
@steipeteLocal speech-to-text with the Whisper CLI (no API key).
Tavily 搜索
@jacky1n7Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...
Baidu web search
@ide-reaSearch the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.