prometheusQuery Prometheus monitoring data to check server metrics, resource usage, and system health. Use when the user asks about server status, disk space, CPU/memory usage, network stats, or any metrics collected by Prometheus. Supports HTTP Basic Auth via environment variables.
Install via ClawdBot CLI:
clawdbot install Akellacom/prometheusQuery Prometheus monitoring data to get insights about your infrastructure.
Set in .env file:
PROMETHEUS_URL - Prometheus server URL (e.g., http://localhost:9090)PROMETHEUS_USER - HTTP Basic Auth username (optional)PROMETHEUS_PASSWORD - HTTP Basic Auth password (optional)Use the CLI to run PromQL queries:
source .env && node scripts/cli.js query '<promql_query>'
Disk space usage:
node scripts/cli.js query '100 - (node_filesystem_avail_bytes / node_filesystem_size_bytes * 100)'
CPU usage:
node scripts/cli.js query '100 - (avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100)'
Memory usage:
node scripts/cli.js query '(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes * 100'
Load average:
node scripts/cli.js query 'node_load1'
Find available metrics matching a pattern:
node scripts/cli.js metrics 'node_memory_*'
Find time series by label selectors:
node scripts/cli.js series '{__name__=~"node_cpu_.*", instance=~".*:9100"}'
List label names:
node scripts/cli.js labels
List values for a specific label:
node scripts/cli.js label-values instance
All commands output JSON for easy parsing. Use jq for pretty printing:
node scripts/cli.js query 'up' | jq .
| Metric | PromQL Query |
|--------|--------------|
| Disk free % | node_filesystem_avail_bytes / node_filesystem_size_bytes * 100 |
| Disk used % | 100 - (node_filesystem_avail_bytes / node_filesystem_size_bytes * 100) |
| CPU idle % | avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100 |
| Memory used % | (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes * 100 |
| Network RX | rate(node_network_receive_bytes_total[5m]) |
| Network TX | rate(node_network_transmit_bytes_total[5m]) |
| Uptime | node_time_seconds - node_boot_time_seconds |
| Service up | up |
[5m] for rate calculationsdata.result containing the resultshost:port formatGenerated Mar 1, 2026
A cloud hosting provider uses this skill to monitor server health, disk usage, and CPU/memory across customer instances. It helps detect resource bottlenecks and prevent downtime by querying Prometheus metrics from node exporters.
An e-commerce platform's DevOps team employs this skill to track system metrics like load average and network stats during peak sales events. It enables real-time insights into server performance and quick troubleshooting.
An enterprise IT department uses this skill to query Prometheus for monitoring internal servers and applications. It assists in checking uptime, disk space, and service health across multiple data centers.
A SaaS company integrates this skill to monitor application servers and infrastructure metrics via Prometheus. It helps ensure high availability by tracking CPU usage, memory, and network throughput.
A research institution uses this skill to monitor high-performance computing clusters by querying Prometheus for resource usage and system health. It aids in optimizing compute jobs and preventing overloads.
Offer a service that uses this skill to provide infrastructure monitoring for clients, querying Prometheus metrics and delivering insights via dashboards. Revenue comes from subscription fees based on server count.
Provide consulting services where this skill is used to set up and optimize Prometheus monitoring for businesses, helping them improve system reliability. Revenue is generated through project-based fees and retainer contracts.
Integrate this skill into a SaaS platform to offer built-in monitoring features for users, enhancing the product's value. Revenue is derived from tiered pricing plans that include advanced monitoring capabilities.
💬 Integration Tip
Ensure the PROMETHEUS_URL is correctly set in the .env file and that the server is accessible; use HTTP Basic Auth variables if authentication is required for secure queries.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.