Skip to content
Development
Command

/learning-evolve

Run pattern detection on session observations to extract and reinforce instincts

From plugin
coco
63142 skills53 agents42 commands3 hooks
$ npx -y skills add coco-research/coco --agent claude-code

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
@coco-research
Ships withcoco

495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.

631200 skills53 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
631
Star history of coco-research/coco on GitHub, a chart by star-history.com

Other commands on coco.

goal

goal

Command

Set, check, or complete the persistent project goal stored in .goal.md. Trigger as /coco-goal or /coco:goal.

@coco-research@coco-researchInstall Command
mermaid

mermaid

Command

Use when the user asks for a diagram or chart: flowchart, sequence, state, class, ER, or XY chart, as SVG, HTML, or terminal…

@coco-research@coco-researchInstall Command
read

read

Command

Show latest emails from a specific person. Usage: /email-read alice

@coco-research@coco-researchInstall Command
reply

reply

Command

Draft a reply to a specific email. Usage: /email-reply Project Phase 2 Contract Data

@coco-research@coco-researchInstall Command
save

save

Command

Save matching emails to a project folder for sync processing. Usage: /email-save alice to emails/

@coco-research@coco-researchInstall Command
search

search

Command

Search emails by subject keywords. Usage: /email-search github webhook

@coco-research@coco-researchInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command