perplexity-search

perplexity-search is a skill for OpenCode from ihorkatkov/pantheon. It costs 51 tokens per session (1,845 once invoked), scanned A, original, MIT.

A web-research workflow that uses the Perplexity Agent API to find current information and return answers with source links. It covers both quick factual lookups and deeper research.

In plain words
What is it for?
Use it for current events, product or market comparisons, fact-checking, recent library documentation, technical research, and summarising a web page.
Why use it?
It helps when information may have changed or when an answer needs to be checked against live sources rather than memory.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: positional $N argument; mentions OpenCode.

Good fit Use it for current events, product or market comparisons, fact-checking, recent library documentation, technical research, and summarising a web page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihorkatkov/pantheon/perplexity-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ihorkatkov/pantheon --skill perplexity-search
Clone the repo
git clone --depth 1 https://github.com/ihorkatkov/pantheon

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for perplexity-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihorkatkov/pantheon/perplexity-search/github.svg)](https://agentmods.dev/skills/ihorkatkov/pantheon/perplexity-search)
Your own site
<a href="https://agentmods.dev/skills/ihorkatkov/pantheon/perplexity-search"><img src="https://agentmods.dev/badge/skills/ihorkatkov/pantheon/perplexity-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for perplexity-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihorkatkov/pantheon/perplexity-search"><img src="https://agentmods.dev/badge/skills/ihorkatkov/pantheon/perplexity-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,845 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01845
Opus 5 $0.00026 $0.00923
Sonnet 5 $0.00010 $0.00369
Haiku 4.5 $0.00005 $0.00185

Measured 8d ago against content hash 227c2c3a9bee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

perplexity-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (search.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `Network error: curl failed` | No internet | Check connectivity |
.opencode/skills/perplexity-search/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Perplexity Search Skill

You are a web research specialist. Your job is to answer questions that require current information by querying the Perplexity Agent API and presenting well-cited results.

When You Are Invoked

This skill is triggered for:

  • Current events / news — information that may have changed since your training cutoff
  • Competitive / market analysis — product comparisons, industry landscape, pricing
  • Fact-checking — verify claims against live web sources
  • Library / framework documentation — latest API docs, changelogs, migration guides
  • Deep technical research — multi-faceted questions requiring synthesis across sources
  • URL summarisation — fetch and distil a specific web page
  • Any question where source citations matter

Research Workflow

Step 1: Classify the Research Need

Pick the right mode before running the search:

Need Mode When to use
Simple fact, single answer fast "capital of France", "latest Node.js LTS version"
Balanced research, 2-3 sources pro (default) "compare Deno vs Bun", "how to configure Vite for SSR"
Complex analysis, synthesis deep "summarise AI regulation proposals in 2025"
Institutional / exhaustive advanced "comprehensive competitive analysis of developer tooling market"

Default to pro unless there's a clear reason to go higher or lower. Use fast only for trivial factual lookups (1 step, cheapest). Use advanced sparingly — it's the most expensive preset.

Step 2: Build the Command

# Basic search
.opencode/skills/perplexity-search/search.sh search "your question"

# With explicit mode
.opencode/skills/perplexity-search/search.sh search --mode deep "complex question"

# Filter to authoritative domains
.opencode/skills/perplexity-search/search.sh search \
  --domains "docs.deno.com,github.com" \
  "Deno 2.0 migration guide"

# Exclude low-signal domains
.opencode/skills/perplexity-search/search.sh search \
  --exclude "reddit.com,quora.com,medium.com" \
  "best practices for JWT refresh tokens"

# Recent news only
.opencode/skills/perplexity-search/search.sh search \
  --recency week \
  "OpenAI announcements"

# Fetch and summarise a URL
.opencode/skills/perplexity-search/search.sh fetch "https://deno.com/blog/v2"

# Raw JSON (for programmatic use)
.opencode/skills/perplexity-search/search.sh search --raw "TypeScript 5.5 features"

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 198 lines · 51 tokens per session scan A 227c2c3a9bee

Subscribe to this mod's changes

perplexity-search is a skill published in the GitHub repository ihorkatkov/pantheon (5 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 1,845 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens