perplexity-wrapped
vacinc 제작
Web & Frontend Development요약
Search the web with AI-powered answers via Perplexity API.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: what's the current state of fusion energy research
- 1
Runs search.mjs with the query in default Sonar mode
- 2
Sends query to Perplexity Sonar API
- 3
Receives AI-generated answer with inline citations
- 4
Wraps response in untrusted-content boundaries
AI-written summary of fusion energy research with numbered citations linking to source URLs, enclosed in <<<EXTERNAL_UNTRUSTED_CONTENT>>> markers
요구 사항
- Perplexity API key (PERPLEXITY_API_KEY environment variable or set in OpenClaw config)
설치
clawhub install vacinc/perplexity-wrappedCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.