Perplexity AI search and chat completions with real-time web data
SkillScore77Maintained
Automatic
◆Research pack
Last verified 8/16/2026
What it changes
Passed 13 of 17 test cases with the skill, and 6 of 17 without it.
Without skill36%
With skill77%
Checks it passed that the model alone missed
The payload sets reasoning_effort to high.
The search_mode parameter is set to academic.
The search_language_filter array contains fr.
and 12 more in the full report
10 fixed7 passed either way4 still failing1 broke
Pass-rate lift
+41 pp
Tokens
+192%
Agent turns
0%
Response time
-48%
Model gemini-3.6-flashMeasured 8/16/2026v117 of 22 cases passed with skill · 17 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 10
Prompt
My local environment is missing the ~/.gooseworks/credentials.json file entirely. What command line instruction should I run to log in and create this credentials file?
What was checked, without and with the skill
Checked
Without skill
With skill
The response instructs the user to run npx gooseworks login.
Missed
Passed
case-06 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md157 linessingle file
Perplexity - AI Search & Chat
Setup
Read your credentials from ~/.gooseworks/credentials.json:
If ~/.gooseworks/credentials.json does not exist, tell the user to run: npx gooseworks login
All endpoints use Bearer auth: -H "Authorization: Bearer $GOOSEWORKS_API_KEY"
AI-powered search and chat completions with real-time web data.
Capabilities
Chat Completions: Generates a model’s response for the given chat conversation
Search: Get ranked search results from Perplexity’s continuously refreshed index with advanced filtering and customization options
Sonar Chat Completions API: Creates an asynchronous chat completion job
Get Async Chat Completion Response: Retrieves the status and result of a specific asynchronous chat completion job
List Async Chat Completions: Lists all asynchronous chat completion requests for the authenticated user
Usage
Chat Completions
Generates a model’s response for the given chat conversation.
Parameters:
model* (enum) - The name of the model that will complete your prompt. Choose from our available Sonar models: sonar (lightweight search), sonar-pro (advanced search), sonar-deep-research (exhaustive research), or sonar-reasoning-pro (premier reasoning).
messages* (object[]) - A list of messages comprising the conversation so far.
search_mode (string) - Controls search mode: 'academic' prioritizes scholarly sources, 'sec' prioritizes SEC filings, 'web' uses general web search. See academic guide and SEC guide.
reasoning_effort (string) - Perplexity-Specific: Controls how much computational effort the AI dedicates to each query for deep research models. 'low' provides faster, simpler answers with reduced token usage, 'medium' offers a balanced approach, and 'high' delivers deeper, more thorough responses with increased token usage. This parameter directly impacts the amount of reasoning tokens consumed. WARNING: This parameter is ONLY applicable for sonar-deep-research. Defaults to 'medium' when used with sonar-deep-research.
max_tokens (integer) - OpenAI Compatible: The maximum number of completion tokens returned by the API. Controls the length of the model's response. If the response would exceed this limit, it will be truncated. Higher values allow for longer responses but may increase processing time and costs.
temperature (number) - The amount of randomness in the response, valued between 0 and 2. Lower values (e.g., 0.1) make the output more focused, deterministic, and less creative. Higher values (e.g., 1.5) make the output more random and creative. Use lower values for factual/information retrieval tasks and higher values for creative applications.
top_p (number) - OpenAI Compatible: The nucleus sampling threshold, valued between 0 and 1. Controls the diversity of generated text by considering only the tokens whose cumulative probability exceeds the top_p value. Lower values (e.g., 0.5) make the output more focused and deterministic, while higher values (e.g., 0.95) allow for more diverse outputs. Often used as an alternative to temperature.
language_preference (string) - Perplexity-Specific: Specifies the preferred language for the chat completion response (i.e., English, Korean, Spanish, etc.) of the response content. This parameter is supported only by the sonar and sonar-pro models. Using it with other models is on a best-effort basis and may not produce consistent results.
search_domain_filter (array) - A list of domains to limit search results to. Currently limited to 20 domains for Allowlisting and Denylisting. For Denylisting, add a - at the beginning of the domain string. More information about this here.
Evaluate YC batch companies for investment — scrapes the YC directory, researches each company and its founders (work history, LinkedIn, website), assesses founder-company fit, and exports to Google Sheets with priority rankings. Use when asked to evaluate YC companies, research a YC batch, screen startups, or do due diligence on YC companies.