← 返回 Skills 市场
baofeng-tech

Perplexity Search

作者 baofeng-tech · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install perplexity-search-aisa
功能描述
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...
使用说明 (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

安全使用建议
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.
能力标签
requires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install perplexity-search-aisa
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /perplexity-search-aisa 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug perplexity-search-aisa
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Perplexity Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install perplexity-search-aisa」即可一键安装,无需额外配置。

Perplexity Search 是免费的吗?

是的,Perplexity Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Perplexity Search 支持哪些平台?

Perplexity Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Perplexity Search?

由 baofeng-tech(@baofeng-tech)开发并维护,当前版本 v1.0.0。

💬 留言讨论