perplexity-search

Search the web in real time using Perplexity models via OpenRouter.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill perplexity-search-rubensliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perplexity-search
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/perplexity-search
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill perplexity-search-rubensliv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires litellm, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Enables researchers to retrieve real-time, web-grounded information and literature evidence using Perplexity models via a single OpenRouter API key, reducing reliance on static model knowledge.

Core Features & Use Cases

  • Real-time web querying with multiple Perplexity models (sonar-pro, sonar-pro-search, sonar, sonar-reasoning-pro, sonar-reasoning)
  • Source-grounded answers with citations and flexible model selection for complex analyses
  • Suitable for literature discovery, verification, and rapid fact-checking across biomedical, chemical, and clinical domains

Quick Start

Run the perplexity_search script with your query after configuring OPENROUTER_API_KEY to start real-time web searches.

Frequently Asked Questions about perplexity-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get real-time web search results with citations using Perplexity models?

To get real-time web search results with citations, you can query Perplexity models through OpenRouter to retrieve source-grounded answers. This provides source citations for current-information lookups and literature discovery across biomedical, chemistry, and technology domains.

Do I need an OpenRouter API key to run Perplexity web searches?

Yes, you need a single OpenRouter API key to access Perplexity models. You must also have LiteLLM installed in your environment to execute the perplexity_search.py CLI script for performing real-time web queries.

Can I use Perplexity models for literature discovery in biomedical and chemistry domains?

Yes, Perplexity models are suitable for literature discovery and verification across biomedical, chemical, and clinical domains. The real-time web querying grounds answers with current sources, reducing reliance on static model knowledge for domain-specific research.

What is the best way to compare Perplexity models like sonar-pro and sonar-reasoning for web search?

The best way to compare them is by selecting different models like sonar-pro, sonar, or sonar-reasoning-pro for complex analyses. This flexible model selection allows you to evaluate source-grounded answers and determine which model best suits your verification needs.

How does real-time web grounding differ from using static model knowledge?

Real-time web grounding queries the live web to retrieve current information and cite sources, whereas static model knowledge relies on pre-trained data. This approach is essential for rapid fact-checking and current-information lookups where up-to-date evidence is required.