← 返回 Skills 市场
1615
总下载
3
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install singleshot-prompt-testing
功能描述
Test and optimize prompts for cost, token use, and performance with detailed reports using single shot queries across multiple providers and models.
安全使用建议
This skill appears coherent and implements what it says: a wrapper/workflow for a third-party singleshot CLI that measures tokens, costs, and latency. Before installing or running the CLI yourself: 1) Inspect the upstream repository (https://github.com/vincentzhangz/singleshot) and the Homebrew tap to confirm code provenance; 2) Only provide API keys for providers you trust, and avoid setting OPENAI_BASE_URL or other custom endpoints to unknown servers (they could receive your requests and keys); 3) Prefer using local/no-key options (e.g., Ollama) for early testing; 4) Consider using scoped or short-lived keys if supported, and do not paste keys into public files. If you want a deeper review, provide the upstream repo or the installed binary source and I can look for network calls, telemetry, or unexpected behavior.
功能分析
Type: OpenClaw Skill
Name: singleshot-prompt-testing
Version: 0.1.0
The skill bundle provides instructions for installing and using the `singleshot` CLI tool for prompt testing and optimization. All commands and documentation across `SKILL.md`, `README.md`, `QUICKSTART.md`, and `metadata.json` are consistent with this stated purpose. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the OpenClaw agent. The use of API keys is for the tool's functionality, and file/network access is necessary for generating and analyzing prompt reports.
能力评估
Purpose & Capability
The skill is named and documented as a prompt cost/testing/optimization helper and all instructions show usage of a singleshot CLI for generating token/cost reports. The declared requirements (API keys for providers) match the described multi-provider testing capability and nothing extraneous (e.g., cloud admin creds) is requested.
Instruction Scope
SKILL.md instructs the agent to run the singleshot CLI, generate reports, cat/grep/diff report files, and optionally point the CLI at providers via environment variables. These actions are within the stated purpose. One noteworthy point: the documentation allows configuring OPENAI_BASE_URL (a custom endpoint) and other provider endpoints which can redirect model requests to arbitrary servers—this is a normal feature for alternate endpoints but increases risk if you point keys to untrusted endpoints.
Install Mechanism
The published skill is instruction-only and contains no automated install spec. The docs recommend installing a third-party CLI via Homebrew tap (vincentzhangz/singleshot) or cargo. That is consistent with a CLI-based skill; however, installing from a third-party tap or crate is an explicit user action and you should audit the upstream repo before installing.
Credentials
The skill recommends supplying provider API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, OPENROUTER_API_KEY) which are directly relevant to calling model providers. No unrelated secrets or system credentials are requested. Caution: OPENAI_BASE_URL and similar endpoint variables can be used to route requests (and therefore your keys/data) to nonstandard endpoints—only set them to trusted URLs.
Persistence & Privilege
The skill does not request always:true and is user-invocable only. It is instruction-only and does not install persistent hooks or modify other skills or global agent settings. It therefore requests no elevated persistence or privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install singleshot-prompt-testing - 安装完成后,直接呼叫该 Skill 的名称或使用
/singleshot-prompt-testing触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Singleshot Prompt Testing & Optimization Skill v0.1.0
- Initial release of Singleshot Prompt Testing & Optimization Skill.
- Provides detailed guidance for prompt cost and token efficiency testing before production.
- Includes example commands for benchmarking and comparing AI model costs, performance, and output.
- Documents workflow for generating, optimizing, and comparing prompt reports.
- Offers best practices, troubleshooting tips, and environment variable setup for common AI providers.
元数据
常见问题
Singleshot Prompt Testing 是什么?
Test and optimize prompts for cost, token use, and performance with detailed reports using single shot queries across multiple providers and models. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1615 次。
如何安装 Singleshot Prompt Testing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install singleshot-prompt-testing」即可一键安装,无需额外配置。
Singleshot Prompt Testing 是免费的吗?
是的,Singleshot Prompt Testing 完全免费(开源免费),可自由下载、安装和使用。
Singleshot Prompt Testing 支持哪些平台?
Singleshot Prompt Testing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Singleshot Prompt Testing?
由 Vincent(@vincentzhangz)开发并维护,当前版本 v0.1.0。
推荐 Skills