perplexity-hello-world
A quick-start guide to implementing a basic Perplexity Sonar search feature with citation handling in your code.
Install
mkdir -p .claude/skills/perplexity-hello-world && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5379" && unzip -o skill.zip -d .claude/skills/perplexity-hello-world && rm skill.zipInstalls to .claude/skills/perplexity-hello-world
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create a minimal working Perplexity Sonar search example with citations.Key capabilities
- →Perform web-grounded search queries
- →Access and parse citation data from responses
- →Filter search results by domain and recency
- →Implement streaming responses for search
- →Monitor token usage for billing
How it works
The skill demonstrates how to use the OpenAI SDK to interface with the Perplexity API, specifically showing how to extract citation arrays and apply search filters.
Inputs & outputs
When to use perplexity-hello-world
- →Prototyping Perplexity integrations
- →Testing API connectivity
- →Learning to process citation outputs
- →Building search-grounded AI features
About perplexity-hello-world
Provides a clean code snippet for performing web-grounded queries using the Perplexity API. Demonstrates how to access citation data returned by the model.
Create a minimal working Perplexity example. Use when starting a new Perplexity integration, testing your setup, or learning basic Perplexity API patterns. Trigger with phrases like "perplexity hello world", "perplexity example", "perplexity quick start", "simple perplexity code".
When not to use it
- →When the task does not require web-grounded information
- →When the application requires non-OpenAI compatible SDK patterns
Prerequisites
Limitations
- →Citations are only available for web-grounded queries
- →Requires specific model selection for optimal search performance
How it compares
It highlights the specific handling of citation data and search-specific parameters that are unique to the Perplexity API.
Compared to similar skills
perplexity-hello-world side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| perplexity-hello-world (this skill) | 1 | 2mo | Review | Beginner |
| claude-opus-4-5-migration | 9 | 10mo | No flags | Beginner |
| copilot-sdk | 7 | 5mo | Review | Intermediate |
| api-test-generator | 1 | 10mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
claude-opus-4-5-migration
anthropics
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. Use when the user wants to update their codebase, prompts, or API calls to use Opus 4.5. Handles model string updates and prompt adjustments for known Opus 4.5 behavioral differences. Does NOT migrate Haiku 4.5.
copilot-sdk
github
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
api-test-generator
mikopbx
Генерация полных Python pytest тестов для REST API эндпоинтов с валидацией схемы. Использовать при создании тестов для новых эндпоинтов, добавлении покрытия для CRUD операций или валидации соответствия API с OpenAPI схемами.
create-bubble
bubblelabai
Create a new Bubble integration for Bubble Lab following all established patterns and best practices from CREATE_BUBBLE_README.md
exa-sdk-patterns
jeremylongshore
Apply production-ready Exa SDK patterns for TypeScript and Python. Use when implementing Exa integrations, refactoring SDK usage, or establishing team coding standards for Exa. Trigger with phrases like "exa SDK patterns", "exa best practices", "exa code patterns", "idiomatic exa".
generating-api-sdks
jeremylongshore
Generate client SDKs in multiple languages from OpenAPI specifications. Use when generating client libraries for API consumption. Trigger with phrases like "generate SDK", "create client library", or "build API SDK".