checkmarx-cli-setup

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

A setup guide for the Checkmarx command-line tool, including installation, updates, and sign-in.

In plain words
What is it for?
Use it to check whether the tool is installed, validate access, install or upgrade it, and authenticate with an API key or browser sign-in.
Why use it?
It helps resolve missing, outdated, or unauthenticated command-line access before Checkmarx security tools are used. It also guides reauthentication when credentials expire.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/checkmarx/cx-agentic-ai/checkmarx-cli-setup
Any agent
npx skills add Checkmarx/cx-agentic-ai --skill checkmarx-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 checkmarx-cli-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/checkmarx/cx-agentic-ai/checkmarx-cli-setup.svg)](https://agentmods.dev/skills/checkmarx/cx-agentic-ai/checkmarx-cli-setup)
Your own site
<a href="https://agentmods.dev/skills/checkmarx/cx-agentic-ai/checkmarx-cli-setup"><img src="https://agentmods.dev/badge/skills/checkmarx/cx-agentic-ai/checkmarx-cli-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,771 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00060 $0.02771
Opus 5 $0.00030 $0.01385
Sonnet 5 $0.00012 $0.00554
Haiku 4.5 $0.00006 $0.00277

Measured 3d ago against content hash 959893d535ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

checkmarx-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 3d 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/copilot-devassist/skills/checkmarx-cli-setup/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 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 GitHub Copilot CLI (copilot-agent) 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 /checkmarx-cli-setup to reconfigure or reauthenticate
  • The plugin detected expired credentials and needs a re-auth step

Phase 0 — Assess Current State

Run both checks to decide where to enter:

which cx 2>/dev/null || where cx 2>nul   # Check 1 — is the CLI present?
cx auth validate                          # Check 2 — only if present
CLI present Auth result Action
No Offer the custom-path option (references/troubleshooting.md), then go to Phase 1
Yes Success Tell the developer all looks good; ask if they want to reconfigure/reauth anyway. If no, exit.
Yes Credential failure (invalid/revoked/expired) CLI is installed but auth failed — skip to Phase 2.
Yes Network failure (DNS/refused/timeout) CLI is installed but the server is unreachable — do not go to Phase 2; have them check network/proxy, then re-run cx auth validate.

Distinguish the two failures from the cx auth validate error text: credential failures contain "invalid"/"unauthorized"/"401"/"forbidden"; network failures contain "no such host"/"connection refused"/"timeout"/"dial tcp".

Phase 1 — Install the CLI

The plugin ships a self-contained installer, scripts/cx-bootstrap.sh, that downloads the right release asset for this OS/arch, verifies its checksum (fail-closed by default), and installs cx to the canonical store (%LOCALAPPDATA%\Checkmarx\cx\cx.exe on Windows, ~/.checkmarx/bin/cx on Unix). It needs only bash (Git Bash on Windows) — no Python.

Read the full file on GitHub · 196 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. 3d ago First seen · 196 lines · 60 tokens per session scan B 959893d535ac

Subscribe to this mod's changes

checkmarx-cli-setup is a skill published in the GitHub repository Checkmarx/cx-agentic-ai (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,771 once invoked, about $0.0003 per session on Opus 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

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…

comet-ml/opik-mcp · 147 tokens

quick-capture

Use this skill to drop a new task into GSD Task Manager from any AI assistant that has the gsd-mcp-server connected.

vscarpenter/gsd-task-manager · 0 tokens

chainstack

Work with the Chainstack MCP server to manage blockchain nodes and projects. Use when deploying nodes, migrating to Chainstack from another RPC provider such as QuickNode or Alchemy, checking platform status, searching Chainstack docs, contacting the Chainstack team, or interacting with the Chainstack platform API via…

chainstacklabs/mcp-server · 66 tokens

freshness-check

Model-aware staleness check before asserting how a PoE mechanic/item/system works, plus a scope filter so league/event mechanics don't bleed into the wrong character. Routes to freshnessindex.md + mechanicsindex.md.

charleslucas/poe_mcp_suite · 46 tokens