perplexity

GitHub

提供基于 Perplexity AI 的通用网络搜索、信息查询及深度研究能力,用于获取最新资讯、资源链接或概念解释。

skills/perplexity/SKILL.md softaworks/agent-toolkit

Trigger Scenarios

用户询问最新信息 需要查找通用资料或教程 要求搜索特定主题

Install

npx skills add softaworks/agent-toolkit --skill perplexity -g -y
More Options

Use without installing

npx skills use softaworks/agent-toolkit@perplexity

指定 Agent (Claude Code)

npx skills add softaworks/agent-toolkit --skill perplexity -a claude-code -g -y

安装 repo 全部 skill

npx skills add softaworks/agent-toolkit --all -g -y

预览 repo 内 skill

npx skills add softaworks/agent-toolkit --list

SKILL.md

Frontmatter
{
    "name": "perplexity",
    "description": "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."
}

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):

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
// 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:

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)

Version History

  • 3027f20 Current 2026-08-20 07:06

Same Skill Collection

skills/agent-md-refactor/SKILL.md
skills/backend-to-frontend-handoff-docs/SKILL.md
skills/c4-architecture/SKILL.md
skills/codex/SKILL.md
skills/command-creator/SKILL.md
skills/commit-work/SKILL.md
skills/crafting-effective-readmes/SKILL.md
skills/daily-meeting-update/SKILL.md
skills/database-schema-designer/SKILL.md
skills/datadog-cli/SKILL.md
skills/dependency-updater/SKILL.md
skills/design-system-starter/SKILL.md
skills/difficult-workplace-conversations/SKILL.md
skills/domain-name-brainstormer/SKILL.md
skills/draw-io/SKILL.md
skills/excalidraw/SKILL.md
skills/feedback-mastery/SKILL.md
skills/frontend-to-backend-requirements/SKILL.md
skills/game-changing-features/SKILL.md
skills/gemini/SKILL.md
skills/gepetto/SKILL.md
skills/jira/SKILL.md
skills/lesson-learned/SKILL.md
skills/marp-slide/SKILL.md
skills/meme-factory/SKILL.md
skills/mui/SKILL.md
skills/naming-analyzer/SKILL.md
skills/openapi-to-typescript/SKILL.md
skills/plugin-forge/SKILL.md
skills/professional-communication/SKILL.md
skills/qa-test-planner/SKILL.md
skills/react-dev/SKILL.md
skills/react-useeffect/SKILL.md
skills/reducing-entropy/SKILL.md
skills/requirements-clarity/SKILL.md
skills/ship-learn-next/SKILL.md
skills/skill-judge/SKILL.md
skills/web-to-markdown/SKILL.md
skills/writing-clearly-and-concisely/SKILL.md
skills/humanizer/SKILL.md
skills/mermaid-diagrams/SKILL.md
skills/session-handoff/SKILL.md

Metadata

Files
0
Version
3027f20
Hash
e7c8c405
Indexed
2026-08-20 07:06

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 05:14
浙ICP备14020137号-1 $방문자$