perplexity by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill perplexity仅当用户针对通用查询提到“搜索”、“查找”、“查询”、“提问”、“研究”或“最新动态”时使用。不适用于库/框架文档(使用 Context7)、gt CLI(使用 Graphite MCP)或工作区问题(使用 Nx MCP)。
使用哪个 Perplexity 工具?
/research <主题>)非 Perplexity 场景 - 请改用以下工具:
gt CLI → Graphite MCP使用时机:
默认参数(务必使用):
mcp__perplexity__perplexity_search({
query: "你的搜索查询",
max_results: 3, // 默认是 10 - 太多了!
max_tokens_per_page: 512 // 减少每个结果的内容量
})
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
何时增加限制: 仅在以下情况:
用户明确需要全面的结果
初始搜索未找到有用信息
复杂主题需要多个来源
// 增加限制(谨慎使用) mcp__perplexity__perplexity_search({ query: "复杂主题", max_results: 5, max_tokens_per_page: 1024 })
使用时机:
用法:
mcp__perplexity__perplexity_ask({
messages: [
{
role: "user",
content: "解释 postgres 咨询锁的工作原理"
}
]
})
不适用于:
切勿使用: mcp__perplexity__perplexity_research
请改用: 研究代理 (/research <主题>)
优先级顺序:
gt CLI 的情况✅ 正确 - 使用 Perplexity Search:
✅ 正确 - 使用 Perplexity Ask:
❌ 错误 - 请改用 Context7:
❌ 错误 - 请改用 Graphite MCP:
❌ 错误 - 请改用 Nx MCP:
每周安装数
166
代码仓库
GitHub 星标数
22.6K
首次出现
2026年1月25日
安全审计
安装于
opencode141
gemini-cli129
codex126
claude-code125
github-copilot123
cursor121
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).
Which Perplexity tool?
/research <topic>)NOT Perplexity - use these instead:
gt CLI → Graphite MCPWhen to use:
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 })
When to use:
Usage:
mcp__perplexity__perplexity_ask({
messages: [
{
role: "user",
content: "Explain how postgres advisory locks work"
}
]
})
NOT for:
NEVER use: mcp__perplexity__perplexity_research
Use instead: Researcher agent (/research <topic>)
Priority order:
gt CLI mention✅ CORRECT - Use Perplexity Search:
✅ CORRECT - Use Perplexity Ask:
❌ WRONG - Use Context7 instead:
❌ WRONG - Use Graphite MCP instead:
❌ WRONG - Use Nx MCP instead:
Weekly Installs
166
Repository
GitHub Stars
22.6K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode141
gemini-cli129
codex126
claude-code125
github-copilot123
cursor121
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
111,800 周安装