From sundial-org-awesome-openclaw-skills-4
Uses Perplexity API for web-grounded AI search and research with citations. Activates for up-to-date info, multi-step reasoning, exhaustive analysis, current events, or when Perplexity is mentioned.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4This skill uses the workspace's default tool permissions.
This skill provides access to the Perplexity API for web-grounded AI search and research. It combines the power of large language models with real-time web search, providing accurate, up-to-date answers with source citations.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
This skill provides access to the Perplexity API for web-grounded AI search and research. It combines the power of large language models with real-time web search, providing accurate, up-to-date answers with source citations.
Use Perplexity when:
Use built-in web search when:
Choose the right model based on task complexity:
Use for simple, factual queries where speed matters.
sonar - Default search model with web access. Best for most queries.sonar-pro - Advanced search with deeper understanding.Use for complex, multi-step tasks requiring logical thinking.
sonar-reasoning - Complex reasoning with web search.sonar-reasoning-pro - Advanced reasoning with deeper content understanding.Use for comprehensive, in-depth research across multiple sources.
sonar-research - Comprehensive research with in-depth analysis.sonar-research-pro - Advanced research with exhaustive analysis and detailed reports.# Simple query (uses sonar by default)
scripts/perplexity_search.sh "What is the capital of Germany?"
# With custom model
scripts/perplexity_search.sh "Latest AI developments" -m sonar-pro
# Markdown format with citations
scripts/perplexity_search.sh "Tesla stock analysis" -f markdown
# Deep research with comprehensive analysis
scripts/perplexity_search.sh "Market analysis for electric vehicles in 2025" \
-m sonar-research-pro -c high -f markdown
# Pro search mode (multi-step reasoning)
scripts/perplexity_search.sh "Compare AI models performance benchmarks" \
-m sonar-reasoning-pro -p pro -f markdown
# With custom system prompt
scripts/perplexity_search.sh "Analyze tech trends" \
-s "You are a technology analyst. Focus on business implications and market trends."
Control how much web information is retrieved:
Available for sonar-pro and reasoning models. Controls multi-step tool usage:
The skill requires Perplexity API key via environment variable:
export PERPLEXITY_API_KEY="your-key-here"
To set it permanently (add to ~/.bashrc or ~/.zshrc):
echo 'export PERPLEXITY_API_KEY="your-key-here"' >> ~/.bashrc
source ~/.bashrc
Note: Do not store API key in Clawdbot config. The skill only reads from environment variable to avoid config conflicts.
The script uses bash and curl. Both are typically pre-installed on Linux systems.
scripts/perplexity_search.sh "Latest news about AI regulation in Europe" -m sonar
scripts/perplexity_search.sh "Compare iPhone 15 vs Samsung Galaxy S24 features" \
-m sonar-reasoning-pro -c high -f markdown
scripts/perplexity_search.sh "Electric vehicle market forecast 2025-2030" \
-m sonar-research-pro -c high -p pro -f markdown
scripts/perplexity_search.sh "Latest Python frameworks for web development 2025" \
-m sonar-reasoning -c medium
Perplexity API is not free. Be mindful of usage costs:
Use reasoning/research models judiciously. Default to sonar for most queries.
scripts/perplexity_search.sh --list-models
Error: PERPLEXITY_API_KEY environment variable not set
Error: curl command not found
apt install curl or equivalent for your systemError: Unexpected API response
Note: This skill uses external API calls. Be mindful of rate limits and costs. The API key should never be committed to version control or shared publicly.