If you're using Coralogix's cx CLI, this skill handles the housekeeping that applies across all commands. It watches for version updates through multiple channels (agents mode JSON, schema output, or plain text on stderr) and surfaces a clean prompt to upgrade both the binary and the skill itself. The notification logic is careful: it waits until after your command finishes, shows the message once per session, and always presents both upgrade steps together. It also sets some sensible defaults like using `--output agents` for machine readable responses and `cx schema` for command discovery. Basically prevents the CLI from nagging you mid-task while making sure you don't miss important updates.

skills.sh installs
4.4K
GitHub stars
242
last updated
Aug 21, 2026

Install

$ npx -y skills add coralogix/cx-cli --skill cx-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

cx-cli

Cross-cutting behaviors for all cx CLI commands.


Update Notifications

After running any cx command, check for update notices using the channels below (in priority order). If a newer version is available, finish answering the user's request first, then mention the update once at the end.

An update notice always has two parts — binary upgrade and skills refresh. Offer both commands; don't mention only the version number or only the binary upgrade.

1. Primary — toon mode (-o toon)

Commands with --output toon append a standalone trailing JSON line to stdout:

{"_meta":{"update":{"binary":{"current":"0.1.7","latest":"0.2.0","command":"brew upgrade cx"},"skills":{"command":"npx skills add coralogix/cx-cli/skills","docs":"https://github.com/coralogix/cx-cli#install"}}}}

Scan the last line of stdout for _meta.update. When present:

  • Binary upgrade: _meta.update.binary.command (current: .binary.current, latest: .binary.latest)
  • Skills refresh: _meta.update.skills.command

2. Schema startup check

Sponsors

Details

Repository
github.com/coralogix/cx-cli
Categories
DevOps & CI/CD, CLI & Terminal
First seen
Jul 14, 2026

More from coralogix/cx-cli

All 14
1thedotmack avataroh-my-issuesthedotmack/claude-memCluster a GitHub issue backlog by root cause into a small set of plan-master issues, redirect children with a standardized comment, and bundle architectural-fix4.3Kskills.sh installs
2composiohq avatarinternal-commscomposiohq/awesome-claude-skillsA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever 4.3Kskills.sh installs
3stripe avatarstripe-directorystripe/aiUse when the user wants to find businesses, software, service providers, or partners for a specific industry, workflow, pain point, capability, or job to be don4.3Kskills.sh installs
4github avatardoublecheckgithub/awesome-copilotThree-layer verification pipeline for AI output. Extracts verifiable claims, finds supporting or contradicting sources via web search, runs adversarial review f4.3Kskills.sh installs
5dotnet avatarbinlog-failure-analysisdotnet/skillsAnalyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-p4.3Kskills.sh installs
6dpearson2699 avatardebugging-instrumentsdpearson2699/swift-ios-skillsDebug iOS apps and profile performance using LLDB, the interactive Memory Graph Debugger, and Instruments. Use for crashes, retain-cycle inspection, hangs, buil4.3Kskills.sh installs