New to Claude Skills? Learn how to install them →

davila7 on GitHub

Perplexity Tools

Free

Efficient web search and research with Perplexity AI.

Get this skill

Free · Opens the source repo

What Perplexity Tools does

Perplexity Tools is designed to streamline your web search and research tasks using the capabilities of Perplexity AI. This skill is activated when the user issues commands such as "search," "find," "look up," "ask," or "research." It is particularly useful for generic queries, allowing users to quickly gather information or discover resources without the need for extensive manual searching. However, it is important to note that this skill is not intended for retrieving library or framework documentation, which should be handled by Context7, or for workspace-specific inquiries, which are best served by Nx MCP.

The skill includes two main functionalities: Perplexity Search and Perplexity Ask. Perplexity Search is ideal for obtaining search results and URLs, while Perplexity Ask is tailored for conversational explanations and synthesizing information. Users can easily adjust the parameters for search results to avoid information overload, typically limiting results to three. This ensures that the information provided is concise and relevant, making it easier for users to digest.

For deeper research needs, the skill encourages users to utilize the Researcher agent for multi-source synthesis, especially for complex topics that require citations. This prioritization of tool usage ensures that users are directed to the most appropriate resources for their queries, enhancing the overall efficiency of their research process. In summary, Perplexity Tools is a valuable asset for developers and designers looking for a reliable way to conduct web searches and gather information quickly and effectively.

When to use it

Use Perplexity Tools when you need quick answers or resources for generic queries and want to avoid the clutter of excessive results.

When not to use it

Avoid this skill for library or framework documentation, or when specific workspace questions arise, as those should be directed to other tools like Context7 or Nx MCP.

What you can build with it

Searching for Best Practices

Use Perplexity Search to find the latest best practices in software development or any other field.

Explaining Technical Concepts

Utilize Perplexity Ask to get conversational explanations for technical concepts like database locks or cloud computing.

Finding Tutorials

Employ Perplexity Tools to locate tutorials and blog posts that can help you learn new technologies or frameworks.

How to install Perplexity Tools

View source

1. Install with the skills CLI

npx skills add davila7/claude-code-templates/perplexity --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by davila7

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)

Frequently asked questions about Perplexity Tools

Similar skills