add-command
Use this skill when the user asks to "add a command", "implement cx <something>", "new subcommand", "new CLI command", "add a new…
Triage and manage Coralogix Cases with the `cx cases` CLI — e.g. acknowledge, assign, resolve, or re-prioritize a case, or inspect its event timeline or notification deliveries.
$ npx -y skills add coralogix/cx-cli --skill cx-cases --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cx-casesContext preview
The summary Claude sees to decide when to auto-load this skill.
Triage and manage Coralogix Cases with the `cx cases` CLI — e.g. acknowledge, assign, resolve, or re-prioritize a case, or inspect its event timeline or notification deliveries.
name: cx-cases description: > Triage and manage Coralogix Cases with the `cx cases` CLI — e.g. acknowledge, assign, resolve, or re-prioritize a case, or inspect its event timeline or notification deliveries. metadata: version: "0.1.0"
A **Case** groups related alert events into one investigation unit with a status, priority, category, and assignee. Use this skill to inspect cases and drive them through their lifecycle (active → acknowledged → resolved → closed).
| Command | Purpose | |---|---| | `cx cases get <id>` | Get a single case by ID | | `cx cases update <id> [--title] [--resolution-reason]` | Update mutable fields | | `cx cases comment <id> --text <text>` | Add a comment to the case timeline | | `cx cases assign <id> --user <email>` | Assign a case (email, or raw user ID) | | `cx cases unassign <id>` | Remove the assignee | | `cx cases acknowledge <id>` | Acknowledge (signals you're working it; stops re-notification) | | `cx cases unacknowledge <id>` | Remove the acknowledgment | | `cx cases resolve <id> --reason <text>` | Resolve a case (irreversible — see below) | | `cx cases close <id>` | Close a case (terminal) | | `cx cases set-priority <id> --priority <P1..P5>` | Override the computed priority | | `cx cases clear-priority <id>` | Remove a priority override | | `cx cases events list <case-id>` | Event timeline (status changes, comments, assignments) | | `cx cases events get <event-id>` | A single event — drill in, e.g. to expand a comment thread | | `cx cases notifications <case-id> [<case-id> ...]` | Notification deliveries (connector, status, time) |
PENDING_ACTIVATION ──► ACTIVE ◄────────► ACKNOWLEDGED
│ ╲ │ ╲
│ ╲ │ ╲
▼ ╲ ▼ ╲
CLOSED ╲──► RESOLVED ◄─── (from ACK)
│
▼
CLOSED (terminal)| From state | Allowed transitions | Notes | |---|---|---| | `PENDING_ACTIVATION` | → `ACTIVE` | System-driven activation; not user-controllable | | `ACTIVE` | → `ACKNOWLEDGED`, `RESOLVED`, `CLOSED` | Ack is optional; for a false alarm, `close` directly (skip `resolve`) | | `ACKNOWLEDGED` | → `ACTIVE`, `RESOLVED`, `CLOSED` | The only "back" transition: `unacknowledge` returns it to `ACTIVE` | | `RESOLVED` | → `CLOSED` only | **Irreversible** — cannot reopen to `ACTIVE`/`ACKNOWLEDGED` | | `CLOSED` | (none) | **Terminal** |
Categories: `AVAILABILITY` or `SECURITY`. Priorities: `P1` (highest) → `P5`.
1. **Inspect** — `cx cases get <id>`. The payload includes `groupings`, `labels`, `impactedEntities`, `kpiBreaches`, `aiSummary`, and both `priorityDetails.system` (computed) and `priorityDetails.override` (user-set). 2. **Investigate** — Pull the underlying telemetry by querying the alert's DataPrime / PromQL to find root cause before acting. Optionally export the investigation via `cx olly` or pull the case's `impactedEntities` / `groupings` to confirm the impact. See the `cx-telemetry-querying` skill. 3. **Claim** — `cx cases assign <id> --user you@example.com` then `cx cases acknowledge <id>`. 4. **Record findings** — `cx cases comment <id> --text "<note>"` to leave investigation notes on the timeline (root cause, links, next steps) as you go. Comments appear as `comment` events in `cx cases events list`. 5. **Resolve or close** — see below. 6. **Re-prioritize** if impact differs from the computed value — `cx cases set-priority <id> --priority P1` / `clear-priority`. Only possible while the case is still open; priority cannot be overridden once a case is `RESOLVED` or `CLOSED`.
Resolution is **irreversible** (a `RESOLVED` case can only move to `CLOSED`), so the CLI requires both a reason and a confirmation:
follow-up) visible to teammates in the timeline. Use `--no-reason` only when a reason genuinely doesn't apply.
refuses and must be handed to the user to run interactively.
If uncertain, stay in `ACKNOWLEDGED` (reversible via `unacknowledge`) until confident. For non-resolution edits (title, post-hoc postmortem link), use `cx cases update`.
There are no bulk endpoints. To act on many cases, pipe IDs through a loop, e.g. `... | jq -r '.[].id' | xargs -I {} cx cases acknowledge {}`.
for false alarms `close` from `ACTIVE` directly.
`<base>` is the console URL already seen in a `View in Coralogix: <base>/...` line printed by any `cx cases` command this session — never fabricate `<base>` yourself.
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,…