Overview
- Skill Key
- hushenglang/perplexity-research
- Author
- hushenglang
- Source Repo
- openclaw/skills
- Version
- 2.0.0
- Source Path
- skills/hushenglang/perplexity-research
- Latest Commit SHA
- efd687a75d072f831982267ca151c4ea050bf8ac
Conduct deep research using Perplexity Agent API with web search, reasoning, and multi-model analysis. Use when the user needs current information, market research, trend analysis, investment insights, or comprehensive research on any topic requiring web search and reasoning capabilities.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 perplexity-research 技能。 若已安装,则直接安装 perplexity-research 技能。
# Perplexity Research
Research assistant powered by Perplexity Agent API with web search and reasoning capabilities.
## Quick Start
The Perplexity client is available at `scripts/perplexity_client.py` in this skill folder.
**Default model**: `openai/gpt-5.2` (GPT latest)
**Key capabilities**:
- Web search for current information
- High reasoning effort for deep analysis
- Multi-model comparison
- Streaming responses
- Cost tracking
## Common Research Patterns
### 1. Deep Research Query
Use for comprehensive analysis requiring web search and reasoning:
```python
# Import from skill scripts folder
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent / "scripts"))
from perplexity_client import PerplexityClient
client = PerplexityClient()
result = client.research_query(
query="Your research question here",
model="openai/gpt-5.2",
reasoning_effort="high",
max_tokens=2000
)
if "error" not in result:
print(result["answer"])
print(f"Tokens: {result['tokens']}, Cost: ${result['cost']}")
```
### 2. Quick Web Search
Use for time-sensitive or current information:
```python
result = client.search_query(
query="Your question about current events",
model="openai/gpt-5.2",
max_tokens=1000
)
```
### 3. Model Comparison
Use when output quality is critical:
```python
results = client.compare_models(
query="Your question",
models=["openai/gpt-5.2", "anthropic/claude-3-5-sonnet", "google/gemini-2.0-flash"],
max_tokens=300
)
for result in results:
if "error" not in result:
print(f"\n{result['model']}: {result['answer']}")
```
### 4. Streaming for Long Responses
Use for better UX with lengthy analysis:
```python
client.stream_query(
query="Your question",
model="openai/gpt-5.2",
use_search=True,
max_tokens=2000
)
```
## Research Workflow
When conducting research:
1. **Initial exploration**: Use `research_query()` with web search enabled
2. **Validate findings**:...
# Perplexity Research Skill
AI agent skill for conducting deep research using Perplexity Agent API with web search, reasoning, and multi-model analysis capabilities.
## Structure
```
perplexity-research/
├── SKILL.md # Main skill instructions for the AI agent
├── examples.md # Practical usage examples
├── reference.md # Complete API reference documentation
├── README.md # This file
└── scripts/
├── perplexity_client.py # Perplexity API client implementation
└── .env.example # Environment variable template
```
## Setup
1. **Install dependencies:**
```bash
pip install perplexity python-dotenv
```
2. **Configure API key:**
Create `.env` file in the `scripts/` directory:
```bash
cd .cursor/skills/perplexity-research/scripts
cp .env.example .env
# Edit .env and add your actual API key
```
Or export as environment variable:
```bash
export PERPLEXITY_API_KEY='your_api_key_here'
```
3. **Get your API key:**
- Sign up at [Perplexity API](https://www.perplexity.ai/api)
- Generate an API key from your dashboard
## Quick Usage
### As CLI Tool
```bash
cd .cursor/skills/perplexity-research
# Research mode (recommended for deep analysis)
python scripts/perplexity_client.py research "What are the latest developments in AI chip manufacturing?"
# Quick web search
python scripts/perplexity_client.py search "NVIDIA latest earnings report"
# Streaming response
python scripts/perplexity_client.py stream "Explain quantum computing"
# Compare multiple models
python scripts/perplexity_client.py compare "What are the risks in semiconductor industry?"
```
### As Python Library
```python
import sys
from pathlib import Path
# Add scripts to path
skill_dir = Path(".cursor/skills/perplexity-research")
sys.path.insert(0, str(skill_dir / "scripts"))
from perplexity_client import PerplexityClient
# Initialize client
client = PerplexityClient()
# Conduct research
resul...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.