# perplexity-search

Adds four Perplexity API modes to your agent: quick answers, deep research, reasoning, and raw search results.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 455 installs · ★ 3
- Author: dotneet
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dotneet/claude-code-marketplace/tree/HEAD/research/skills/perplexity-search/SKILL.md
- Updated: 2026-01-23
- HTML: https://affpapa.org/en/nevibecode/skills/dotneet-perplexity-search

## What it does

The skill wraps the Perplexity API in a single Python script, `scripts/perplexity_api.py`. Four modes sit inside: `ask` answers general questions on sonar-pro, `research` produces longer reports on sonar-deep-research, `reason` handles analysis on sonar-reasoning-pro, and `search` returns web results. The agent picks a mode from how you phrase the request.

\`search` takes `--max-results` (1 to 20, default 10), `--max-tokens-per-page` (256 to 2048, default 1024) and `--country` with an ISO code. On `research` and `reason` you can pass `--strip-thinking` to drop ` thinking...` tags and save context.

Set `PERPLEXITY_API_KEY` before the first call. Nothing runs without it, so check that first. Timeouts are raised through `PERPLEXITY_TIMEOUT_MS` (default 300000), and behind a proxy you set `PERPLEXITY_PROXY` or `HTTPS_PROXY`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dotneet/claude-code-marketplace --skill perplexity-search -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/perplexity-search/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/perplexity-search/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dotneet/claude-code-marketplace --skill perplexity-search -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/perplexity-search/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dotneet/claude-code-marketplace --skill perplexity-search -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/perplexity-search/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dotneet/claude-code-marketplace perplexity-search
```

2. **Manually: put the files in place**
- File: `.github/skills/perplexity-search/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dotneet/claude-code-marketplace --skill perplexity-search -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dotneet/claude-code-marketplace --path research/skills/perplexity-search
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/perplexity-search/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dotneet/claude-code-marketplace --skill perplexity-search -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dotneet/claude-code-marketplace/tree/HEAD/research/skills/perplexity-search/SKILL.md

## When to use it
- pull fresh news on a topic without opening a browser
- collect source URLs for a write-up
- work through a hard problem step by step
- get a long report on a technical subject
- get results scoped to one country

## Example prompts
- search the web for what changed in this library recently
- do deep research on vector databases and write up a report
- analyze this approach and tell me where it breaks

## Similar
- [perplexity](https://affpapa.org/en/nevibecode/skills/perplexity.md) — skill · 140 installs
- [exa-search](https://affpapa.org/en/nevibecode/skills/affaan-m-exa-search.md) — skill · 4500 installs
- [web-search-tavily](https://affpapa.org/en/nevibecode/skills/web-search-tavily.md) — skill · 1100 installs
- [web-search](https://affpapa.org/en/nevibecode/skills/jwynia-web-search.md) — skill · 776 installs
- [tavily-dynamic-search](https://affpapa.org/en/nevibecode/skills/tavily-dynamic-search.md) — skill · 13500 installs
- [search-specialist](https://affpapa.org/en/nevibecode/agents/voltagent-community-search-specialist.md) — subagent · 6886 installs

## Other versions with the same name
- [perplexity-search · parcadei](https://affpapa.org/en/nevibecode/skills/perplexity-search.md) — 524 installs

From the same set: [dotneet/claude-code-marketplace](https://affpapa.org/en/nevibecode/by/dotneet/claude-code-marketplace.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
