Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Improved API key security: The Authorization header is now provided to curl via a temporary config file (`curl -K`, mode 600), further preventing exposure in process listings. - Clarified security notes to reflect the updated key handling method, emphasizing additional protection of API secrets. - No code or file changes; documentation update only.
What This Skill Does
Wraps the Perplexity API in a security-hardened bash script that adds web-grounded search to AI agents. Fixes command injection, API key leakage, and denial-of-wallet vulnerabilities found in the original perplexity-bash skill. Supports multiple Perplexity models with configurable search depth and output formats.
Unlike built-in web search, Perplexity returns synthesized answers with inline source citations and supports multi-step reasoning models for complex research queries.
When to use it
- Looking up current stock prices or market news
- Finding recent research papers or academic developments
- Getting cited sources for a factual claim
- Checking today's weather or live event results
- Researching competitor product announcements
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What are the latest GPU benchmarks for AI training?
- 1Selects sonar-reasoning model for multi-step technical comparison
- 2Sets context size to high for comprehensive source coverage
- 3Calls perplexity_search.sh with markdown format flag
- 4Receives ranked benchmark data with citations from recent sources
- 5Returns formatted answer with linked references
Markdown-formatted benchmark comparison with citations to recent articles and official vendor data
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.