← 返回 Skills 市场
Promql Cli
作者
Samuel Berthe
· GitHub ↗
· v1.1.2
· MIT-0
181
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install promql-cli
功能描述
CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries...
安全使用建议
This skill appears to do what it claims: it's a wrapper around the promql CLI and uses jq for output parsing. Before installing, verify you trust the upstream Go package (github.com/nalbury/promql-cli) by inspecting its repository or release page. Ensure you have promql and jq on PATH (or allow the go install / brew steps), and do not paste Prometheus tokens or passwords into chat — follow the SKILL.md guidance to create and protect `~/.promql-cli.yaml`/`~/.promql_token` yourself (chmod 600). Note: SKILL.md references additional local `references/*` docs that are not included in the package; if you need those, fetch the upstream docs or ask the skill maintainer.
功能分析
Type: OpenClaw Skill
Name: promql-cli
Version: 1.1.2
The promql-cli skill is a legitimate wrapper for the Prometheus CLI tool. It includes security-conscious instructions in SKILL.md that explicitly forbid the AI agent from creating configuration files containing credentials, advising the user to handle them manually instead. The tool permissions are appropriately restricted to the 'promql' command.
能力评估
Purpose & Capability
The name/description match the declared requirements: promql (the CLI) and jq (output processing) are exactly what a Prometheus/PromQL CLI skill needs. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md provides clear, scoped runtime instructions (how to run queries, error handling, and explicit guidance not to create config files on behalf of users). One minor inconsistency: SKILL.md references several `references/*` files (installation, usage, debugging, etc.) but the package manifest contains only SKILL.md — those reference files are not present in the bundle. This may mean the agent will not be able to read those local reference files and should instead link to upstream docs or ask the user.
Install Mechanism
Install spec uses `go` to build github.com/nalbury/promql-cli (source-built Go package) and `brew` to install jq. Both are standard, traceable mechanisms; no arbitrary downloads or obscure URLs are present.
Credentials
The skill requests no environment variables or credentials. It properly warns about storing tokens in `~/.promql-cli.yaml`/`~/.promql_token` and explicitly instructs the agent not to create or transmit those config files or secrets.
Persistence & Privilege
The skill does not request permanent presence (always: false) and does not attempt to modify other skills or global agent settings. `disable-model-invocation` is false (normal), meaning the agent could call the skill autonomously — this is expected for a usable skill and not problematic here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install promql-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/promql-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.2
No changes detected in this release.
- Version update only; no file or documentation changes.
- All existing features and behaviors remain unchanged.
v1.1.1
- Removed all bundled reference and example files from the skill.
- Internal documentation and usage guidance dependent on those files is now unavailable within the skill.
- No changes to code functionality or user interface.
v1.1.0
Version 1.1.0
- Updated SKILL.md to include Openclaw metadata for improved installation and usage details.
- Added explicit instructions for required binaries and installation steps.
- Included new evals/evals.json file.
- Bumped metadata version from 1.0.0 to 1.1.0.
v1.0.0
promql-cli v1.0.0 – Initial release
- Introduces a CLI skill for querying Prometheus and compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir/Tempo).
- Supports instant and range queries, metric discovery, and multiple output formats (table, CSV, JSON, ASCII graph).
- Includes guided setup checks, configuration troubleshooting, and security best practices (no credential handling by skill).
- Provides practical PromQL usage principles for effective queries and troubleshooting.
- Reference files organize installation, usage, debugging, graphing, and PromQL fundamentals for easy lookup.
元数据
常见问题
Promql Cli 是什么?
CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 181 次。
如何安装 Promql Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install promql-cli」即可一键安装,无需额外配置。
Promql Cli 是免费的吗?
是的,Promql Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Promql Cli 支持哪些平台?
Promql Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Promql Cli?
由 Samuel Berthe(@samber)开发并维护,当前版本 v1.1.2。
推荐 Skills