ccc-hermes

ccc-hermes is a skill for Claude Code, Codex from KevinZai/commander. It costs 34 tokens per session (2,122 once invoked), scanned A, original, MIT.

A bridge between Claude Code and the OpenClaw Hermes Gateway, a local system that routes messages between coding sessions and channels such as Telegram, Discord, Slack, or WhatsApp.

In plain words
What is it for?
Use it to start coding tasks from a messaging channel, send progress to Discord, query another agent, or pass difficult tasks from Hermes to Claude Code.
Why use it?
It lets messages and long-running coding work move between those channels and Claude Code. It requires the Hermes Gateway to be running locally on port 18789.

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/kevinzai/commander/ccc-hermes
Any agent
npx skills add KevinZai/commander --skill ccc-hermes
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-hermes

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-hermes.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-hermes)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-hermes"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-hermes.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00034 $0.02122
Opus 5 $0.00017 $0.01061
Sonnet 5 $0.00007 $0.00424
Haiku 4.5 $0.00003 $0.00212

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

Security

Grade A, and why

ccc-hermes 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 5d 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.

curl -fsS --max-time 2 http://localhost:18789/health 2>/dev/null \
commander/cowork-plugin-codex/skills/ccc-hermes/SKILL.md · 172 lines

How it starts

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

$ccc-hermes — Hermes ↔ Claude Code Bridge

Turns Claude Code into a Hermes frontend and Hermes into a Claude Code extension. Messages flow both ways: a Telegram DM can wake a Claude Code session, and a long-running Opus task can stream progress back to your Discord. Only loads if the OpenClaw Gateway (Hermes) is running locally on port 18789.

What it does

Two-way MCP bridge between Claude Code (single-session deep reasoning) and Hermes / OpenClaw Gateway (multi-channel, multi-agent fleet across Discord, Slack, Telegram, WhatsApp, BlueBubbles, WebChat). Inbound: Hermes routes a channel message to a Claude Code session and returns the reply to the originating channel. Outbound: Claude Code calls Hermes-exposed actions (send-to-Discord, query-agent, dispatch-paperclip-task) as MCP tools. Includes auto-escalation — when a Hermes agent (typically GPT-5.5 or Sonnet) hits a hard problem, it forwards the task to Claude Code Opus and streams the answer back.

Activation triggers

  • "connect to hermes" / "bridge to openclaw"
  • "I want to use my Telegram with Claude Code"
  • "send progress to my Discord while you build"
  • "let Hermes hand off hard tasks to me"
  • "wire up the gateway"

Detection logic

Always probe before activating. Bail gracefully if Hermes is not present — this skill is opt-in by environment, not by config.

# Single non-blocking probe (2s timeout)
curl -fsS --max-time 2 http://localhost:18789/health 2>/dev/null \
  | jq -e '.status == "ok"' >/dev/null && echo "hermes:up" || echo "hermes:down"

Decision table:

Probe result Action
hermes:up Continue — render bridge status, list available channels
hermes:down Print: "Hermes Gateway not detected at :18789. Install OpenClaw via npm i -g openclaw and run openclaw gateway start. Skipping bridge." Then exit.
Connection refused Same as hermes:down
Port bound but /health 4xx/5xx Print version mismatch warning + exit

Read the full file on GitHub · 172 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. 5d ago First seen · 172 lines · 34 tokens per session scan A eea8c49d2d95

Subscribe to this mod's changes

ccc-hermes is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 2,122 once invoked, about $0.0002 per session on Opus 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.