Back to Skills

perplexity-search

Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter

5,913stars710forksUpdated 1/15/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([SKILL.md] .env)
Security Score50/100

About perplexity-search

The 'perplexity-search' skill enables users to perform AI-powered web searches utilizing advanced Perplexity models through the LiteLLM and OpenRouter platforms. This skill addresses the need for accessing real-time information and current developments by providing web-grounded answers, complete with source citations. It is particularly useful for those seeking information beyond the model's training data cutoff, thus allowing users to stay updated with the latest trends and research findings across various fields.

FAQ

How do I obtain an OpenRouter API key?

Visit https://openrouter.ai/keys to create an account and generate your API key.

What are the system requirements for using this skill?

You need to have an OpenRouter API key and install the necessary dependencies using pip.

Can I use this skill for queries within the model's training data?

It is not recommended to use this skill for queries well within the model's training data unless verification is needed.

What types of models are available with this skill?

The skill provides access to several models, including sonar-pro, sonar-pro-search, sonar-reasoning-pro, and more.

Is there a cost associated with using the OpenRouter API?

Yes, you need to add credits to your OpenRouter account, with a minimum of $5 recommended.

Install perplexity-search

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill