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 — любой кодинг-агент, которым пользуетесь.