← Back to Skills Marketplace
baofeng-tech

Perplexity Search

by baofeng-tech · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install perplexity-search-aisa
Description
Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or So...
README (SKILL.md)

Perplexity Search

Use this skill when the user specifically wants Perplexity-powered search and answer generation through AIsa, especially for citation-backed web answers, analytical reasoning, or long-form research reports.

This skill covers four AIsa endpoints:

  • /perplexity/sonar
  • /perplexity/sonar-pro
  • /perplexity/sonar-reasoning-pro
  • /perplexity/sonar-deep-research

Compatibility

Works with any agentskills.io-compatible harness, including:

  • Claude Code and Claude
  • OpenAI Codex
  • Cursor
  • Gemini CLI
  • OpenCode, Goose, OpenClaw, Hermes
  • and other harnesses that implement the Agent Skills specification

Requires Python 3, a POSIX shell, and AISA_API_KEY (available from aisa.one).

Requirements

  • Set AISA_API_KEY
  • Use the bundled client at scripts/perplexity_search_client.py

Model Selection

  • Use sonar for fast, lightweight answers with citations
  • Use sonar-pro for stronger synthesis and comparison tasks
  • Use sonar-reasoning-pro for analytical or multi-step reasoning questions
  • Use sonar-deep-research for exhaustive reports; expect slower responses and occasional timeouts

Python Client

python3 scripts/perplexity_search_client.py sonar --query "What changed in AI this week?"
python3 scripts/perplexity_search_client.py sonar-pro --query "Compare coding agents with citations"
python3 scripts/perplexity_search_client.py sonar-reasoning-pro --query "Analyze whether vertical AI agents can defend against general copilots"
python3 scripts/perplexity_search_client.py sonar-deep-research --query "Create a deep research report on AI coding agents in 2026"

Add a system message when you want a more specific output format:

python3 scripts/perplexity_search_client.py sonar-pro \
  --query "Map the top coding agent products" \
  --system "Respond in markdown with an executive summary first."

Curl Examples

Sonar

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar",
    "messages": [
      {"role": "user", "content": "What changed in the AI agent ecosystem this week?"}
    ]
  }'

Sonar Pro

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-pro" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-pro",
    "messages": [
      {"role": "user", "content": "Compare the top coding agents and cite the key differences."}
    ]
  }'

Sonar Reasoning Pro

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-reasoning-pro" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-reasoning-pro",
    "messages": [
      {"role": "user", "content": "Analyze whether vertical AI agents can defend against general copilots."}
    ]
  }'

Sonar Deep Research

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-deep-research" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-deep-research",
    "messages": [
      {"role": "user", "content": "Create a deep research report on AI coding agents in 2026."}
    ]
  }'

Timeout Behavior

  • sonar-deep-research uses a longer timeout and automatic retries in the bundled client
  • If it still times out, narrow the query or retry later
  • If the user wants a faster answer, fall back to sonar-pro or sonar-reasoning-pro

References

Usage Guidance
This is an inconclusive low-confidence review due to workspace inspection failure. Rerun the scan when metadata.json and artifact/ can be read before using this as an installation decision.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
metadata.json and artifact/ could not be read because local command execution failed before any file content was returned; no artifact-backed purpose mismatch is available.
Instruction Scope
Instruction scope could not be assessed from artifact text because the file inspection step failed.
Install Mechanism
Install behavior could not be assessed from artifact text because metadata and artifact files were not readable in this run.
Credentials
Environment access proportionality could not be assessed without artifact contents.
Persistence & Privilege
No artifact-backed evidence of persistence or privilege behavior was available.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install perplexity-search-aisa
  3. After installation, invoke the skill by name or use /perplexity-search-aisa
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of perplexity-search-aisa skill: - Enables Perplexity Sonar search and answer generation via AIsa for citation-backed web answers, reasoning, and long-form research. - Supports four endpoints: sonar, sonar-pro, sonar-reasoning-pro, and sonar-deep-research. - Compatible with multiple agent harnesses, including OpenClaw, Claude Code, Hermes, and more. - Requires Python 3 and AISA_API_KEY environment variable. - Includes detailed usage instructions and API examples for each search mode.
Metadata
Slug perplexity-search-aisa
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Perplexity Search?

Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or So... It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.

How do I install Perplexity Search?

Run "/install perplexity-search-aisa" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Perplexity Search free?

Yes, Perplexity Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Perplexity Search support?

Perplexity Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Perplexity Search?

It is built and maintained by baofeng-tech (@baofeng-tech); the current version is v1.0.0.

💬 Comments