Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering. Use when you need to search for current information, market research, trending topics, or when Brave Search is unavailable. Supports recency filtering (day/week/month/year) and returns structured results with titles, URLs, and snippets.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install perplexity-search-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install perplexity-search-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/perplexity-search-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: perplexity-search description: Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering. Use when you need to search for current information, market research, trending topics, or when Brave Search is unavailable. Supports recency filtering (day/week/month/year) and returns structured results with titles, URLs, and snippets. metadata: openclaw: emoji: 🔍 requires: env: - PERPLEXITY_API_KEY primaryEnv: PERPLEXITY_API_KEY ---
Search the web using Perplexity's Search API for ranked, real-time results.
Basic search:
python3 {baseDir}/scripts/search.py "your search query"
With options:
# Get 10 results
python3 {baseDir}/scripts/search.py "AI trends 2024" --count 10
# Filter by recency
python3 {baseDir}/scripts/search.py "recent AI news" --recency week
# Get raw JSON output
python3 {baseDir}/scripts/search.py "market research" --json
The script requires a PERPLEXITY_API_KEY environment variable.
Option 1: Set in OpenClaw config (recommended)
Add to ~/.openclaw/openclaw.json:
{
"skills": {
"perplexity-search": {
"env": {
"PERPLEXITY_API_KEY": "your-api-key-here"
}
}
}
}
Option 2: Environment variable
export PERPLEXITY_API_KEY="your-api-key-here"
Get your API key from: https://perplexity.ai/account/api
query - Search query string (required)--count N - Number of results (1-10, default: 5)--recency FILTER - Recency filter: day, week, month, or year--json - Output raw JSON instead of formatted resultsThe API returns:
{
"results": [
{
"title": "Article title",
"url": "https://example.com/article",
"snippet": "Brief excerpt from the page...",
"date": "2024-01-15",
"last_updated": "2024-02-01"
}
],
"id": "search-request-id"
}
Market Research:
python3 {baseDir}/scripts/search.py "golf coaching Instagram trends" --count 10
Recent News:
python3 {baseDir}/scripts/search.py "AI regulation updates" --recency week
Competitive Analysis:
python3 {baseDir}/scripts/search.py "AI golf training apps" --count 10
Perplexity Search API: $5 per 1,000 requests
Track your usage at: https://perplexity.ai/account/api
安装 Perplexity Search Skill 后,可以对 AI 说这些话来触发它
Help me get started with Perplexity Search Skill
Explains what Perplexity Search Skill does, walks through the setup, and runs a quick demo based on your current project
Use Perplexity Search Skill to search the web using Perplexity's Search API for ranked, real-time ...
Invokes Perplexity Search Skill with the right parameters and returns the result directly in the conversation
What can I do with Perplexity Search Skill in my data & analytics workflow?
Lists the top use cases for Perplexity Search Skill, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/perplexity-search-skill/ 目录(个人级,所有项目可用),或 .claude/skills/perplexity-search-skill/(项目级)。重启 AI 客户端后,用 /perplexity-search-skill 主动调用,或让 AI 根据上下文自动发现并使用。
Perplexity Search Skill 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Perplexity Search Skill 可免费安装使用。请查阅仓库了解许可证信息。
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering. Use when you need to search for current information, market research, trending topics, or when Brave Search is unavailable. Supports recency filtering (day/week/month/year) and returns structured results with titles, URLs, and snippets.
Automate my data & analytics tasks using Perplexity Search Skill
Identifies repetitive steps in your workflow and sets up Perplexity Search Skill to handle them automatically
Perplexity Search Skill 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。