add-command
Use this skill when the user asks to "add a command", "implement cx <something>", "new subcommand", "new CLI command", "add a new…
Query Coralogix's Service Catalog (APM v2 entities) with the `cx service-catalog` CLI — discover entity types, list known entities, check their schema, and pull aggregated or timeseries data for services, databases, operations, JVMs, and Kubernetes pods. Use when the user asks
$ npx -y skills add coralogix/cx-cli --skill cx-service-catalog --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cx-service-catalogContext preview
The summary Claude sees to decide when to auto-load this skill.
Query Coralogix's Service Catalog (APM v2 entities) with the `cx service-catalog` CLI — discover entity types, list known entities, check their schema, and pull aggregated or timeseries data for services, databases, operations, JVMs, and Kubernetes pods. Use when the user asks
name: cx-service-catalog description: > Query Coralogix's Service Catalog (APM v2 entities) with the `cx service-catalog` CLI — discover entity types, list known entities, check their schema, and pull aggregated or timeseries data for services, databases, operations, JVMs, and Kubernetes pods. Use when the user asks to "list services", "what entity types exist", "show me service latency", "check error rate for a service", "which pods are using the most memory", "database operation performance", "JVM GC pauses", "service health over time", "compare services by latency", "what columns are available for this entity type", "service catalog schema", or wants to explore APM entities and their metrics. metadata: version: "0.1.0"
Use this skill to discover and query **Service Catalog entities** — services, databases, operations, database operations, JVMs, JVM GC, Kubernetes pods, and transactions — and their columnar metrics (latency, error rate, health, resource usage, etc.) via the v2 Service Catalog API.
| Command | Purpose | Key flags | |---|---|---| | `cx service-catalog entity-types` | List entity types this account has data for | - | | `cx service-catalog schema <entity-type>` | Columns/labels schema for one entity type | - | | `cx service-catalog entities <entity-type>` | Known entities of one type (e.g. service names) | - | | `cx service-catalog data <entity-type>` | Aggregated column data across every entity of a type | `--start`, `--end`, `--column` (required, repeatable); `--group-by`, `--filter`, `--aggregation`, `--limit`, `--sort-column`, `--sort-order` | | `cx service-catalog entity-data <entity-type> <entity-id>` | Column data for one named entity (drilldown) | `--start`, `--end`, `--column` (required, repeatable); `--group-by`, `--filter`, `--aggregation` |
structured output.
`database-operation`, `jvm`, `jvm-gc`, `k8s-pod`, `transaction` (case-insensitive, hyphens or underscores). The full proto name (`ENTITY_TYPE_K8S_POD`) also works. Unknown values are rejected client-side before any request is made.
RFC3339 timestamps.
`cx service-catalog schema <entity-type>` first; the API rejects unknown ones.
(filters AND together); combine multiple values for the same label with commas rather than repeating the flag — repeating a label is rejected client-side.
`--sort-column`/`--sort-order`) or `timeseries`. **`--limit`, `--sort-column`, and `--sort-order` only apply to `table`** — the backend silently ignores them for `timeseries`, so the CLI rejects that combination up front rather than sending a request whose flags are quietly dropped.
`entities` (e.g. `checkout/api`), quoted if it contains `/`.
Four steps, and only because each one supplies an input the next one requires: `entity-types` gives valid `<entity-type>` values, `schema` gives valid `--column` ids, `entities` gives the `entity-id` for a drilldown.
1. **Discover what entity types exist** — never guess, they vary by account:
cx service-catalog entity-types -o json
2. **Check the schema** for one entity type to find valid column ids and filterable/groupable labels:
cx service-catalog schema service -o json
3. **List known entities** of that type (e.g. service names):
cx service-catalog entities service -o json
4. **Query data** — aggregated across all entities, or scoped to one. Column ids, filter/group-by labels, and entity ids below are placeholders — always substitute values returned by `schema`/`entities` for the entity type in question, they vary by account and entity type:
cx service-catalog data <entity-type> --start now-1h --end now \
--column <column-id> --column <column-id> -o json
cx service-catalog entity-data <entity-type> <entity-id> --start now-1h --end now \
--column <column-id> -o jsonThe commands below use `service` and `k8s-pod` for concreteness, but every `<column-id>`, `<filterable-label>`, `<groupable-label>`, and `<entity-id>` must come from that entity type's own `schema`/`entities` output — never assume a column or label from one entity type exists on another.
cx service-catalog schema service -o json # discover column ids first cx service-catalog data service --start now-1h --end now \ --column <column-id> --aggregation table \ --sort-column <column-id> --sort-order desc --limit 5 -o json
cx service-catalog schema service -o json # discover filterable_labels first cx service-catalog data service --start now-1h --end now \ --column <column-id> --column <column-id> \ --filter <filterable-label>=<value> -o json
cx service-catalog schema service -o json # discover groupable_labels first cx service-catalog data service --start now-1h --end now \ --column <column-id> --group-by <groupable-label> -o json
cx service-catalog schema k8s-pod -o json # discover column ids first cx service-catalog data k8s-pod --start now-1h --end now \ --column <column-id> --column <column-id> --column <column-id> -o json
cx service-catalog entities service -o json # discover entity ids first cx servi
The observability backbone for AI agents and engineering teams. Connect your agents to live logs, traces, metrics, dashboards, and alerts so they can investigate incidents, explain what changed, and reason about production with real operational context.
Use this skill when the user asks to "add a command", "implement cx <something>", "new subcommand", "new CLI command", "add a new…
Use this skill when the user asks to "add a skill", "create a skill", "new skill", "write a skill for", "skill for cx…
Creates GitHub pull requests with auto-generated summaries. Use this skill whenever the user wants to create a PR, open a pull…
Use this skill when the user asks to "run tests", "test this", "check if tests pass", "cargo test", "run clippy", "lint this",…
Search and read official Coralogix platform documentation using **`cx docs search`** and **`cx docs fetch`**. Use when the user…
Use this skill for any question or action about the user's AI/GenAI applications or agents — their behavior, prompts/responses,…