perplexity-safe
haru3613 作
Web & Frontend Development概要
Use Perplexity API for web-grounded AI search.
説明
このスキルでできること
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.
使いどころ
- 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
ワークフロー例
User asks: What are the latest GPU benchmarks for AI training?
- 1
Selects sonar-reasoning model for multi-step technical comparison
- 2
Sets context size to high for comprehensive source coverage
- 3
Calls perplexity_search.sh with markdown format flag
- 4
Receives ranked benchmark data with citations from recent sources
- 5
Returns formatted answer with linked references
Markdown-formatted benchmark comparison with citations to recent articles and official vendor data
要件
- Perplexity API key (PERPLEXITY_API_KEY environment variable or config.json)
インストール
clawhub install haru3613/perplexity-safeCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。