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.
npx skills add coralogix/cx-cli --skill cx-infragit clone --depth 1 https://github.com/coralogix/cx-cliWrote 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.
[](https://agentmods.dev/skills/coralogix/cx-cli/cx-infra)<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.
<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>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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-changesandconfig-difftake 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. Onlytypes,filtersandlistfan out across profiles. From a multi-profilelist, use the row'sprofileto pick the one to query. - Ids mean nothing outside this skill. To reach other skills, use the resource
nameor itsServicevalue.
Finding resources
filtersfirst. Attribute names and values differ per type, so never guess. Per attribute:kind(stringis free text,statusa fixed set),values(the accepted set) andwildcard(whether*works).listwith the filters:- Every
--match-allmust match, at least one--match-anymust match, and the two groups are ANDed.--match-all OS=linux --match-any Health=Critical --match-any Region=eu-west-1meansOS=linux AND (Health=Critical OR Region=eu-west-1). - Commas give one attribute several values. In
--match-anyany one matches. In--match-allall must, which only makes sense for wildcards:--match-all 'Name=*alert*,*processing*'. - Name an attribute once, in one flag. A repeat is refused.
--categoryand--typeare 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, notOS=Linux). Wildcards are not. Quote wildcards so the shell leaves*alone. --name-filterand--scope(service,environment,team) are legacy flags. They need both--categoryand--type, and cannot mix with--match-*.--match-all 'Name=*web*'does what--name-filter webdoes.
- Every
- Zero rows is an answer. Don't retry. A wrong attribute or value is refused with the accepted ones listed.
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.
- 1mo ago Changed · -82 lines · +21 tokens per session aba46c6fcbca
- 2mo ago Changed · +76 lines · +34 tokens per session 395a2305dcb9
- 3mo ago First seen · 172 lines · 117 tokens per session scan A 1a42a768c4f8
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.
cx-infra compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cx-infracoralogix/cx-cli | Skill | 244 | today | Apache-2.0 | A | 172 | Claude Code, Codex |
| author-labelsvercel/vercel | Skill | 17k | today | Apache-2.0 | A | 25 | Claude Code, Codex |
| latchbio-integrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| claw-adminx-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| x-netsx-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| x-themex-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 74 | Claude Code, Codex |
| x-arpx-cmd/x-cmd | Skill | 4.8k | 10d ago | Apache-2.0 | A | 64 | Claude Code, Codex |