← 返回 Skills 市场
iamjameskeane

Perplexity Sonar via Openrouter in CLI

作者 James Keane · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-sonar
功能描述
Local OpenRouter Sonar web search CLI using the user's OpenRouter API key. Use when you want OpenRouter-backed web search or cited research from a local comm...
安全使用建议
This package appears to do what it says: a local CLI that calls openrouter.ai using your OPENROUTER_API_KEY. Before installing: (1) verify the repository/source you clone (the package has no homepage in the registry); (2) be aware the README instructs you to run a Bun script from the repository — inspect the script yourself before making it executable; (3) set OPENROUTER_API_KEY only if you trust the code, and consider using a limited-scope API key or a dedicated account; (4) note the registry metadata omitted the required env var — treat that as a red flag and prefer source verification; (5) run the tool in an isolated environment if you are unsure (container/VM) and review network traffic if you need to confirm it only talks to openrouter.ai.
功能分析
Type: OpenClaw Skill Name: openclaw-sonar Version: 1.0.0 The skill provides a legitimate CLI tool for interacting with OpenRouter's Sonar search models. The implementation in `scripts/openrouter-sonar.ts` uses standard API patterns and file operations consistent with its stated purpose, with no evidence of data exfiltration, unauthorized execution, or malicious instructions.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill's name/description match the included README, SKILL.md, and the Bun CLI script: it implements a local 'sonar' CLI that calls OpenRouter endpoints and maps Perplexity Sonar models. The declared registry metadata, however, does not list the required OPENROUTER_API_KEY even though the SKILL.md and script require it — this metadata omission is inconsistent.
Instruction Scope
Runtime instructions and the CLI code are limited to building chat-completion requests to openrouter.ai, listing models, and optionally writing user-requested output files. The SKILL.md does not direct the agent to read unrelated files or other credentials. The only environment variables referenced are OPENROUTER_API_KEY (required) and a couple of optional OPENROUTER_* variables, which are appropriate for the described function.
Install Mechanism
There is no packaged install spec in the skill registry; README suggests cloning the GitHub repo and symlinking the TypeScript/Bun script into ~/.local/bin. This is a common lightweight install pattern; it requires the Bun runtime and running a script from an external repo, which is expected but does carry the normal trust/runtime risk of executing third-party scripts locally.
Credentials
The code legitimately requires a single API credential (OPENROUTER_API_KEY) and optionally a model/referrer/title env var. However, the registry metadata claims 'Required env vars: none' while SKILL.md and the script state OPENROUTER_API_KEY is required. This inconsistency could lead to accidental disclosure or misconfiguration and should be corrected before use.
Persistence & Privilege
The skill is not always-enabled, does not request system-wide configuration changes, and does not modify other skills. It runs on demand as a local CLI; no elevated or persistent privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-sonar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-sonar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of OpenRouter Sonar CLI skill. - Provides a local `sonar` command-line interface for OpenRouter-backed web search and cited research. - Supports multiple Sonar models and convenient short model names. - Includes utilities for listing models, research queries, and saving output in various formats (`text`, `md`, `json`). - Uses the user's `OPENROUTER_API_KEY` and optional environment variables for configuration. - Offers file output and model selection via CLI options.
元数据
Slug openclaw-sonar
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Perplexity Sonar via Openrouter in CLI 是什么?

Local OpenRouter Sonar web search CLI using the user's OpenRouter API key. Use when you want OpenRouter-backed web search or cited research from a local comm... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。

如何安装 Perplexity Sonar via Openrouter in CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-sonar」即可一键安装,无需额外配置。

Perplexity Sonar via Openrouter in CLI 是免费的吗?

是的,Perplexity Sonar via Openrouter in CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Perplexity Sonar via Openrouter in CLI 支持哪些平台?

Perplexity Sonar via Openrouter in CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Perplexity Sonar via Openrouter in CLI?

由 James Keane(@iamjameskeane)开发并维护,当前版本 v1.0.0。

💬 留言讨论