cx-cli-setup

cx-cli-setup is a skill for Claude Code, Codex from Checkmarx/cx-agentic-ai. It costs 51 tokens per session (4,016 once invoked), scanned B, original, Apache-2.0.

A setup guide for the Checkmarx command-line tool, including installation, updates, and authentication. The command-line tool lets the security checks run from a terminal.

In plain words
What is it for?
Installing or upgrading the cx tool, signing in with an API key or browser-based login, and fixing expired credentials.
Why use it?
It resolves missing, outdated, or unauthenticated Checkmarx tools that would otherwise prevent security scans or remediation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Good fit Installing or upgrading the cx tool, signing in with an API key or browser-based login, and fixing expired credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/checkmarx/cx-agentic-ai/cx-cli-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Checkmarx/cx-agentic-ai --skill cx-cli-setup
Clone the repo
git clone --depth 1 https://github.com/Checkmarx/cx-agentic-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cx-cli-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/checkmarx/cx-agentic-ai/cx-cli-setup/github.svg)](https://agentmods.dev/skills/checkmarx/cx-agentic-ai/cx-cli-setup)
Your own site
<a href="https://agentmods.dev/skills/checkmarx/cx-agentic-ai/cx-cli-setup"><img src="https://agentmods.dev/badge/skills/checkmarx/cx-agentic-ai/cx-cli-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cx-cli-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/checkmarx/cx-agentic-ai/cx-cli-setup"><img src="https://agentmods.dev/badge/skills/checkmarx/cx-agentic-ai/cx-cli-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.04016
Opus 5.5 $0.00020 $0.01606
Sonnet 5.5 $0.00010 $0.00803
Haiku 4.5 $0.00005 $0.00402

Measured 1mo ago against content hash 265343c2b9ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cx-cli-setup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

(Windows: `%USERPROFILE%\.checkmarx\checkmarxcli.yaml`) — protect it like an SSH key (`chmod 600`).
plugins/codex-devassist/skills/cx-cli-setup/SKILL.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CX CLI Setup

Guides the developer through installing, upgrading, and authenticating the Checkmarx One cx CLI so the security plugin can operate. The OS is known from the Codex CLI session — use the matching path; no detection command is needed. Detailed steps live under references/ (see Additional Resources); this router is the spine.

When to Use

  • The cx CLI is not installed or not found in PATH
  • A hook blocked an operation because cx is missing or below the minimum version
  • The developer explicitly runs $cx-cli-setup to reconfigure or reauthenticate
  • The plugin detected expired credentials and needs a re-auth step

Run every cx command in the foreground

Every cx invocation in this skill — cx version, cx auth --help, cx auth login, cx auth validate, cx configure set …, and the bootstrap install/upgrade command — is run with the shell tool's normal, synchronous (foreground) execution. Never background any of them (the tool's own async/background option). A backgrounded command hides its real exit status and hides a hang, so you cannot tell a genuine failure from a Windows-sandbox stall (see the cx auth login / cx auth validate notes below) or correctly report the outcome to the developer. Give a command enough timeout to finish (cx auth login needs 5–6 minutes for the browser/MFA round trip) instead of backgrounding it.

Phase 0 — Assess Current State

If a gate deny message sent you here, it already contains the answer — read it before running anything. Every deny states whether cx resolved (with its absolute path), the installed vs required version, and whether auth succeeded. Do not spend commands rediscovering what it just told you.

Otherwise run the two checks below — one bare command each. The gate admits only bare commands, so a chained probe like which cx || where cx 2>nul is REJECTED (the || is chaining and nul is an ordinary file, not a null device, under Git-Bash).

which cx            # Bash tool — is the CLI on PATH?
cx auth validate    # only if present

Read the full file on GitHub · 268 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +38 lines 265343c2b9ed
  2. 1mo ago First seen · 230 lines · 51 tokens per session scan B cbb2c5a8aac5

Subscribe to this mod's changes

cx-cli-setup is a skill published in the GitHub repository Checkmarx/cx-agentic-ai (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 4,016 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mcp2cli

Use mcp2cli to connect to, explore, and execute commands against any MCP (Model Context Protocol) server from the terminal. Covers discovery, tool invocation, resource reading, prompt execution, alias creation, config management, background jobs, authentication, and JSON output pipelines.

mcp2cli/source-code · 60 tokens

loot-agent-mcp

You are playing LOOT on Robinhood Chain (4663) through the loot-agent-mcp tools. The game in one line: hold tokens through risk to mint loot boxes, play to earn keys, open boxes with keys, claim your pro rata share of the token's fee pot in ETH. Pots grow when the token trades. Selling burns your game position for the…

D-Kek/loot-agent-mcp · 0 tokens

cortex-explore-memory

Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find gaps', 'what topics are weak', or when you…

cdeust/Cortex · 91 tokens

qmclaw-workbench

A local simulator for superconducting quantum-bit experiments, including measurements used to study and tune a qubit. It produces bounded synthetic results without connecting to laboratory hardware or quantum cloud services.

xi-zhao/OpenQuantum · 124 tokens

quantum-grover

A Qiskit implementation of Grover's algorithm, a quantum search method that increases the chance of finding a marked item. It can explain the method, build an explicit quantum circuit, or run it with chosen inputs.

xi-zhao/OpenQuantum · 62 tokens

alicebob-cat-circuits

A local simulator for Alice & Bob cat-qubit circuits, a type of quantum circuit that encodes information in oscillator states. It builds physical or error-corrected logical noise models, compiles the gates, and returns measurement samples and the model parameters used.

xi-zhao/OpenQuantum · 51 tokens