AI-powered web search with real-time information and source citations via Perplexity models.
Works with
Access five Perplexity models through a single OpenRouter API key, ranging from cost-effective Sonar to advanced Sonar Pro Search for complex multi-step analysis
Ideal for finding current information beyond model knowledge cutoff, recent scientific literature, clinical trials, and domain-specific research with peer-reviewed sources
Includes comprehensive query design guidance covering specifi
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionperplexity-searchExecute the skills CLI command in your project's root directory to begin installation:
Fetches perplexity-search from davila7/claude-code-templates and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate perplexity-search. Access via /perplexity-search in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
24.2K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
24.2K
stars
Perform AI-powered web searches using Perplexity models through LiteLLM and OpenRouter. Perplexity provides real-time, web-grounded answers with source citations, making it ideal for finding current information, recent scientific literature, and facts beyond the model's training data cutoff.
This skill provides access to all Perplexity models through OpenRouter, requiring only a single API key (no separate Perplexity account needed).
Use this skill when:
Do not use for:
Get OpenRouter API key:
Configure environment:
# Set API key
export OPENROUTER_API_KEY='sk-or-v1-your-key-here'
# Or use setup script
python scripts/setup_env.py --api-key sk-or-v1-your-key-here
Install dependencies:
uv pip install litellm
Verify setup:
python scripts/perplexity_search.py --check-setup
See references/openrouter_setup.md for detailed setup instructions, troubleshooting, and security best practices.
Simple search:
python scripts/perplexity_search.py "What are the latest developments in CRISPR gene editing?"
Save results:
python scripts/perplexity_search.py "Recent CAR-T therapy clinical trials" --output results.json
Use specific model:
python scripts/perplexity_search.py "Compare mRNA and viral vector vaccines" --model sonar-pro-search
Verbose output:
python scripts/perplexity_search.py "Quantum computing for drug discovery" --verbose
Access models via --model parameter:
Model selection guide:
sonar-prosonar-pro-searchsonar-reasoning-prosonarsonarSee references/model_comparison.md for detailed comparison, use cases, pricing, and performance characteristics.
Good examples:
Bad examples:
Perplexity searches real-time web data:
For high-quality results, mention source preferences:
Break complex questions into clear components:
Example: "What improvements does AlphaFold3 offer over AlphaFold2 for protein structure prediction, according to research published between 2023 and 2024? Include specific accuracy metrics and benchmarks."
See references/search_strategies.md for comprehensive guidance on query design, domain-specific patterns, and advanced techniques.
python scripts/perplexity_search.py \
"What does recent research (2023-2024) say about the role of gut microbiome in Parkinson's disease? Focus on peer-reviewed studies and include specific bacterial species identified." \
--model sonar-pro
python scripts/perplexity_search.py \
"How to implement real-time data streaming from Kafka to PostgreSQL using Python? Include considerations for handling backpressure and ensuring exactly-once semantics." \
--model sonar-reasoning-pro
python scripts/perplexity_search.py \
"Compare PyTorch versus TensorFlow for implementing transformer models in terms of ease of use, performance, and ecosystem support. Include benchmarks from recent studies." \
--model sonar-pro-search
python scripts/perplexity_search.py \
"What is the evidence for intermittent fasting in managing type 2 diabetes in adults? Focus on randomized controlled trials and report HbA1c changes and weight loss outcomes." \
--model sonar-pro
python scripts/perplexity_search.py \
"What are the key trends in single-cell RNA sequencing technology over the past 5 years? Highlight improvements in throughput, cost, and resolution, with specific examples." \
--model sonar-pro
Use perplexity_search.py as a module:
from scripts.perplexity_search import search_with_perplexity
result = search_with_perplexity(
query="What are the latest CRISPR developments?",
model="openrouter/perplexity/sonar-pro",
max_tokens=4000,
temperature=0.2,
verbose=False
)
if result["success"]:
print(result["answer"])
print(f"Tokens used: {result['usage']['total_tokens']}")
else:
print(f"Error: {result['error']}")
# Save to JSON
python scripts/perplexity_search.py "query" --output results.json
# Process with jq
cat results.json | jq '.answer'
cat results.json | jq '.usage'
Create a script for multiple queries:
#!/bin/bash
queries=(
"CRISPR developments 2024"
"mRNA vaccine technology advances"
"AlphaFold3 accuracy improvements"
)
for query in "${queries[@]}"; do
echo "Searching: $query"
python scripts/perplexity_search.py "$query" --output "results_$(echo $query | tr ' ' '_').json"
sleep 2 # Rate limiting
done
Perplexity models have different pricing tiers:
Approximate costs per query:
Cost optimization strategies:
sonar for simple fact lookupssonar-pro for most queriessonar-pro-search for complex analysis--max-tokens to limit response lengthError: "OpenRouter API key not configured"
Solution:
export OPENROUTER_API_KEY='sk-or-v1-your-key-here'
# Or run setup script
python scripts/setup_env.py --api-key sk-or-v1-your-key-here
Error: "LiteLLM not installed"
Solution:
uv pip install litellm
Error: "Rate limit exceeded"
Solutions:
Error: "Insufficient credits"
Solution:
See references/openrouter_setup.md for comprehensive troubleshooting guide.
This skill complements other scientific skills:
Use with literature-review skill:
Use with scientific-writing skill:
Use with hypothesis-generation skill:
Use with scientific-critical-thinking skill:
--max-tokens to control costsScripts:
scripts/perplexity_search.py: Main search script with CLI interfacescripts/setup_env.py: Environment setup and validation helperReferences:
references/search_strategies.md: Comprehensive query design guidereferences/model_comparison.md: Detailed model comparison and selection guidereferences/openrouter_setup.md: Complete setup, troubleshooting, and security guideAssets:
assets/.env.example: Example environment file templateOpenRouter:
LiteLLM:
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
davila7/claude-code-templates
kostja94/marketing-skills
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
perplexity-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
perplexity-search fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
perplexity-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
perplexity-search fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Solid pick for teams standardizing on skills: perplexity-search is focused, and the summary matches what you get after install.
perplexity-search has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for perplexity-search matched our evaluation — installs cleanly and behaves as described in the markdown.
perplexity-search fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
perplexity-search reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: perplexity-search is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 30