A wrapper for the promql-cli tool that lets Claude query Prometheus and compatible engines like Thanos, Cortex, or VictoriaMetrics directly from the terminal. Built for debugging production issues: tracking error rates, spotting latency spikes, investigating saturation. The skill bundles installation docs, a PromQL reference, and debugging patterns, plus it enforces good query hygiene like using rate() on counters and filtering early with label matchers. Output formats include ASCII graphs, which work surprisingly well for showing trends in a chat context. The setup instructions are careful about credentials, refusing to create config files that might contain tokens. If you're already using Prometheus for observability, this bridges the gap between metrics and conversation.

skills.sh installs
5.2K
GitHub stars
242
last updated
Aug 21, 2026

Install

$ npx -y skills add samber/cc-skills --skill promql-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

promql-cli — Prometheus Query CLI Skill

promql-cli (github.com/nalbury/promql-cli) is a Go CLI for querying, analyzing, and visualizing Prometheus metrics, plus PromQL fundamentals.

Reference Files

Read the relevant reference file(s) before executing tasks:

FileWhen to read
references/installation.mdUser needs to install promql-cli or set up configuration (hosts, auth, token, password, multi-host)
references/usage.mdUser wants to discover metrics/exporters/labels, run queries, or choose output formats
references/graphing.mdUser wants to visualize Prometheus data as an ASCII chart in the terminal
references/debugging.mdUser is investigating a performance issue, latency, errors, saturation, data gaps, or query cost issues
references/promql-reference.mdUser needs help writing PromQL, understanding metric types, functions, or aggregations

For most tasks, read references/usage.md. For PromQL help, read references/promql-reference.md. When debugging, read both references/debugging.md and references/promql-reference.md.

Setup Check

Before running any query, verify that a host is configured:

Sponsors

Details

Repository
github.com/samber/cc-skills
Categories
DevOps & CI/CD, Debugging, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from samber/cc-skills

All 21
1recoupable avatarrecoup-platform-email-helperrecoupable/skillsSend an email via the Recoup API the reliable way — a Node helper that serializes the body correctly and fails loudly instead of sending an empty email. Use whe5.2Kskills.sh installs
2dpearson2699 avatarios-accessibilitydpearson2699/swift-ios-skillsBuild and audit SwiftUI, UIKit, and AppKit accessibility for VoiceOver, Voice Control, Switch Control, Full Keyboard Access, Dynamic Type, focus restoration, la5.2Kskills.sh installs
3forcedotcom avatarexperience-ui-bundle-file-upload-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding f5.2Kskills.sh installs
4samber avatarcrxjssamber/cc-skillsCRXJS Chrome extension development — true HMR for popup, options, content scripts, side panels, manifest-driven builds, dynamic content script imports (`?script5.1Kskills.sh installs
5recoupable avatarrecoup-roster-list-artistsrecoupable/skillsSee who's on your roster — answers "what artists do I have" by walking the workspace and falling back to your live account when the filesystem is empty. Use for5Kskills.sh installs
6manaflow-ai avatarcmux-custom-sidebarmanaflow-ai/cmuxBuild a custom cmux sidebar from a plain-language request. Use when the user asks for a custom sidebar, a sidebar that shows their workspaces/tabs/PRs/clock, a 5Kskills.sh installs