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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.