perplexity-search-skill
von m4vf14
Web & Frontend DevelopmentKurzbeschreibung
Search the web using Perplexity's Search API for ranked, real-time web results with advanced filtering.
Beschreibung
Was dieser Skill macht
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.
Wann du ihn einsetzt
- 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
Beispiel-Workflow
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
Voraussetzungen
- PERPLEXITY_API_KEY environment variable (obtain at https://perplexity.ai/account/api)
- Perplexity API account (paid usage at $5 per 1,000 requests)
Installation
clawhub install m4vf14/perplexity-search-skillFühre den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.