perplexity
Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with citations.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- perplexity
- homepage
- https://docs.perplexity.ai
- metadata
- { "clawdbot": { "emoji": "?", "requires": { "bins": [ "curl", "jq" ] }, "primaryEnv": "PERPLEXITY_API_KEY" } }
- description
- Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with citations.
02 资源文件 2
- 参考文档_meta.json300 B
- 脚本scripts/search.sh3.1 KB
03 SKILL.md 正文
Perplexity Deep Search
AI-powered web search with three modes for different depth levels.
Quick Start
# Quick search (sonar) - facts, summaries, current events
{baseDir}/scripts/search.sh "latest AI news"
# Reasoning (sonar-reasoning-pro) - complex analysis, multi-step
{baseDir}/scripts/search.sh --mode reason "compare React vs Vue for enterprise apps"
# Deep Research (sonar-deep-research) - full reports, exhaustive analysis
{baseDir}/scripts/search.sh --mode research "market analysis of AI in healthcare 2025"
Modes
| Mode | Model | Best For | Cost |
|---|---|---|---|
search (default) |
sonar-pro |
Quick facts, summaries, current events | Low |
reason |
sonar-reasoning-pro |
Complex analysis, comparisons, problem-solving | Medium |
research |
sonar-deep-research |
In-depth reports, market analysis, literature reviews | High |
Options
| Flag | Description | Default |
|---|---|---|
--mode |
search, reason, research |
search |
--recency |
hour, day, week, month |
— |
--domains |
Comma-separated domain filter | — |
--lang |
Language code (pt, en, es, etc.) |
— |
--json |
Raw JSON output | off |
Examples
# Search with recency filter
{baseDir}/scripts/search.sh --recency week "OpenAI latest announcements"
# Search restricted to specific domains
{baseDir}/scripts/search.sh --domains "arxiv.org,nature.com" "transformer architecture advances"
# Search in Portuguese
{baseDir}/scripts/search.sh --lang pt "inteligência artificial no Brasil"
# Deep research with JSON output
{baseDir}/scripts/search.sh --mode research --json "enterprise AI adoption trends"
API Key
Set PERPLEXITY_API_KEY env var:
export PERPLEXITY_API_KEY="pplx-..."
Pricing Reference
- Search (sonar-pro): ~$0.01/query
- Reasoning (sonar-reasoning-pro): ~$0.02/query
- Deep Research (sonar-deep-research): ~$0.40/query (uses many searches + reasoning)
Use search for everyday queries. Reserve research for when you truly need exhaustive analysis.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.