prometheus-query

Query metrics and set up alerts using Prometheus at {{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}.

54 stars

Best use case

prometheus-query is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Query metrics and set up alerts using Prometheus at {{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}.

Teams using prometheus-query should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/prometheus-query/SKILL.md --create-dirs "https://raw.githubusercontent.com/bidewio/better-openclaw/main/skills/prometheus-query/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/prometheus-query/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How prometheus-query Compares

Feature / Agentprometheus-queryStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Query metrics and set up alerts using Prometheus at {{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Prometheus Query

Prometheus is available at `http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}` within the Docker network.

## Instant Query

```bash
curl -G "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/query" \
  --data-urlencode 'query=up'
```

## Range Query

```bash
curl -G "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/query_range" \
  --data-urlencode 'query=rate(http_requests_total[5m])' \
  --data-urlencode 'start=2024-01-01T00:00:00Z' \
  --data-urlencode 'end=2024-01-01T01:00:00Z' \
  --data-urlencode 'step=60'
```

## List Targets

```bash
curl "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/targets"
```

## Tips for AI Agents

- Use PromQL for powerful metric queries: `rate()`, `sum()`, `histogram_quantile()`.
- Check target health at `/targets` to verify scrape configurations.
- Combine with Grafana for visual dashboards.

Related Skills

supabase-query

54
from bidewio/better-openclaw

Interact with Supabase for database, auth, and storage

postgresql-query

54
from bidewio/better-openclaw

Execute SQL queries, manage schemas, and perform data operations using PostgreSQL at {{POSTGRES_HOST}}:{{POSTGRES_PORT}}.

llamaindex-query

54
from bidewio/better-openclaw

Build data-connected LLM applications with LlamaIndex

graphql-query

54
from bidewio/better-openclaw

Query GraphQL APIs using curl.

gemini-cli-query

54
from bidewio/better-openclaw

Query Google Gemini models via the Gemini CLI.

youtube-growth

54
from bidewio/better-openclaw

Act as an expert YouTube Strategy Consultant. Apply the Creator Unlock N.I.C.E.R. Framework for conducting channel audits, niche validation, and data-backed video ideation/thumbnail generation.

xyops-automate

54
from bidewio/better-openclaw

Build and manage automation pipelines using xyOps at {{XYOPS_HOST}}:{{XYOPS_PORT}}.

xml-parse

54
from bidewio/better-openclaw

Parse and transform XML/HTML documents using command-line tools in the shared volume at {{SHARED_VOLUME}}.

woodpecker-ci

54
from bidewio/better-openclaw

Lightweight container-native CI/CD with Woodpecker

whisper-transcribe

54
from bidewio/better-openclaw

Transcribe audio and video files to text using the Whisper speech-to-text API at {{WHISPER_HOST}}:{{WHISPER_PORT}}.

web-interface-guidelines

54
from bidewio/better-openclaw

Checklist for reviewing UI code for compliance with comprehensive web interface, accessibility, performance, and content guidelines — based on Vercel's Web Interface Guidelines.

web-design-reviewer

54
from bidewio/better-openclaw

Inspect web interfaces for layout, responsive, accessibility, and visual issues, then apply targeted source code fixes and re-verify results.