Skip to main content
skill CX Codex

perplexity-search · parcadei — Claude Code skill: what it does, how to install

Runs Perplexity AI web search, deep research, and chain-of-thought reasoning directly from the agent terminal.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill perplexity-search -a claude-code
Open on GitHub

What perplexity-search does

The skill runs web queries through scripts/mcp/perplexity_search.py using uv. It provides five operational modes based on Perplexity's sonar models: quick factual answers via --ask (sonar), raw ranked links without synthesis via --search, multi-source summaries with --research (sonar-pro), structured logic analysis with --reason (sonar-reasoning-pro), and comprehensive reports through --deep (sonar-deep-research).

Direct web search supports time filters via --recency (day, week, month, year), domain constraints with --domains, and result limits from 1 to 20 using --max-results (default is 10).

Execution requires an active PERPLEXITY_API_KEY in your environment or in ~/.claude/.env. The tool will fail immediately if this variable or the uv runner is missing.

What it helps with

  • retrieve ranked search results without AI synthesis filtered by recency
  • analyze technical architecture trade-offs with step-by-step reasoning
  • compile multi-source research reports using sonar-deep-research
  • fetch quick answers grounded in real-time web citations

Example prompts for the agent

  • Find recent articles on OpenTelemetry agent tracing from the past month using Perplexity
  • Compare FastAPI and Django for microservices using Perplexity research mode
  • Reason whether to use Neo4j or SQLite for a graph under 10k nodes

How to install perplexity-search

1Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill perplexity-search -a claude-code

2Manually: put the files in place

~/.claude/skills/perplexity-search/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/perplexity-search/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about perplexity-search

How do I install perplexity-search in Claude Code?

Run npx skills add parcadei/Continuous-Claude-v3 --skill perplexity-search -a claude-code in your terminal.

What does perplexity-search do?

It connects the agent to Perplexity API models, enabling web searches, citations, structured reasoning, and deep research tasks from the command line.

What prerequisites are needed for perplexity-search?

You need uv installed to execute the script and a valid PERPLEXITY_API_KEY saved in your environment or ~/.claude/.env.

Source text

SKILL.md · MIT
---
name: perplexity-search
description: AI-powered web search, research, and reasoning via Perplexity
allowed-tools: [Bash, Read]
---

# Perplexity AI Search

Web search with AI-powered answers, deep research, and chain-of-thought reasoning.

## When to Use

- Direct web search for ranked results (no AI synthesis)
- AI-synthesized research with citations
- Chain-of-thought reasoning for complex decisions
- Deep comprehensive research on topics

## Models (2025)

| Model | Purpose |
|-------|---------|
| `sonar` | Lightweight search with grounding |
| `sonar-pro` | Advanced search for complex queries |
| `sonar-reasoning-pro` | Chain of thought reasoning |
| `sonar-deep-research` | Expert-level exhaustive research |

## Usage

### Quick question (AI answer)
```bash
uv run python scripts/mcp/perplexity_search.py \
    --ask "What is the latest version of Python?"
```

### Direct web search (ranked results, no AI)
```bash
uv run python scripts/mcp/perplexity_search.py \
    --search "SQLite graph database patterns" \
    --max-results 5 \
    --recency week
```

### AI-synthesized research
```bash
uv run python scripts/mcp/perplexity_search.py \
    --research "compare FastAPI vs Django for microservices"
```

### Chain-of-thought reasoning
```bash
uv run python scripts/mcp/perplexity_search.py \
    --reason "should I use Neo4j or SQLite for small graph under 10k nodes?"
```

### Deep comprehensive research
```bash
uv run python scripts/mcp/perplexity_search.py \
    --deep "state of AI agent observability 2025"
```

## Parameters

| Parameter | Description |
|-----------|-------------|
| `--ask` | Quick question with AI answer (sonar) |
| `--search` | Direct web search - ranked results without AI synthesis |
| `--research` | AI-synthesized research (sonar-pro) |
| `--reason` | Chain-of-thought reasoning (sonar-reasoning-pro) |
| `--deep` | Deep comprehensive research (sonar-deep-research) |

### Search-specific options
| Parameter | Description |
|-----------|-------------|
| `--max-results N` | Number of results (1-20, default: 10) |
| `--recency` | Filter: `day`, `week`, `month`, `year` |
| `--domains` | Limit to specific domains |

## Mode Selection Guide

| Need | Use | Why |
|------|-----|-----|
| Quick fact | `--ask` | Fast, lightweight |
| Find sources | `--search` | Raw results, no AI overhead |
| Synthesized answer | `--research` | AI combines multiple sources |
| Complex decision | `--reason` | Chain-of-thought analysis |
| Comprehensive report | `--deep` | Exhaustive multi-source research |

## Examples

```bash
# Find recent sources on a topic
uv run python scripts/mcp/perplexity_search.py \
    --search "OpenTelemetry AI agent tracing" \
    --recency month --max-results 5

# Get AI synthesis
uv run python scripts/mcp/perplexity_search.py \
    --research "best practices for AI agent logging 2025"

# Make a decision
uv run python scripts/mcp/perplexity_search.py \
    --reason "microservices vs monolith for startup MVP"

# Deep dive
uv run python scripts/mcp/perplexity_search.py \
    --deep "comprehensive guide to building feedback loops for autonomous agents"
```

## API Key Required

Requires `PERPLEXITY_API_KEY` in environment or `~/.claude/.env`.

© parcadei · MIT · parcadei/Continuous-Claude-v3

Similar skills

Everything for AI and ML →

perplexity-search by other authors comes first.

From the same set77

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor