create-rule
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure…
Use when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one branch and one pull request, and lands nothing without the owner's merge. Also use when asked why a
$ npx -y skills add coco-research/coco --skill skill-evolution --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-evolutionContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one branch and one pull request, and lands nothing without the owner's merge. Also use when asked why a
name: skill-evolution description: "Use when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one branch and one pull request, and lands nothing without the owner's merge. Also use when asked why a skill changed, what the loop would propose next, or how to reject a proposal so it is not raised again." domain: meta
A cycle that improves this repository's own skills from observed use, and proposes every change for a human to merge. It never writes to `main` and never merges.
**Status:** the scripts this file documents, `scripts/evolve.py` and the steps it runs, are not on `main` yet, so the commands below do not run today. They land with plan tasks 2 to 9 in `.metagpt/plan.md`: task 2 `ledger.py` through task 8 `evolve.py`, and task 9 `run_fixtures.sh` with the CI join.
**The loop proposes. The owner decides.** There is no confidence level, budget or green gate that lets it land a change on its own. This is a design invariant, not a setting: a system that edits the repository that measures it has no natural stopping point.
Five steps, and only the second one calls a model.
| Step | Script | Model? | Output | | --- | --- | --- | --- | | 1. Observe | `scripts/observe.py` | no | `signals/<cycle>.json`, pinned to one commit | | 2. Propose | `scripts/propose.py` | yes, one lane | `proposals/<id>.json` and `proposals/<id>.patch` | | 3. Validate | `scripts/validate.py` | no | accept or refuse, with a reason | | 4. Open | `scripts/evolve.py` | no | one branch, one pull request | | 5. Record | `scripts/ledger.py` | no | a ledger row per event, and `CYCLE.md` |
Run it:
python3 scripts/evolve.py run --window 30d # the real cycle, needs credentials python3 scripts/evolve.py run --window 30d --dry-run # stops before opening a branch python3 scripts/evolve.py run --window 30d --lane stub # no network at all python3 scripts/evolve.py status # last cycle, open proposals
`validate.py` is the only thing standing between a model's output and a branch. It refuses, with the reason named, when any of these hold:
its `SKILL.md` prose, and may add or remove example blocks. A persona file, a command file, a count file, a workflow or this skill's own scripts are all out of bounds.
receipt id, and the citation must resolve at the pinned commit.
`references/lanes.json`. A cycle that hits the cap states the remainder rather than truncating silently.
is not proposed again.
must move with it, checked by running the repository's own checkers rather than a private copy of their rules. See `docs/rules.md` R7.
Three valued, like every gate in this repository: **0** pass, **1** blocked by a guard, **2** unrunnable or unmeasured. An empty cycle is exit 0 with nothing to propose, which is a valid result and not a failure.
Every model call goes through `scripts/lane.py`, which reads `references/lanes.json`, checks the cycle budget **before** spending, obeys the model routing policy, and records the lane id and token count on the proposal it produced. The expensive review lane refuses unless the owner has explicitly authorised it for that cycle.
record of why something was rejected is the part that matters.
`bash scripts/run_fixtures.sh` runs every suite and prints `N/N passed`. Every case uses the stub lane, so the suite needs no network and no model. CI runs the same command, so a proposal pipeline that stops working fails the build rather than shipping quietly.
Changing the loop's own scripts is out of scope for a loop proposal by design, which means a change here is an ordinary pull request from a human or an agent working under review. If a change alters a rule in this file, say so in the PR title and update `docs/rules.md` in the same commit.
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.
Repo: coco-research/coco
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure…
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill…
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code…
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use…
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab…
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent training, instrumenting agents…