perplexity-search-skill
bởi m4vf14
Web & Frontend DevelopmentTóm tắt
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- PERPLEXITY_API_KEY environment variable (obtain at https://perplexity.ai/account/api)
- Perplexity API account (paid usage at $5 per 1,000 requests)
Cài đặt
clawhub install m4vf14/perplexity-search-skillChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.