ccc-openclaw-manage

ccc-openclaw-manage is a command for Claude Code from KevinZai/commander. It costs 56 tokens per session (939 once invoked), scanned A, original, MIT.

A command interface for managing an OpenClaw gateway, its agents, and their sessions from Claude Code.

In plain words
What is it for?
List or restart agents, inspect sessions, send messages, run health checks, repair common issues, and view gateway logs.
Why use it?
It avoids switching between tools for routine monitoring, messaging, cleanup, log viewing, and agent recovery.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool; mentions Claude Code; built for openclaw.

Good fit List or restart agents, inspect sessions, send messages, run health checks, repair common issues, and view gateway logs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kevinzai/commander/ccc-openclaw-manage
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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

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-openclaw-manage

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-openclaw-manage"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-openclaw-manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00056 $0.00939
Opus 5.5 $0.00022 $0.00376
Sonnet 5.5 $0.00011 $0.00188
Haiku 4.5 $0.00006 $0.00094

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

Security

Grade A, and why

ccc-openclaw-manage scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/ccc-openclaw-manage.md · 87 lines

How it starts

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

/ccc-openclaw-manage — OpenClaw operations from Claude Code

CC Commander · /ccc-openclaw-manage · runs openclaw CLI operations for an OpenClaw install you already operate.

OpenClaw is an optional third-party agent runtime. Nothing here works unless the openclaw CLI is installed and a gateway is configured.

Arguments

$ARGUMENTS is one of the subcommands below. With no argument, run status.

Subcommand Effect Changes state
status Gateway health, channels, recent sessions no
agents list Configured agents no
agents status <id> Sessions for one agent no
agents restart <id> Reset one agent's session yes
sessions list Stored sessions no
sessions send <agent> <message> Send a message to an agent yes (external message)
sessions cleanup Session-store maintenance yes
health Read-only health checks no
health --fix Propose repairs, apply only approved ones yes
logs [agent] Recent gateway or agent log lines no

What happens

  1. Confirm the CLI is present.

    command -v openclaw && openclaw --version
    

    If it is missing, report that OpenClaw is not installed and stop.

  2. Run the read-only command for the subcommand. Confirm exact flags with openclaw <command> --help when the installed version differs.

    openclaw gateway status                       # status: gateway
    openclaw status                               # status: channels and recent sessions
    openclaw agents list                          # agents list
    openclaw sessions list --agent <id> --json    # agents status <id>
    openclaw sessions list --all-agents --json    # sessions list
    openclaw health --json                        # health
    openclaw doctor --lint                        # health: read-only findings
    openclaw logs --limit 200 --plain             # logs
    

    For logs <agent>, filter the gateway log output for that agent id. If the gateway is unreachable, report the exact error and stop; do not start or restart it.

Read the full file on GitHub · 87 lines

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 · +27 lines · +35 tokens per session d681d8da8cee
  2. 2mo ago First seen · 60 lines · 21 tokens per session scan A cfd182fec15e

Subscribe to this mod's changes

ccc-openclaw-manage is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 939 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

ccc-openclaw-manage compared with commands from other repositories

ccc-openclaw-manage next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-openclaw-manageKevinZai/commanderCommand6yesterdayMITA56Claude Code
loopskullninja/coco-workflowCommand71mo agoMITA28Claude Code
phaseskullninja/coco-workflowCommand71mo agoMITA21Claude Code
statusskullninja/coco-workflowCommand71mo agoMITA17Claude Code
justone-publishGodsB1025/justoneCommand26mo agoMITA22Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code