360 Secure SkillHub
360 安全技能中心

openrouter-perplexity

该 Skill 通过 Node 脚本调用 OpenRouter 上的 Perplexity 模型执行联网搜索,支持单条与批量查询,返回带引用的答案,可用 --json 输出原始 JSON 响应;运行需配置 OPENROUTER_API_KEY 环境变量。

分类:搜索
mrnicholasbcarter-code
mrnicholasbcarter-code
热度 48.87
最近更新 2026-05-11 17:25:42

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mrnicholasbcarter-code/openrouter-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://openrouter.ai/
metadata
{"clawdbot":{"emoji":"🔮","requires":{"bins":["node"],"env":["OPENROUTER_API_KEY"]},"primaryEnv":"OPENROUTER_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 OPENROUTER_API_KEY environment variable
  • Responses include citations when available
  • Batch queries are processed in a single API call