From perplexity-search
Automatically use Perplexity search for personalized context enrichment. Use when facing unfamiliar technologies, decision points, learning questions, or preference-dependent choices.
npx claudepluginhub designnotdrum/perplexity-search-plugin --plugin perplexity-searchThis skill is limited to using the following tools:
**IMPORTANT**: Before using perplexity tools, ensure the MCP server is built and configured:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
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.