ccc-evolve

ccc-evolve is a command for coding agents from KevinZai/commander. It costs 12 tokens per session (1,057 once invoked), scanned A, original, MIT.

A tool for examining learned working patterns, called instincts, and grouping related patterns into commands, skills, or agents. It can also generate files for those grouped structures.

In plain words
What is it for?
Use it to analyse instincts and generate evolved commands, skills, or agents from them.
Why use it?
It helps turn scattered recurring habits into reusable building blocks for an agent workflow.

Command

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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 commands/kevinzai/commander/ccc-evolve
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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-evolve

README.md
[![agentmods](https://agentmods.dev/badge/commands/kevinzai/commander/ccc-evolve.svg)](https://agentmods.dev/commands/kevinzai/commander/ccc-evolve)
Your own site
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-evolve"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-evolve.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00012 $0.01057
Opus 5 $0.00006 $0.00528
Sonnet 5 $0.00002 $0.00211
Haiku 4.5 $0.00001 $0.00106

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

Security

Grade A, and why

ccc-evolve 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 yesterday.

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-evolve.md · 179 lines

How it starts

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

Evolve Command

Implementation

Run the instinct CLI using the plugin root path:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" evolve [--generate]

Or if CLAUDE_PLUGIN_ROOT is not set (manual installation):

python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py evolve [--generate]

Analyzes instincts and clusters related ones into higher-level structures:

  • Commands: When instincts describe user-invoked actions
  • Skills: When instincts describe auto-triggered behaviors
  • Agents: When instincts describe complex, multi-step processes

Usage

/evolve                    # Analyze all instincts and suggest evolutions
/evolve --generate         # Also generate files under evolved/{skills,commands,agents}

Evolution Rules

→ Command (User-Invoked)

When instincts describe actions a user would explicitly request:

  • Multiple instincts about "when user asks to..."
  • Instincts with triggers like "when creating a new X"
  • Instincts that follow a repeatable sequence

Example:

  • new-table-step1: "when adding a database table, create migration"
  • new-table-step2: "when adding a database table, update schema"
  • new-table-step3: "when adding a database table, regenerate types"

→ Creates: new-table command

→ Skill (Auto-Triggered)

When instincts describe behaviors that should happen automatically:

  • Pattern-matching triggers
  • Error handling responses
  • Code style enforcement

Example:

  • prefer-functional: "when writing functions, prefer functional style"
  • use-immutable: "when modifying state, use immutable patterns"
  • avoid-classes: "when designing modules, avoid class-based design"

→ Creates: functional-patterns skill

→ Agent (Needs Depth/Isolation)

When instincts describe complex, multi-step processes that benefit from isolation:

  • Debugging workflows
  • Refactoring sequences
  • Research tasks

Example:

  • debug-step1: "when debugging, first check logs"
  • debug-step2: "when debugging, isolate the failing component"
  • debug-step3: "when debugging, create minimal reproduction"
  • debug-step4: "when debugging, verify fix with test"

Read the full file on GitHub · 179 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. yesterday First seen · 179 lines · 12 tokens per session scan A 5fc298500eb2

Subscribe to this mod's changes

ccc-evolve is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 1,057 once invoked, about $0.0001 per session on Opus 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-03.