coralogix-metrics-query

coralogix-metrics-query is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 96 tokens per session (7,183 once invoked), scanned A, original, Apache-2.0.

A guide for querying and investigating metrics in Coralogix with PromQL, a query language for time-based measurements. It covers finding available metrics and breaking broad problems into focused checks.

In plain words
What is it for?
Use it to discover metrics, write focused queries, check services and infrastructure, and investigate incidents step by step.
Why use it?
It reduces guesswork when investigating trends, failures, latency, traffic, or resource usage across an application and its infrastructure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover metrics, write focused queries, check services and infrastructure, and investigate incidents step by step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/coralogix-metrics-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws/tools-for-devops-agent --skill coralogix-metrics-query
Clone the repo
git clone --depth 1 https://github.com/aws/tools-for-devops-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coralogix-metrics-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/coralogix-metrics-query/github.svg)](https://agentmods.dev/skills/aws/tools-for-devops-agent/coralogix-metrics-query)
Your own site
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/coralogix-metrics-query"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/coralogix-metrics-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coralogix-metrics-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/coralogix-metrics-query"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/coralogix-metrics-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.07183
Opus 5.5 $0.00038 $0.02873
Sonnet 5.5 $0.00019 $0.01437
Haiku 4.5 $0.00010 $0.00718

Measured 25d ago against content hash 9980ab9428f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coralogix-metrics-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/coralogix-metrics-query/SKILL.md · 430 lines

How it starts

The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Metrics Skill - Analyzing metrics via Coralogix/PromQL

This skill describes how to discover and analyze metrics using your available tools and explains how to use PromQL for that goal.

Core Workflow:

1. Initial Assessment

When a user reports a problem (e.g., "I have production issues"):

  • If the problem is vague or broad, ASK 1-2 CLARIFYING QUESTIONS to get specifics
  • Focus on: What exactly is failing? When did it start? What symptoms are users seeing?
  • ONLY ask clarifying questions if absolutely necessary - prefer to start investigating immediately

2. Problem Decomposition

Once you understand the issue (e.g., "users get HTTP error unavailable for the last 30 minutes"):

  • Break down the problem into SMALL, SPECIFIC questions that can each be answered with a single metric query
  • Think systematically about layers: Application → Services → Infrastructure → Dependencies
  • Generate questions like:
    • "Are there any K8S deployments down in the last 30 minutes?"
    • "What's the p99 latency in the ELB?"
    • "Are there any pods with high restart counts?"
    • "What RDS instances exist and are they healthy?"

3. Metric Discovery

  • ALWAYS start by using search_relevant_metrics tool to find metrics related to the subject the user is measuring (e.g. "requests", "errors", "latency") — NOT the dimension they want to slice by (e.g. "user_email", "account_id"). If that metric doesn't carry the dimension, see "Handling a missing filter label" below — but don't go looking there unless a needed label is actually missing.
  • Analyze the returned metrics and their descriptions to identify the most appropriate ones
  • If no relevant metrics are found, try alternative search terms or broader keywords
  • When two metric names differ only by a _count (or _sum) suffix, prefer the base metric. This follows Prometheus naming conventions: _count and _sum are the components a histogram or summary emits, where _count is the number of observations recorded — not the quantity being measured. Treat this as a heuristic, not a hard rule: if the user explicitly wants the number of observations, _count is the correct choice.
  • Match the metric to what the user is measuring, not to whichever metric happens to carry their filter label. Identify the action or subject in the user's question (e.g. "requests served", "errors", "logins", "bytes sent") and pick the metric whose description reflects that outcome — even if a different metric is the one that exposes the label they want to slice by. Example: if the user asks "how many requests came from premium accounts?" and http_requests_total measures requests but lacks an account_tier label, while sessions_total has account_tier but counts sessions, still measure with http_requests_total and bring in the label via a join (see "Handling a missing filter label" below). Switching to sessions_total just because it has the label silently changes what you're counting (sessions ≠ requests). However you discover the bridge metric, the dimension filter must be applied inside a single PromQL on()/group_left() join — never by running separate queries and combining the numbers in prose.

Read the full file on GitHub · 430 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago First seen · 430 lines · 96 tokens per session scan A 9980ab9428f4

Subscribe to this mod's changes

coralogix-metrics-query is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 96 tokens to every session and 7,183 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.

Related

coralogix-metrics-query compared with skills from other repositories

coralogix-metrics-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coralogix-metrics-queryaws/tools-for-devops-agentSkill153yesterdayApache-2.0A96Claude Code, Codex
hyperpod-node-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A139Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A80Claude Code
hyperpod-ncclawslabs/agent-pluginsSkill953todayApache-2.0A150Claude Code
hyperpod-performance-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A133Claude Code
hyperpod-slurm-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A162Claude Code
hyperpod-issue-reportawslabs/agent-pluginsSkill953todayApache-2.0A99Claude Code