← 返回 Skills 市场
akellacom

Prometheus

作者 Akellacom · GitHub ↗ · v1.1.0
cross-platform ✓ 安全检测通过
2183
总下载
2
收藏
18
当前安装
2
版本数
在 OpenClaw 中安装
/install prometheus
功能描述
Query Prometheus monitoring data to check server metrics, resource usage, and system health. Use when the user asks about server status, disk space, CPU/memo...
安全使用建议
This skill appears to do exactly what it says: query Prometheus HTTP APIs for metrics. Before installing, note that the CLI will read and set environment variables from local .env files (workspace and current directory) and will write a config file (prometheus.json) into your OpenClaw workspace (or the path you provide). Don’t point it at untrusted Prometheus endpoints; review the generated prometheus.json to ensure no sensitive credentials are stored there in plaintext. If you keep secrets in a workspace .env, be aware the CLI may load them into process.env (it does not transmit them anywhere except to the Prometheus instances you configure).
功能分析
Type: OpenClaw Skill Name: prometheus Version: 1.1.0 The Prometheus skill is a legitimate monitoring tool designed to query metrics from one or multiple Prometheus instances. It includes a configuration wizard in `scripts/cli.js` that saves connection details and credentials to a local JSON file within the OpenClaw workspace, and it uses standard Node.js `fetch` calls in `scripts/query.js` to interact with the Prometheus API. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code logic is consistent with its stated purpose of system health monitoring.
能力评估
Purpose & Capability
Name/description (query Prometheus metrics) align with the files and code: the CLI reads a config or environment, performs Prometheus HTTP API calls, supports multi-instance queries and basic auth — all expected for this purpose.
Instruction Scope
SKILL.md directs running the provided node scripts and storing a config in the OpenClaw workspace; the code also loads optional .env files from the workspace and CWD which could populate process.env. Reading local .env files and allowing PROMETHEUS_* env fallbacks is plausible for convenience, but it means the skill will read local environment files beyond only a single dedicated config file.
Install Mechanism
No install spec; the skill is instruction + Node.js scripts. That is low-risk and consistent with a CLI-style skill.
Credentials
The skill declares no required env vars, and the code only uses PROMETHEUS_URL/USER/PASSWORD and any entries from a local prometheus.json. However, the loader will parse .env files in the workspace and CWD and set any keys not already present in process.env — this can pull unrelated secrets (if present in .env) into process.env for the process, though they are used only as fallbacks and not exfiltrated by the code.
Persistence & Privilege
always is false and the skill writes only its own config (prometheus.json) under the OpenClaw workspace or a path provided by PROMETHEUS_CONFIG. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prometheus
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prometheus 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Multi-instance support, config file support, .env fallback, interactive init command
v1.0.0
Initial release - Query Prometheus monitoring data for server metrics
元数据
Slug prometheus
版本 1.1.0
许可证
累计安装 18
当前安装数 18
历史版本数 2
常见问题

Prometheus 是什么?

Query Prometheus monitoring data to check server metrics, resource usage, and system health. Use when the user asks about server status, disk space, CPU/memo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2183 次。

如何安装 Prometheus?

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

Prometheus 是免费的吗?

是的,Prometheus 完全免费(开源免费),可自由下载、安装和使用。

Prometheus 支持哪些平台?

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

谁开发了 Prometheus?

由 Akellacom(@akellacom)开发并维护,当前版本 v1.1.0。

💬 留言讨论