Perplexity

作者 softaworks3027f20f3181无许可证2.5K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7个月前更新

Web search and research using Perplexity AI. Use when user says "search", "find", "look up", "ask", "research", or "what's the latest" for generic queries. NOT for library/framework docs (use Context7) or workspace questions.

AI 生成的概览

将通用网络搜索与研究查询路由到 Perplexity 工具,并规定何时改用其他 MCP 工具。

功能
该技能是一份仅含说明的指南,用于在用户要求搜索、查找、查询、提问、研究或获取最新信息时,在 Perplexity 的搜索与问答工具之间做出选择。它给出了 Perplexity Search 的默认参数、Perplexity Ask 的对话式回答用法,以及一条优先级链,将库文档、Graphite CLI 和工作区问题导向其他 MCP 工具。它还将 Perplexity 研究工具标记为禁用,并把深度多来源研究指向 researcher agent。
适用场景
当用户提出通用搜索或研究请求,且不涉及库或框架文档、Graphite gt CLI 或当前工作区时使用。它旨在限制搜索结果数量,并将专门查询路由到合适的 MCP 工具。
运行要求
需要 Perplexity MCP 工具(perplexity_search 和 perplexity_ask);其引用的替代方案还需要 Context7 MCP、Graphite MCP、Nx MCP、URL 爬虫、researcher agent 和 WebSearch。该技能不附带脚本,仅为说明。

Perplexity Tools

Use ONLY when user says "search", "find", "look up", "ask", "research", or "what's the latest" for generic queries. NOT for library/framework docs (use Context7), gt CLI (use Graphite MCP), or workspace questions (use Nx MCP).

Quick Reference

Which Perplexity tool?

  • Need search results/URLs? → Perplexity Search
  • Need conversational answer? → Perplexity Ask
  • Need deep research? → Researcher agent (/research <topic>)

NOT Perplexity - use these instead:

  • Library/framework docs → Context7 MCP
  • Graphite gt CLI → Graphite MCP
  • THIS workspace → Nx MCP
  • Specific URL → URL Crawler

Perplexity Search

When to use:

  • Generic searches, finding resources
  • Current best practices, recent information
  • Tutorial/blog post discovery
  • User says "search for...", "find...", "look up..."

Default parameters (ALWAYS USE):

typescript
mcp__perplexity__perplexity_search({  query: "your search query",  max_results: 3,           // Default is 10 - too many!  max_tokens_per_page: 512  // Reduce per-result content})

When to increase limits: Only if:

  • User explicitly needs comprehensive results
  • Initial search found nothing useful
  • Complex topic needs multiple sources
typescript
// Increased limits (use sparingly)mcp__perplexity__perplexity_search({  query: "complex topic",  max_results: 5,  max_tokens_per_page: 1024})

Perplexity Ask

When to use:

  • Need conversational explanation, not search results
  • Synthesize information from web
  • Explain concepts with current context

Usage:

typescript
mcp__perplexity__perplexity_ask({  messages: [    {      role: "user",      content: "Explain how postgres advisory locks work"    }  ]})

NOT for:

  • Library documentation (use Context7)
  • Deep multi-source research (use researcher agent)

Prohibited Tool

NEVER use: mcp__perplexity__perplexity_research

Use instead: Researcher agent (/research <topic>)

  • Token cost: 30-50k tokens
  • Provides multi-source synthesis with citations
  • Use sparingly for complex questions only

Tool Selection Chain

Priority order:

  1. Context7 MCP - Library/framework docs
  2. Graphite MCP - Any gt CLI mention
  3. Nx MCP - THIS workspace questions
  4. Perplexity Search - Generic searches
  5. Perplexity Ask - Conversational answers
  6. Researcher agent - Deep multi-source research
  7. WebSearch - Last resort (after Perplexity exhausted)

Examples

✅ CORRECT - Use Perplexity Search:

  • "Find postgres migration best practices"
  • "Search for React testing tutorials"
  • "Look up latest trends in microservices"

✅ CORRECT - Use Perplexity Ask:

  • "Explain how postgres advisory locks work"
  • "What are the trade-offs of microservices?"

❌ WRONG - Use Context7 instead:

  • "Search for React hooks documentation" → Context7 MCP
  • "Find Next.js routing docs" → Context7 MCP
  • "Look up Temporal workflow API" → Context7 MCP

❌ WRONG - Use Graphite MCP instead:

  • "Search for gt stack commands" → Graphite MCP
  • "Find gt branch workflow" → Graphite MCP

❌ WRONG - Use Nx MCP instead:

  • "Search for build config" (in THIS workspace) → Nx MCP
  • "Find project dependencies" (in THIS workspace) → Nx MCP

Key Points

  • Default to limited results - avoid context bloat
  • Library docs = Context7 - ALWAYS try Context7 first
  • "gt" = Graphite MCP - ANY "gt" mention uses Graphite
  • Deep research = /research - NOT perplexity_research tool
  • Fallback chain - Search → Ask → WebSearch (last resort)

来源与署名

来源:softaworks/agent-toolkit位于skills/perplexity提交3027f20

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架