
Cx Cli
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-codeInstalls 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