AgentSkillsCN

perplexity-routing

Perplexity 工具选型指南——在启动任何 Perplexity 代理前,务必先查阅此指南。

SKILL.md
--- frontmatter
name: perplexity-routing
description: Routing guide for selecting the correct Perplexity tool. Reference before spawning any Perplexity agent.

Perplexity Tool Selection

Fundamental Distinction

Search API (perplexity-search) = Raw results, NO LLM processing Sonar Models (ask/reason/research/sec) = LLM-synthesized answers with citations

Tool Overview

ToolModelOutputKey Strength
searchSearch APIRaw JSON: {title, URL, snippet, date}See actual sources, no interpretation
asksonar-pro (200K ctx, F=0.858)Synthesized answer + citationsBest factuality for single facts
reasonsonar-reasoning-pro (DeepSeek-R1)Step-by-step analysis + citationsChain-of-thought for "why"
researchsonar-deep-researchStructured report + citations10-20+ sources synthesized
secPython + search_mode='sec'Synthesized answer from filingsSEC EDGAR only

Decision Tree

code
├─ Need raw URLs/sources to process yourself?
│  └─ search (ONLY tool with no LLM - see actual articles)
│
├─ Need official SEC filing content?
│  └─ sec (ONLY tool limited to EDGAR: 10-K, 10-Q, 8-K, S-1)
│
├─ Simple fact? "What is...", "When is...", "How much..."
│  Examples: consensus EPS, stock price, earnings date, revenue guidance
│  └─ ask (fastest synthesized, best factuality)
│
├─ Reasoning? "Why did...", "Compare...", "What caused..."
│  Examples: why stock fell despite beat, AAPL vs MSFT, margin compression cause
│  └─ reason (chain-of-thought, explains logic)
│
└─ Comprehensive analysis? "Full report on...", "Everything about..."
   Examples: earnings attribution, company deep dive, sector analysis
   └─ research (slowest but most thorough)

Cross-References

Instead of...Use...When...
researchaskSingle fact (overkill otherwise)
researchreasonSingle "why" question (faster)
askreasonQuestion starts with "why"
ask/reasonsearchWant to see/filter sources yourself
search/asksecNeed official regulatory language
anysecLooking for 10-K, 10-Q, 8-K, S-1 content

Speed/Cost

ToolSpeedCostUse When
searchFastestLowestBuilding source lists
askFastLowQuick facts with citation
secFastLowOfficial filings
reasonMediumMediumCausal analysis
research30+ secHighestThoroughness > speed

Workflows

Earnings Analysis: sec (8-K/10-Q actuals) → ask (consensus estimates) → reason (why stock moved)

Stock Move Investigation: search (news from that day) → reason (causal factors) → research (full attribution if needed)

Company Research: ask (market cap, sector, price) → sec (risk factors, MD&A) → research (comprehensive)

Finding Analyst Commentary: search (get article list) → ask (specific question about coverage)