perplexity-webui-search

perplexity-webui-search is a skill for Claude Code, Codex from sofianbll/pplx-web-query. It costs 55 tokens per session (654 once invoked), scanned A, original, MIT.

A browser-based way to search Perplexity, an answer-focused web research service, and retrieve the resulting answer as Markdown text. It uses the visible Perplexity website rather than an official programming interface.

In plain words
What is it for?
Use it to run explicit Perplexity searches, perform web research there, save an answer as Markdown, or retrieve one through browser automation.
Why use it?
It provides a defined process for Perplexity research when a direct API is not being used. It also makes failures clear when the browser, website, or copied response is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run explicit Perplexity searches, perform web research there, save an answer as Markdown, or retrieve one through browser automation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sofianbll/pplx-web-query/perplexity-webui-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 sofianbll/pplx-web-query --skill perplexity-webui-search
Clone the repo
git clone --depth 1 https://github.com/sofianbll/pplx-web-query

Made for: Claude Code, Codex.

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-webui-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/sofianbll/pplx-web-query/perplexity-webui-search/github.svg)](https://agentmods.dev/skills/sofianbll/pplx-web-query/perplexity-webui-search)
Your own site
<a href="https://agentmods.dev/skills/sofianbll/pplx-web-query/perplexity-webui-search"><img src="https://agentmods.dev/badge/skills/sofianbll/pplx-web-query/perplexity-webui-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-webui-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/sofianbll/pplx-web-query/perplexity-webui-search"><img src="https://agentmods.dev/badge/skills/sofianbll/pplx-web-query/perplexity-webui-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00055 $0.00654
Opus 5.5 $0.00022 $0.00262
Sonnet 5.5 $0.00011 $0.00131
Haiku 4.5 $0.00006 $0.00065

Measured 1mo ago against content hash 748fe27bee8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

perplexity-webui-search scanned grade A with 0 findings 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/perplexity-core.js, scripts/perplexity-core.test.mjs, scripts/perplexity-query.js), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/perplexity-webui-search/SKILL.md · 70 lines

How it starts

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

Overview

This skill runs the bundled Playwright script against Perplexity's web UI and returns the copied Markdown answer. It is a browser automation path, not an official Perplexity API client.

Use And Avoid

Use for explicit Perplexity tasks:

  • Search Perplexity directly.
  • Use Perplexity for research instead of generic webpage fetching.
  • Retrieve or save a Perplexity answer through a visible browser session.

Do not use for:

  • The user asks for a normal web fetch, URL extraction, or documentation lookup.
  • The environment cannot open Chromium.
  • Network access to https://www.perplexity.ai/ is unavailable.
  • The task requires an official Perplexity API.

Workflow

  1. Work from this skill directory, wherever it is installed.
  2. If dependencies are missing, run npm install.
  3. If Chromium is missing, run npx playwright install chromium.
  4. Run the search command with the user query and an output path.
  5. Read the output file before answering the user.
  6. If the browser is blocked, times out, copies an empty response, or the UI changes, say that clearly and do not claim Perplexity was searched.

Command

npm run search -- "<query>" ./result.md

The command opens visible Chromium, submits the query, waits for the final Copy button, writes the copied answer to the output file, and prints the answer to stdout. Progress logs go to stderr.

Output Handling

  • Default output path: result.md.
  • Prefer a task-specific path such as ./tmp/perplexity-result.md when the user asks to preserve output.
  • result.md is generated output and should not be committed.
  • Read the output file and summarize the answer; do not just report that the command ran.

Response Pattern

  • Success: summarize the Perplexity answer and include relevant citations copied in the output.
  • Failure: state Perplexity search did not complete: <concrete error>. Do not invent an answer or fall back to generic web search unless the user asks.

Read the full file on GitHub · 70 lines

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. 1mo ago First seen · 70 lines · 55 tokens per session scan A 748fe27bee8b

Subscribe to this mod's changes

perplexity-webui-search is a skill published in the GitHub repository sofianbll/pplx-web-query (5 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 654 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

babysit

Use when a user asks to babysit, monitor, keep checking, keep an eye on, or report when a pull request, CI run, ticket, deployment, or other changing target reaches an outcome.

kirodotdev/KiroCrew · 45 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

project-wiki

A system for creating and maintaining a project wiki: a set of organized documents that explain a software project's plans, rules, references, and progress.

GeminiLight/MindOS · 63 tokens

mindos-zh

A local knowledge-base assistant for storing and finding decisions, meeting notes, procedures, troubleshooting lessons, and preferences across conversations and coding agents. It works only with the MindOS knowledge base.

GeminiLight/MindOS · 490 tokens

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences across sessions/agents. Core: save notes, search KB, organize files, run workflows, review, append CSV, hand off context, distill lessons. NOT for app source or paths outside KB. Triggers…

GeminiLight/MindOS · 136 tokens