Perplexity
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.
$ npx claude-code-templates@latest --skill="ai-research/perplexity" --yesRequires Claude Code. The command adds this skill to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this skill
Component source
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>)
- Library/framework docs → Context7 MCP
- Graphite
gtCLI → 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..."
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
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:- Context7 MCP - Library/framework docs
- Graphite MCP - Any
gtCLI mention - Nx MCP - THIS workspace questions
- Perplexity Search - Generic searches
- Perplexity Ask - Conversational answers
- Researcher agent - Deep multi-source research
- 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"
- "Explain how postgres advisory locks work"
- "What are the trade-offs of microservices?"
- "Search for React hooks documentation" → Context7 MCP
- "Find Next.js routing docs" → Context7 MCP
- "Look up Temporal workflow API" → Context7 MCP
- "Search for gt stack commands" → Graphite MCP
- "Find gt branch workflow" → Graphite MCP
- "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)
Related Claude Code Skills
Agents Langchain
Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG applications. Best for rapid prototyping and production deployments.
Claude Code Guide
Master guide for using Claude Code effectively. Includes configuration templates, prompting strategies "Thinking" keywords, debugging techniques, and best practices for interacting with the agent.
Agent Memory Systems
"Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them. Key insight: Memory isn't just storage - it's retrieval. A million stored facts mean nothing if you can't find the right one. Chunking, embedding, and retrieval strategies determine whether your agent remembers or forgets. The field is fragm"
Ai Agents Architect
"Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling."
Prompt Engineering
Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or debug agent behavior.
Context7 Auto Research
Automatically fetch latest library/framework documentation for Claude Code via Context7 API
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.