cx-infra

cx-infra is a skill for Claude Code, Codex from coralogix/cx-cli. It costs 172 tokens per session (2,092 once invoked), scanned A, original, Apache-2.0.

A command-line tool for inspecting infrastructure resources monitored in Coralogix, a software monitoring service. It can discover resource types, list resources, show health history, and return raw resource data.

In plain words
What is it for?
Use it to list resources by category and type, filter them by name or scope, compare resources across accounts, review daily health samples, or inspect a resource's raw document.
Why use it?
It gives developers a consistent way to find monitored resources and inspect their condition or details without changing them. Results can be returned in structured formats such as JSON.

Skill for Claude CodeCodex

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

Good fit Use it to list resources by category and type, filter them by name or scope, compare resources across accounts, review daily health samples, or inspect a resource's raw document.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coralogix/cx-cli/cx-infra
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 coralogix/cx-cli --skill cx-infra
Clone the repo
git clone --depth 1 https://github.com/coralogix/cx-cli

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 cx-infra

README.md
[![agentmods](https://agentmods.dev/badge/skills/coralogix/cx-cli/cx-infra/github.svg)](https://agentmods.dev/skills/coralogix/cx-cli/cx-infra)
Your own site
<a href="https://agentmods.dev/skills/coralogix/cx-cli/cx-infra"><img src="https://agentmods.dev/badge/skills/coralogix/cx-cli/cx-infra/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 cx-infra

Your own site · 80×15
<a href="https://agentmods.dev/skills/coralogix/cx-cli/cx-infra"><img src="https://agentmods.dev/badge/skills/coralogix/cx-cli/cx-infra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,092 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. Third-party audits
  • Socket pass 7 Oct 2026
  • Snyk pass 7 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00172 $0.02092
Opus 5.5 $0.00069 $0.00837
Sonnet 5.5 $0.00034 $0.00418
Haiku 4.5 $0.00017 $0.00209

Measured 1mo ago against content hash aba46c6fcbca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cx-infra 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 1mo 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/cx-infra/SKILL.md · 166 lines

How it starts

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

Infrastructure Resources

All commands live under cx infra resources and are read-only. Run cx infra resources <command> --help for flags.

"Infrastructure monitoring is not enabled for this team" means the team has no infrastructure data. Stop and say so. Do not retry or change filters.

A stderr line starting warning: ... could not verify that infrastructure monitoring is enabled is informational: the enablement check itself failed and the command still ran.

Command Answers
types which (category, type) pairs exist
filters which attributes can be filtered on, and their accepted values
list which resources match, with their health policies
health-history daily health per resource, oldest first
raw-data the raw resource document, now or at a past time
config-changes which resources changed configuration in a window
config-diff what changed, field by field

Resource ids

  • Take them from list (resource_id) and pass them as-is, quoted.
  • health-history, config-changes and config-diff take up to 100 ids per call. Pass them all in one call, not one call each. Over 100, the CLI refuses. Split into batches.
  • An id belongs to one team, so the id commands refuse more than one -p. Only types, filters and list fan out across profiles. From a multi-profile list, use the row's profile to pick the one to query.
  • Ids mean nothing outside this skill. To reach other skills, use the resource name or its Service value.

Finding resources

  1. filters first. Attribute names and values differ per type, so never guess. Per attribute: kind (string is free text, status a fixed set), values (the accepted set) and wildcard (whether * works).
  2. list with the filters:
    • Every --match-all must match, at least one --match-any must match, and the two groups are ANDed. --match-all OS=linux --match-any Health=Critical --match-any Region=eu-west-1 means OS=linux AND (Health=Critical OR Region=eu-west-1).
    • Commas give one attribute several values. In --match-any any one matches. In --match-all all must, which only makes sense for wildcards: --match-all 'Name=*alert*,*processing*'.
    • Name an attribute once, in one flag. A repeat is refused.
    • --category and --type are plain filters, not requirements, and are not attributes (no --match-all Category=...). At least one filter or scope flag is required.
    • Exact values are case-sensitive (OS=linux, not OS=Linux). Wildcards are not. Quote wildcards so the shell leaves * alone.
    • --name-filter and --scope (service, environment, team) are legacy flags. They need both --category and --type, and cannot mix with --match-*. --match-all 'Name=*web*' does what --name-filter web does.
  3. Zero rows is an answer. Don't retry. A wrong attribute or value is refused with the accepted ones listed.

Read the full file on GitHub · 166 lines

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. 1mo ago Changed · -82 lines · +21 tokens per session aba46c6fcbca
  2. 2mo ago Changed · +76 lines · +34 tokens per session 395a2305dcb9
  3. 3mo ago First seen · 172 lines · 117 tokens per session scan A 1a42a768c4f8

Subscribe to this mod's changes

cx-infra is a skill published in the GitHub repository coralogix/cx-cli (244 stars, last pushed today), licensed Apache-2.0. It adds 172 tokens to every session and 2,092 once invoked, about $0.0007 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-08-30.

Related

cx-infra compared with skills from other repositories

cx-infra next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cx-infracoralogix/cx-cliSkill244todayApache-2.0A172Claude Code, Codex
author-labelsvercel/vercelSkill17ktodayApache-2.0A25Claude Code, Codex
latchbio-integrationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex
claw-adminx-cmd/x-cmdSkill4.8k10d agoApache-2.0A48Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.8k10d agoApache-2.0A69Claude Code, Codex
x-themex-cmd/x-cmdSkill4.8k10d agoApache-2.0A74Claude Code, Codex
x-arpx-cmd/x-cmdSkill4.8k10d agoApache-2.0A64Claude Code, Codex