Skip to content
Development
Command

/learning-evolve

Run pattern detection on session observations to extract and reinforce instincts

From plugin
coco
38641 skills53 agents41 commands
Install
$ npx -y skills add coco-research/coco --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/learning-evolve

Context preview

What this command does when you run it.

Run pattern detection on session observations to extract and reinforce instincts

Command definition

learning-evolve.md
name: learning:evolve
description: "Run pattern detection on session observations to extract and reinforce instincts"
argument-hint: "--project PROJECT_ID"
allowed-tools:
  - Bash

Run the Coco learning system evolution cycle to scan observations and detect new patterns.

cd "$CLAUDE_PROJECT_DIR" && python3 -m coco_learning.cli evolve --project $ARGUMENTS

This command: 1. Loads recent observations from `~/.coco/learning/projects/<id>/observations.jsonl` 2. Applies heuristic pattern matching rules across testing, security, workflow, architecture, debugging, and performance domains 3. Creates new candidate instincts for patterns with sufficient evidence (default: 3+ occurrences) 4. Reinforces existing instincts by incrementing evidence count and recomputing confidence 5. Saves all detected/reinforced instincts to disk as YAML files

After running, display the results and suggest:

  • For strong instincts (confidence ≥ 0.7): recommend `/learning:promote <id> --from-project <id>`
  • For candidates with low evidence: explain they need more observation data
  • If no patterns detected: suggest continuing normal work to accumulate observations
Ships withcoco

CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands, persistent state. Local. Open-core — MIT core; Super Intelligence is proprietary, own-use.

Get the whole plugin

Other commands on coco.