From perplexity-search
Automatically use Perplexity search for personalized context enrichment. Use when facing unfamiliar technologies, decision points, learning questions, or preference-dependent choices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/perplexity-search:using-perplexity-for-contextThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**IMPORTANT**: Before using perplexity tools, ensure the MCP server is built and configured:
IMPORTANT: Before using perplexity tools, ensure the MCP server is built and configured:
# Check if built
ls ~/.claude/plugins/cache/brain-jar/perplexity-search/*/dist/index.js 2>/dev/null || echo "NOT_BUILT"
If NOT_BUILT, run the setup:
node ~/.claude/plugins/cache/brain-jar/perplexity-search/*/run.js &
sleep 10
Then check for API key config:
cat ~/.claude/perplexity-search/config.json 2>/dev/null || echo "NOT_CONFIGURED"
If NOT_CONFIGURED, create the config (ask user for their Perplexity API key first):
mkdir -p ~/.claude/perplexity-search
echo '{"apiKey": "USER_API_KEY_HERE", "defaultMaxResults": 5}' > ~/.claude/perplexity-search/config.json
After setup, user must restart Claude Code for MCP to register.
Automatically invoke the perplexity_search tool in these situations:
When any trigger condition is met:
perplexity_search tool with the queryDo NOT announce usage unless user explicitly asks.
For better token efficiency, dispatch a Haiku subagent to run the search:
Use Task tool:
Return results in this format:
TL;DR: [1-2 sentence summary of the key finding]
Full Results: [Complete Perplexity response with all citations]
Keep the full response - don't over-summarize. The TL;DR is for quick scanning, but the full context is valuable for serendipitous discoveries."
Why use subagent:
When to skip subagent:
Example output:
**TL;DR:** React Server Components render on the server and stream HTML to the client,
reducing bundle size and improving initial load time.
**Full Results:**
React Server Components (RSC) are a new paradigm for building React applications...
[full Perplexity response with citations]
User: "What's the best way to handle state in React?"
[Trigger: Preference-dependent choice]
[Invoke: perplexity_search with query enriched by user profile]
[Profile context: "I prefer TypeScript, I'm learning React, I work on B2B SaaS apps"]
[Results: Personalized recommendations based on user's context]
[Response: Integrated answer with citations]
The tool automatically:
~/.config/brain-jar/user-profile.json (shared with shared-memory plugin)Note: The profile is now shared across all brain-jar plugins. Use the shared-memory plugin's
learning-about-you skill for comprehensive profile management and onboarding.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub designnotdrum/perplexity-search-plugin --plugin perplexity-search