perplexity-search-skill
由 m4vf14 提供
Web & Frontend Development简介
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering.
描述
该技能的功能
Runs web searches via Perplexity's Search API and returns ranked, real-time results with titles, URLs, and snippets. Supports recency filtering by day, week, month, or year. Output can be formatted text or raw JSON.
Unlike static knowledge bases, it returns live web results with publication dates, making it reliable for time-sensitive queries.
何时使用
- Finding recent news on a specific topic
- Researching competitors in a market
- Tracking trending topics from the past week
- Gathering structured web data for a report
- Searching for current pricing or product info
示例工作流
User asks: find recent news about AI regulation from the past week
- 1
Calls search.py with query 'AI regulation updates' and --recency week
- 2
Perplexity API returns ranked results with titles, URLs, snippets, and dates
- 3
Agent parses the JSON response
- 4
Agent formats and presents the top results to the user
A ranked list of recent articles on AI regulation with titles, URLs, and excerpts
前置要求
- PERPLEXITY_API_KEY environment variable (obtain at https://perplexity.ai/account/api)
- Perplexity API account (paid usage at $5 per 1,000 requests)
安装
clawhub install m4vf14/perplexity-search-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。