Perplexity Ask
Ask Perplexity through the local Frevana daemon and Chrome Extension session.
Purpose
This skill is for asking Perplexity a prompt using the Chrome Extension-backed Frevana MCP tool frevana_ask with fixed provider perplexity.
Inputs:
prompt(required) - one or more questions or instructions to send to Perplexityprompt_file(optional) - UTF-8 text file with one prompt per non-empty lineformat(optional) -textorjson, defaults totexttimeout(optional) - Frevana tool timeout in milliseconds, default comes from the tool
Output:
- Perplexity's answer returned by Frevana
Return the answer directly unless the user asks for raw output or a saved file.
What This Skill Needs
- user-provided
prompt - bundled
scripts/setup.shwrapper, which downloads and runs the latest official Frevana setup script - Frevana local daemon running after setup, default port
12306 - Chrome connected through the Frevana Chrome Extension
- the user logged in to Perplexity in Chrome
curlbashpython3
This is a Chrome Extension skill. It uses the local daemon and Chrome Extension session.
Execution Order
- Confirm the user provided one or more prompts, or a prompt file with one prompt per non-empty line.
- Prefer the script over ad hoc
frevana callcommands. - Do not invent optional timeout values. Default output format to
textunless the user asks for JSON. - Let the script run bundled
scripts/setup.shbefore every Frevana tool call. - If setup reports Chrome disconnected, stop and tell the user to open Chrome, connect the Frevana extension, and retry.
- Run the Perplexity ask only after setup succeeds.
- If the call returns login/auth content or fails because Perplexity is unavailable, tell the user they must be logged in to Perplexity in Chrome.
- Return text output by default. If
formatisjson, return structured JSON withprovider,count, andresults. - Save output with
--outputwhen useful.
Commands
bash <skill-path>/scripts/ask_perplexity.sh \
--prompt "Explain quantum computing in simple terms"
bash <skill-path>/scripts/ask_perplexity.sh \
--prompt "Summarize this topic" \
--timeout 120000 \
--output ./out/perplexity-answer.txt
bash <skill-path>/scripts/ask_perplexity.sh \
--prompt "Question 1" \
--prompt "Question 2"
bash <skill-path>/scripts/ask_perplexity.sh \
--prompt-file ./prompts.txt \
--format json \
--output ./out/perplexity-batch-answers.txt
Fixed Tool Call Shape
The script calls:
frevana call frevana_ask '<json_args>'
The JSON arguments use this shape:
{
"provider": "perplexity",
"prompt": "Explain quantum computing in simple terms",
"timeout": 120000
}
Always send provider: "perplexity". Do not pass unsupported fields.
Notes
- Require at least one
--prompt,--question, or--prompt-file. --promptand--questionmay be repeated.--prompt-filereads one prompt per non-empty line.--formatmust betextorjson; default istext.--timeoutmust be a positive integer when provided.scripts/setup.shdownloads and executes the latest official setup script fromhttps://raw.githubusercontent.com/FinpeakInc/frevana-cli-releases/refs/heads/main/skills/frevana/scripts/setup.sh.
Example Prompts
- "Ask Perplexity to explain quantum computing"
- "用 Perplexity 回答这个问题:..."