360 Secure SkillHub
360 安全技能中心

Perplexity

该 Skill 通过 Node 脚本调用 Perplexity API 执行 AI 联网搜索:支持单条查询与一次 API 调用内的批量查询,返回带引用的grounded答案,可用 --json 输出原始 JSON 响应;需设置 PERPLEXITY_API_KEY 环境变量。

zats
zats
热度 99.61
最近更新 2026-05-11 15:48:49
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add perplexity
Metadata
name
perplexity
description
Search the web with AI-powered answers via Perplexity API. Returns grounded responses with citations. Supports batch queries.
homepage
https://docs.perplexity.ai
metadata
{"clawdbot":{"emoji":"🔮","requires":{"bins":["node"],"env":["PERPLEXITY_API_KEY"]},"primaryEnv":"PERPLEXITY_API_KEY"}}

Perplexity Search

AI-powered web search that returns grounded answers with citations.

Search

Single query:

node {baseDir}/scripts/search.mjs "what's happening in AI today"

Multiple queries (batch):

node {baseDir}/scripts/search.mjs "What is Perplexity?" "Latest AI news" "Best coffee in NYC"

Options

  • --json: Output raw JSON response

Notes

  • Requires PERPLEXITY_API_KEY environment variable
  • Responses include citations when available
  • Batch queries are processed in a single API call