Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

perplexity-wrapped

bởi vacinc

Web & Frontend Development
1.7kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Search the web with AI-powered answers via Perplexity API.

Mô tả

Kỹ năng này làm gì

Web search tool wrapping the Perplexity API with three modes: ranked results via Search API, AI-generated answers with citations via Sonar API, and deep research via the Agentic Research API using models from OpenAI, Anthropic, Google, and xAI. All output is wrapped in untrusted-content boundaries to prevent prompt injection.

Combines three distinct Perplexity API modes in one CLI with built-in prompt injection protection, so agents can query the live web without manually sanitizing or attributing external content.

Khi nào nên dùng

  • Getting AI-summarized answers to current events questions
  • Finding cited sources for a research topic
  • Batch searching multiple queries in a single API call
  • Running deep analysis on complex technical subjects
  • Querying recent news or product releases without stale training data

Quy trình ví dụ

ĐẦU VÀO

User asks: what's the current state of fusion energy research

AGENT
  1. 1

    Runs search.mjs with the query in default Sonar mode

  2. 2

    Sends query to Perplexity Sonar API

  3. 3

    Receives AI-generated answer with inline citations

  4. 4

    Wraps response in untrusted-content boundaries

ĐẦU RA

AI-written summary of fusion energy research with numbered citations linking to source URLs, enclosed in <<<EXTERNAL_UNTRUSTED_CONTENT>>> markers

Yêu cầu

  • Perplexity API key (PERPLEXITY_API_KEY environment variable or set in OpenClaw config)

Cài đặt

clawhub install vacinc/perplexity-wrapped

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết