prometheus
Query metrics via Prometheus API. Run PromQL queries and manage alerts.
Why use this skill?
Integrate Prometheus with OpenClaw to automate metric querying, alert monitoring, and infrastructure observability. Install now to streamline your DevOps workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mrgoodb/prometheusWhat This Skill Does
The Prometheus skill for OpenClaw empowers your AI agent to interact directly with Prometheus monitoring instances. By bridging the gap between natural language processing and the Prometheus HTTP API, this skill allows the agent to execute PromQL queries, retrieve operational metrics, inspect target health, and audit alert states. It serves as a powerful diagnostic interface for your infrastructure, enabling automated health checks and complex trend analysis without requiring manual dashboard navigation.
Installation
To integrate this skill into your environment, use the OpenClaw CLI tool. Ensure you have network connectivity to your internal Prometheus server before deployment.
Command: clawhub install openclaw/skills/skills/mrgoodb/prometheus
Once installed, you must configure the environment variable to point to your instance: export PROMETHEUS_URL="http://prometheus.example.com:9090".
Use Cases
This skill is indispensable for DevOps engineers and SREs looking to automate observability. Key use cases include:
- Automated Incident Response: Query alert states during an incident to provide context to a resolution bot.
- Trend Analysis: Use the range query functionality to generate summaries of resource usage over specific time windows.
- Sanity Checking: Periodically fetch target lists to confirm that scraping jobs are active and healthy.
- Dashboard Generation: Feed metrics data into report-writing agents to generate automated weekly infrastructure status documents.
Example Prompts
- "Check the current status of all alert rules and tell me which ones are currently firing."
- "Get the rate of http requests per second for the web-gateway service over the last 30 minutes and tell me if there is an upward trend."
- "List all active targets for the production cluster and identify any targets that are currently in a down state."
Tips & Limitations
- Security: Ensure that the Prometheus endpoint is protected by appropriate authentication or firewall rules, as the agent will inherit the access permissions of the URL provided.
- Performance: For range queries, keep the time window (
step) reasonable. Requesting excessive amounts of data in a single call may cause timeouts. - PromQL Knowledge: While the agent can execute raw queries, providing detailed descriptions of your desired metric calculations will yield better results.
- Availability: This skill is strictly read-only regarding metrics; it does not support modifying Prometheus configuration files or reloading the server process.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-mrgoodb-prometheus": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
smartsheet
Manage sheets, rows, and columns via Smartsheet API. Automate spreadsheet workflows.
onelogin
Manage users and apps via OneLogin API. Handle SSO and identity management.
google-sheets
Read and write Google Sheets data. Create spreadsheets, update cells, and manage worksheets via Sheets API.
postmark
Send transactional emails with high deliverability via Postmark API. Manage templates, track bounces, and view analytics.
loom
Manage Loom video recordings - list, share, and get analytics via Loom API.