prometheus-oidc-query

Community

Query OIDC-protected Prometheus

Authorunixfg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies querying Prometheus-compatible endpoints that are protected by OAuth2/OIDC, automating the process of obtaining tokens and executing queries or checking alert states.

Core Features & Use Cases

  • PromQL Queries: Execute instant PromQL queries against protected Prometheus instances.
  • Alert State Inspection: Check the status of Prometheus alerts (firing, pending, inactive).
  • OAuth2/OIDC Token Management: Handles token refresh and validation for secure API access.
  • Configuration Validation: Verifies environment variables and configuration before making network calls.
  • Use Case: You need to check the current 'firing' alerts in your Prometheus monitoring system, but the endpoint requires an OAuth2 token. This Skill can authenticate, retrieve a valid token, and then query the alerts.

Quick Start

Use the prometheus-oidc-query skill to run the PromQL query 'up' against the configured Prometheus endpoint.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prometheus-oidc-query
Download link: https://github.com/unixfg/skills/archive/main.zip#prometheus-oidc-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.