Skip to content
TakoAPI
Back to skills

perplexity-research

by hushenglang

Web & Frontend Development
554Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Conduct deep research using Perplexity Agent API with web search, reasoning, and multi-model analysis.

Description

What This Skill Does

Conducts web-backed research using the Perplexity Agent API, combining live search with configurable reasoning depth. Supports single queries, multi-model comparison, streaming responses, and multi-turn conversations. Tracks token usage and cost per request.

Combining live web search with adjustable reasoning effort in one client lets you tune between speed and depth without switching tools.

When to Use It

  • Researching current market conditions or competitor activity
  • Validating findings by comparing answers across multiple LLMs
  • Analyzing investment risks with real-time web data
  • Tracking emerging trends in a fast-moving industry
  • Getting a quick answer to a time-sensitive factual question

Example Workflow

INPUT

User asks: Analyze recent developments in the AI chip market

AGENT
  1. 1

    Initialize PerplexityClient with PERPLEXITY_API_KEY

  2. 2

    Call research_query() with reasoning_effort set to high

  3. 3

    Retrieve answer, token count, and cost from result

  4. 4

    Optionally call compare_models() across GPT, Claude, and Gemini to validate key findings

  5. 5

    Return synthesized answer with cost summary

OUTPUT

A detailed market analysis with sourced web data, cross-model validation, and per-request cost breakdown

Requirements

  • PERPLEXITY_API_KEY environment variable

Installation

clawhub install hushenglang/perplexity-research

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links