Cx Cost Optimization
Coralogix cost-reduction skill covering usage measurement, TCO policy review, retention tuning, and archive configuration.
- CCM score
- 70 of 100
- skills.sh installs
- 5.3K
- GitHub stars
- 243
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the cost lifecycle: measuring billable usage, reviewing TCO policies, checking retention periods, and configuring archive storage
- Requires
cx usage capabilitiesbefore anycx usage query, so billing answers rely on tenant-specific labels and units rather than guessed ones - Provides jq recipes for ranking top consumers, daily trends, logs and spans counts, and filtering low-priority TCO policies
- Designed for teams investigating why observability spend is high and deciding which logs to move to archive tiers
Install
$ npx -y skills add coralogix/cx-cli --skill cx-cost-optimization -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost Optimization Skill
Use this skill when investigating or reducing Coralogix data costs. It covers the full cost management lifecycle: measuring current spend, reviewing TCO policies, adjusting retention periods, and configuring archive storage for cold data.
CLI Commands
| Command | Subcommands | Purpose |
|---|---|---|
cx usage | summary, daily, logs-count, spans-count, export-status, capabilities, query | Measure current data consumption and billable usage |
cx tco | list, get, create, update, delete, reorder, test, settings, settings-update | Manage TCO (Total Cost of Ownership) policies |
cx retentions | list, update, activate, status | Manage data retention periods |
cx archive logs | get, set | Configure logs archive target |
cx archive metrics | get, create, update, enable, disable, validate | Configure metrics archive storage |
cx metrics query | <promql> (positional), --time | Query billing and usage metrics via PromQL (instant) |
cx metrics query-range | <promql> (positional), --start/--end | Query billing and usage metrics via PromQL (range) |
Details
- Repository
- github.com/coralogix/cx-cli
- Categories
- DevOps & Cloud, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the cx-cost-optimization skill do?
cx-cost-optimization helps an agent investigate and reduce Coralogix data costs. It covers measuring current spend with cx usage, reviewing TCO policies, adjusting retention periods, and configuring archive storage for cold data.
How do I install the cx-cost-optimization skill?
Run npx -y skills add coralogix/cx-cli --skill cx-cost-optimization -y in a project to install cx-cost-optimization. Once installed, the agent can answer questions such as why the Coralogix bill is high or how to lower the logging bill.
Which category is cx-cost-optimization in, and what sets it apart?
cx-cost-optimization is listed in the DevOps & Cloud category on Claude Marketplaces, next to azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Unlike those Azure skills, cx-cost-optimization targets Coralogix billable usage, TCO policies and retention settings.
Does cx-cost-optimization require the cx CLI?
Yes, cx-cost-optimization works through the cx CLI from the coralogix/cx-cli repository, using commands such as cx usage capabilities, cx tco list and cx retentions list. The skill's metadata shows version 0.1.0.
More from coralogix/cx-cli
All 12Similar to Cx Cost Optimization
More DevOps & Cloudcost-managementSkillgrafana/skills4.7K installsGrafana Cloud cost reduction via team attribution, Adaptive Metrics, Logs, and Traces, plus usage alerts.
cx-telemetry-queryingSkillcoralogix/cx-cli7.2K installsRouting telemetry questions across logs, metrics, traces, and RUM with discovery, fallback, and query-reference loading.
McpspendMCP serverandreisirbu91-lab59 starsCost and usage data from MCPSpend: today's spend, monthly limits, top tools, and sessions.
azure-cost-optimizationSkillmicrosoft/github-copilot-for-azure103.2K installsAgent skill azure-cost-optimization.