ccc-infra

ccc-infra is a skill for Claude Code, Codex from KevinZai/commander. It costs 61 tokens per session (1,754 once invoked), scanned A, original, MIT.

A status checker for local development servers and connected coding-agent services. It reads an optional services.json file that you maintain to learn which services to probe.

In plain words
What is it for?
Use it to check local service URLs or ports and the health of relevant Claude and Codex tooling, then identify likely next steps.
Why use it?
It shows whether the services your project declares are reachable without assuming private server names, ports, or infrastructure.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to check local service URLs or ports and the health of relevant Claude and Codex tooling, then identify likely next steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-infra
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 KevinZai/commander --skill ccc-infra
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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 ccc-infra

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-infra/github.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-infra)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-infra"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-infra/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 ccc-infra

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-infra"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-infra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00061 $0.01754
Opus 5.5 $0.00024 $0.00702
Sonnet 5.5 $0.00012 $0.00351
Haiku 4.5 $0.00006 $0.00175

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

Security

Grade A, and why

ccc-infra scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

code=$(curl -s -o /dev/null -w '%{http_code}' --proto '=http,https' --max-time 2 "$url"); echo "$name url $code"
commander/cowork-plugin-codex/skills/ccc-infra/SKILL.md · 127 lines

How it starts

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

$ccc-infra — Dev services status

CC Commander · $ccc-infra · a status table for your declared services, Claude MCPs and the Codex CLI.

Scope is Claude Code and Codex tooling plus whatever the user lists in <config dir>/commander/services.json (~/.claude/commander/services.json by default; the config dir is CCC_CONFIG_DIR, then CLAUDE_CONFIG_DIR, then ~/.claude; until the lane has its own copy, read the ~/.claude/commander/ copy and write to the lane). The skill ships with no hardcoded ports, hosts or process names. Menu actions mirror references/infrastructure.json.

Codex: ask the pickers as plain-text questions.

When to use / when not to

  • Use for "is my dev server up?", "which MCPs are connected?", "is Codex installed?", or a quick health table before starting work.
  • Not for: a failing CI run ($ccc-ci), Commander's own install diagnostics ($ccc-doctor), or production monitoring and alerting ($ccc-devops).

Config (optional)

<config dir>/commander/services.json, written by the user or by step 5 with their answers:

{
  "services": [
    { "name": "API", "url": "http://localhost:3000/health" },
    { "name": "Worker", "port": 8080 }
  ]
}

Each entry has a name and either an http(s) url or an integer port (1–65535). Skip entries that fail this shape and list them as "invalid entry". No file: skip to the tooling checks; never invent a service.

What happens

  1. Read the config.

    CCC_STATE="${CCC_CONFIG_DIR:-${CLAUDE_CONFIG_DIR:-$HOME/.claude}}/commander"; SVC="$CCC_STATE/services.json"; [ -e "$SVC" ] || SVC="$HOME/.claude/commander/services.json"
    test -f "$SVC" && cat "$SVC" || echo "no services.json"
    
  2. Probe declared services only. With probe <name>, probe just that entry.

    CCC_STATE="${CCC_CONFIG_DIR:-${CLAUDE_CONFIG_DIR:-$HOME/.claude}}/commander"; SVC="$CCC_STATE/services.json"; [ -e "$SVC" ] || SVC="$HOME/.claude/commander/services.json"
    jq -r '.services[] | [.name, (.url // ""), ((.port // "") | tostring)] | @tsv' "$SVC" |
    while IFS=$'\t' read -r name url port; do
      if [ -n "$url" ]; then
        code=$(curl -s -o /dev/null -w '%{http_code}' --proto '=http,https' --max-time 2 "$url"); echo "$name	url	$code"
      else
        lsof -nP -iTCP:"$port" -sTCP:LISTEN >/dev/null 2>&1 && echo "$name	port	LISTEN" || echo "$name	port	DOWN"
      fi
    done
    

    jq absent: Read the file and probe each entry with the same curl or lsof line.

Read the full file on GitHub · 127 lines

Files

What ships with it

2 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 · -1 lines f51f4b9d448b
  2. 1mo ago Changed · +2 lines scan B → A 035fb84da987
  3. 1mo ago Changed · +16 lines · +17 tokens per session 5a1210da90a6
  4. 3mo ago First seen · 110 lines · 44 tokens per session scan B 04ec81eeda00

Subscribe to this mod's changes

ccc-infra is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 1,754 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ccc-infra compared with skills from other repositories

ccc-infra next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-infraKevinZai/commanderSkill6yesterdayMITA61Claude Code, Codex
logingreenpolo/cc-multi-cli-pluginSkill1972d agoApache-2.0A10Claude Code
skill-devandisab/swe-marketplaceSkill232d agoMITA86Claude Code
coordinatorandisab/swe-marketplaceSkill232d agoMITA193Claude Code
mcp-tool-devandisab/swe-marketplaceSkill232d agoMITA158Claude Code
debt-ops-addbcanfield/agentic-tech-debtSkill9yesterdayMITA115Claude Code, Codex
debt-ops-metricsbcanfield/agentic-tech-debtSkill9yesterdayMITA74Claude Code, Codex