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

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.

agentmods
npx agentmods add skills/sofianbll/pplx-web-query/perplexity-webui-search
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00055 $0.00654
Opus 5 $0.00028 $0.00327
Sonnet 5 $0.00011 $0.00131
Haiku 4.5 $0.00006 $0.00065

Measured 4d ago against content hash 748fe27bee8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 2mo ago), licensed MIT. It adds 55 tokens to every session and 654 once invoked, about $0.0003 per session on Opus 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

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

Leonxlnx/taste-skill · 61 tokens

stitch-design-taste

Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.

Leonxlnx/taste-skill · 50 tokens

full-output-enforcement

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

Leonxlnx/taste-skill · 44 tokens

image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…

Leonxlnx/taste-skill · 116 tokens

imagegen-frontend-mobile

Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured…

Leonxlnx/taste-skill · 126 tokens

imagegen-frontend-web

Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not…

Leonxlnx/taste-skill · 126 tokens