← 返回 Skills 市场
peintune

prometheus-query

作者 GoodAtMe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
137
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install prometheus-query
功能描述
Query Prometheus metrics, alerts, and cluster status using PromQL with options for direct URL or Kubernetes port-forward access.
安全使用建议
This skill appears to do only Prometheus queries and requires no credentials. Before installing or running: (1) be aware that queries contact whatever prom_url you provide — only point it at trusted Prometheus endpoints; (2) if you use the Kubernetes port-forward option, you will need kubectl locally (the SKILL.md mentions this but the registry metadata didn't list kubectl); port-forwarding is performed by you in a terminal, not by the script; (3) review the included Python script if you want to confirm there are no additional network calls — it only calls Prometheus HTTP endpoints using urllib. If you do not run any port-forwarding and only point prom_url at trusted hosts, the footprint is minimal.
功能分析
Type: OpenClaw Skill Name: prometheus-query Version: 1.0.0 The skill bundle provides a legitimate utility for querying Prometheus metrics and alerts via a Python script (scripts/query_prometheus.py). It uses standard Python libraries (urllib) to interact with the Prometheus API and contains no evidence of data exfiltration, malicious execution, or prompt injection. All instructions in SKILL.md are aligned with the stated purpose of monitoring system health and performance.
能力评估
Purpose & Capability
Name/description match the included script and SKILL.md: all functionality is Prometheus API queries and alerts. One minor mismatch: SKILL.md documents a Kubernetes port-forward workflow (which requires kubectl), but the registry metadata lists no required binaries.
Instruction Scope
SKILL.md limits actions to querying Prometheus (direct URL or via a user-run kubectl port-forward). The instructions do not ask the agent to read unrelated files, system secrets, or send data to other endpoints beyond the user-specified prom_url.
Install Mechanism
Instruction-only skill with a simple Python script; there is no install spec or network download. The script uses only the Python standard library (urllib, json).
Credentials
No environment variables, secrets, or config paths are requested. The script requires only a Prometheus URL (prom_url) provided by the user at runtime.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent privileges; it does not modify other skills or system configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prometheus-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prometheus-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Major refactor: Migrated from Node.js CLI-based implementation to a single Python script for querying Prometheus. - Added scripts/query_prometheus.py as the new entry point; previous Node.js-related files removed. - SKILL.md rewritten for new workflow: focuses on direct Prometheus URL or Kubernetes port-forward for connectivity. - CLI usage is now via Python, with support for querying metrics, alerts, and customizable parameters. - Legacy support for multi-instance, config files, and Node.js CLI commands has been removed.
元数据
Slug prometheus-query
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

prometheus-query 是什么?

Query Prometheus metrics, alerts, and cluster status using PromQL with options for direct URL or Kubernetes port-forward access. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。

如何安装 prometheus-query?

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

prometheus-query 是免费的吗?

是的,prometheus-query 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

prometheus-query 支持哪些平台?

prometheus-query 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 prometheus-query?

由 GoodAtMe(@peintune)开发并维护,当前版本 v1.0.0。

💬 留言讨论