搜索

PythonReactSEOPDF
OpenClaw

perplexity-research

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.

hushenglang0 来源安装数☆ 0 仓库 Starsv2.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install hushenglang/perplexity-research

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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:

# 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:

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:

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:

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:...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/hushenglang/perplexity-research
Version
2.0.0
Commit
efd687a75d072f831982267ca151c4ea050bf8ac
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

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:

    pip install perplexity python-dotenv
    
  2. Configure API key:

    Create .env file in the scripts/ directory:

    cd .cursor/skills/perplexity-research/scripts
    cp .env.example .env
    # Edit .env and add your actual API key
    

    Or export as environment variable:

    export PERPLEXITY_API_KEY='your_api_key_here'
    
  3. Get your API key:

Quick Usage

As CLI Tool
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
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...

来源内容

SKILL.md
# 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**:...
README
# 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...

相关技能

OpenClaw

ai-maestro

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 c...

OpenClaw

registry-broker-skills

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.

OpenClaw

skills-manager

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.