Install
$ agentstack add skill-serg2000mr-ask-perplexity-skill-claude-code ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
/ask-perplexity — Web Search via Perplexity AI
Usage
/ask-perplexity
Algorithm
- If no argument is provided, ask the user for the question.
- Choose the model based on the task (see table below).
- Run:
bash ~/.claude/skills/ask-perplexity/run-perplexity.sh "" ""
For long multiline prompts, write the prompt to a UTF-8 temporary file and run:
bash ~/.claude/skills/ask-perplexity/run-perplexity.sh --file "/path/to/prompt.md" ""
The script also supports stdin:
cat "/path/to/prompt.md" | bash ~/.claude/skills/ask-perplexity/run-perplexity.sh --stdin ""
- Show the response to the user as-is. Preserve source links if present.
Exception for sonar-deep-research: the script saves the full response to a file (to avoid flooding the chat) and prints only the file path. After running:
- Read the saved file
- Provide the user with a 3–5 point summary of the key findings
- Tell the user the full path to the file for reference
Model selection
Choose the model based on the nature of the request. Do not ask the user — decide yourself.
| Model | When to use | |-------|-------------| | sonar | Quick fact, API clarification, short question (default) | | sonar-pro | Plan review, architectural decision, research question | | sonar-reasoning-pro | Multi-step reasoning, complex analysis | | sonar-deep-research | Comprehensive synthesis from many sources |
When to use this skill
Use when you need a consolidated, analyzed answer from many web sources — not just a search result.
- Unfamiliar APIs, libraries, formats
- Third-party system behavior or platform quirks
- Up-to-date information not in training data
- External validation before planning or implementation
- Plan or architecture review from an external perspective
Hallucinations — fact-check every factual claim
Perplexity composes its answer from retrieved sources plus an LLM, and it regularly hallucinates. Typical failure modes:
- Invented CVE numbers, paper titles, product names, version tags that look plausible but do not exist.
- Misattributed quotes — a statement that is real is attached to the wrong source.
- Stale or fixed issues presented as current — a patched vulnerability described as active.
- Misstated APIs, flags, exit codes — "use exit 2 to block" when the doc says "exit 0 + JSON".
- Composite fabrications — two real facts are stitched together into a claim that is false as a whole.
Required discipline when using this skill:
- Treat every factual claim as a hypothesis, not as ground truth — especially when the claim would change your plan, your code, or an architectural decision.
- Verify any named entity before acting on it: CVE IDs against the NVD or the original advisory, product names on vendor sites, APIs against official docs, version tags in the actual changelog.
- Prefer primary sources from the
Sources:block over Perplexity's paraphrase. If Perplexity claims a quote from a doc, open that doc and re-read the relevant section. - Do not copy assertions into code, plans, or reports without an independent confirmation.
- If the same claim is critical and cannot be independently verified, mark it explicitly as unverified when you relay it to the user, or drop it.
The skill is valuable as an external synthesizer and pointer to sources. Its summaries are not evidence.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Serg2000Mr
- Source: Serg2000Mr/ask-perplexity-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.