agentleFS
bordenetbordenet/superpowers-plus/skills/research/perplexity-research/skill.md

perplexity-research

Skill8 starsChanged 6 months agoMITView on GitHub

Invoke when stuck (2+ failed attempts, uncertainty, or guessing) OR manually to research technical/domain questions via Perplexity MCP. ALWAYS announce invocation and track stats.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never use Perplexity for: simple lookups, URL checks, basic fact-checking, reading docs.

    line 55
  2. Distinctive:

    After attempting to apply the Perplexity response, explicitly evaluate:

    line 75
  3. Distinctive:

    Tool used: ask, search, or reason

    line 97
  4. Distinctive:

    FREE FIRST: - Always try web-search and web-fetch before Perplexity

    line 125
  5. Very specific:

    Default order: think-twice (free, reasoning) → perplexity-research (paid, knowledge).

    line 135
  6. Distinctive:

    think-twice: When stuck — Perplexity is an escalation target

    line 147

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Perplexity Research

Purpose: Get unstuck by dispatching research queries to Perplexity AI Trigger: Automatic (2+ failures, uncertainty) OR manual invocation Cost: Perplexity API calls are paid — use judiciously

When to Invoke (Automatic Triggers)

You MUST invoke this skill when ANY of these conditions are met:

TriggerDescription
2+ Failed AttemptsSame operation failed twice with different approaches
Uncertainty/GuessingYou're unsure and would otherwise guess at an answer
Cutting CornersAbout to do something that violates AGENTS.md guidance
Hallucination RiskMaking claims about APIs, libraries, or facts you're not certain about
Outdated KnowledgeQuestion involves tools/frameworks potentially released after training
Unknown ErrorsEncountering error messages you can't interpret

Personal preference matters? → Ask the user instead Broader/extrinsic research needed? → Invoke this skill

Invocation Protocol

User can force invocation with: "Use Perplexity to research X", "Get unstuck on X", "Research X via Perplexity".

Step 0: Try Free Tools First (MANDATORY)

<EXTREMELY_IMPORTANT> Try web-search + web-fetch first. Only escalate if ≥50% worse than expected. State: "web-search returned [X]. Insufficient because [reason]. Escalating." Never use Perplexity for: simple lookups, URL checks, basic fact-checking, reading docs. </EXTREMELY_IMPORTANT>

Step 1: Announce + Prompt

Announce: research topic, trigger, free tools tried, why escalating. Prompt: context + specific question + constraints + what you've tried + web-search results.

Step 2: Dispatch

Quick factperplexity_search_perplexityDeep researchperplexity_research_perplexity
How-toperplexity_ask_perplexityComplex reasoningperplexity_reason_perplexity

Step 3: Apply + Evaluate

Report findings → apply (run command/implement fix/test) → evaluate BEFORE recording stats.

Step 6: Evaluate Helpfulness (CRITICAL)

After attempting to apply the Perplexity response, explicitly evaluate:

📊 **Perplexity Evaluation**:
- Applied: [what you tried]
- Outcome: [SUCCESS | PARTIAL | FAILURE]
- Reason: [why it helped or didn't help]

Evaluation criteria:

OutcomeCriteriaRecord As
SUCCESSProblem solved, unblocked, or gained actionable insightsuccessful: true
PARTIALSome useful info but needed additional worksuccessful: true
FAILUREInformation was wrong, irrelevant, or didn't helpsuccessful: false

Step 7: Record Outcome (After Evaluation)

ONLY after Step 6, log the research outcome for future reference:

  • Trigger: What caused the research (failed_attempts, uncertainty, etc.)
  • Tool used: ask, search, or reason
  • Query summary: Brief description
  • Outcome: SUCCESS, PARTIAL, or FAILURE
  • Reason: Why it helped or didn't

Record outcomes in conversation context or TODO notes — this helps calibrate when Perplexity is worth the cost.

The evaluation loop:

  1. Receive Perplexity response → Report (Step 4)
  2. Apply the information → Act (Step 5)
  3. Evaluate outcome → Judge (Step 6)
  4. Record outcome → Track (Step 7)
FailureFix
Using Perplexity when web-search would suffice — cost wasteAlways complete Step 0 (free tools first) and state what they returned
Treating Perplexity response as authoritative without cross-verificationPerplexity can hallucinate too — verify key claims against primary sources
Not recording outcome, preventing future calibrationAlways complete Step 7 (record outcome) even when the answer was unhelpful
Prompt too vague — getting generic responseInclude context, constraints, what you tried, and what web-search found

Cost Efficiency

⚠️ Perplexity API calls cost real money. Always try free tools first (Step 0). See references/cost-reference.md for high/low-value use cases, efficiency tactics, and the full cost-conscious decision framework.

Key Principles

  1. FREE FIRST - Always try web-search and web-fetch before Perplexity
  2. ALWAYS announce - User must know when Perplexity is being consulted
  3. Justify escalation - State what web-search found and why it's insufficient
  4. Track everything - Stats enable tuning and improvement
  5. Rich prompts - Better prompts = better results
  6. Low threshold - 2 failures is enough; don't struggle unnecessarily
  7. Cost awareness - Perplexity costs real money; use only when free tools fail

"I'm Stuck" Escalation Path

Default order: think-twice (free, reasoning) → perplexity-research (paid, knowledge). See references/escalation.md for the full decision tree.

References

  • references/cost-reference.md — High/low-value use cases, efficiency tactics, cost-conscious decision framework
  • references/escalation.md — "I'm stuck" decision tree for think-twice vs perplexity-research

Companion Skills

  • expert-interviewer: For structured domain expert interviews
  • incorporating-research: Merging Perplexity findings into docs
  • think-twice: When stuck — Perplexity is an escalation target

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.