跳到正文
TakoAPI
返回技能列表

perplexity-safe

由 haru3613 提供

Web & Frontend Development
609下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Use Perplexity API for web-grounded AI search.

描述

该技能的功能

Wraps the Perplexity API in a security-hardened bash script that adds web-grounded search to AI agents. Fixes command injection, API key leakage, and denial-of-wallet vulnerabilities found in the original perplexity-bash skill. Supports multiple Perplexity models with configurable search depth and output formats.

Unlike built-in web search, Perplexity returns synthesized answers with inline source citations and supports multi-step reasoning models for complex research queries.

何时使用

  • Looking up current stock prices or market news
  • Finding recent research papers or academic developments
  • Getting cited sources for a factual claim
  • Checking today's weather or live event results
  • Researching competitor product announcements

示例工作流

输入

User asks: What are the latest GPU benchmarks for AI training?

智能体
  1. 1

    Selects sonar-reasoning model for multi-step technical comparison

  2. 2

    Sets context size to high for comprehensive source coverage

  3. 3

    Calls perplexity_search.sh with markdown format flag

  4. 4

    Receives ranked benchmark data with citations from recent sources

  5. 5

    Returns formatted answer with linked references

输出

Markdown-formatted benchmark comparison with citations to recent articles and official vendor data

前置要求

  • Perplexity API key (PERPLEXITY_API_KEY environment variable or config.json)

安装

clawhub install haru3613/perplexity-safe

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接