Promql Cli
Command-line querying of Prometheus and PromQL-compatible engines with metric discovery and guardrails against costly queries.
- CCM score
- 59 of 100
- skills.sh installs
- 5.2K
- GitHub stars
- 348
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers instant and range queries, metric discovery via
metrics,labels, andmetasubcommands, and output as table, csv, json, or graph - Includes reference guides for installation, usage, graphing, debugging, and PromQL, with query-cost rules for cardinality checks and timeouts
- Enforces CLI-only querying and keeps credentials out of the LLM by directing users to configure
~/.promql-cli.yamlthemselves - Designed for investigating latency, error rates, saturation, and data gaps in observability stacks such as Thanos, Mimir, and VictoriaMetrics
Install
$ npx -y skills add samber/cc-skills --skill promql-cli -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
| File | When to read |
|---|---|
references/installation.md | User needs to install promql-cli or set up configuration (hosts, auth, token, password, multi-host) |
references/usage.md | User wants to discover metrics/exporters/labels, run queries, or choose output formats |
references/graphing.md | User wants to visualize Prometheus data as an ASCII chart in the terminal |
references/debugging.md | User is investigating a performance issue, latency, errors, saturation, data gaps, or query cost issues |
references/promql-reference.md | User 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:
Details
- Repository
- github.com/samber/cc-skills
- Categories
- DevOps & Cloud, CLI & Terminal
- First seen
- Jul 14, 2026
Questions
What does the promql-cli skill do?
The promql-cli skill guides an agent to query Prometheus and PromQL-compatible engines such as Thanos, Cortex, VictoriaMetrics, Grafana Mimir and Grafana Tempo. It covers instant and range queries, metric discovery with the metrics, labels and meta subcommands, and output formats in table, csv, json and graph.
How do I install the promql-cli skill?
Run npx -y skills add samber/cc-skills --skill promql-cli -y in your project to install it. Once installed, the agent can run PromQL queries and help troubleshoot latency, error rates and saturation on software with observability.
What does promql-cli need before it can run?
It needs the promql CLI and jq installed, and a reachable Prometheus host configured in a config file. Credentials such as tokens should stay in your own config file, which the skill asks you to create yourself.
Where does promql-cli stand in the DevOps & Cloud category?
promql-cli sits in the DevOps & Cloud category on Claude Marketplaces, alongside skills such as azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. It focuses on PromQL querying and metric analysis rather than Azure resources.
More from samber/cc-skills
All 20- Snyk Agent Scan Compliance5.2K
- Crxjs5.1K
- Skill Progressive Disclosure Design5.1K
- Training Report5.1K
- Copywriting Hooks6.7K
- Frontend Design Deslop6.1K
- Linkedin Ghostwriting5.9K
- Copywriting Tone Of Voice Creator5.9K
- Deep Research5.7K
- Humaniseur Fr5.7K
- Copywriting Cta5.6K
- Technical Article Writer5.6K
- Site Launch Checklist5.5K
- Conventional Git5.5K
- Copywriting Prose Creator5.4K
- Influence And Negotiation5.4K
- Chrome Extension5.3K
- Press Release Writer5.3K
- Substack Ghostwriting5.3K
Similar to Promql Cli
More DevOps & CloudPrometheus MCP ServerMCP serverpab1it0526 starsRead-only access to Prometheus metrics: PromQL instant and range queries, metric discovery, and scrape target status.
Mcp VictoriametricsMCP servervictoriametrics-community248 starsRead-only access to a VictoriaMetrics instance: metrics queries, series, labels, alerts, and rules.
victoriametrics-querySkillvictoriametrics/skills462 installsCommand-line queries against VictoriaMetrics for PromQL/MetricsQL, label and series discovery, alerts, TSDB status, and raw data export.
promqlSkillgrafana/skills9.6K installsPractical PromQL guide for writing, validating, and optimizing queries on Prometheus, Grafana Mimir, and Grafana Cloud Metrics.
prometheusSkillgrafana/skills5.8K installsQuick-reference guide to PromQL selectors, rates, aggregations, and alerting for Prometheus and Grafana Cloud Metrics.
datadog-cliSkillsoftaworks/agent-toolkit759 installsCommand-line toolkit for searching Datadog logs, querying metrics, and triaging production errors.