evolve

evolve is a skill for Claude Code from mataeil/OODA-loop. It costs 50 tokens per session (35,724 once invoked), scanned A, original, MIT.

An autonomous coordinator based on the OODA loop: observe, orient, decide, and act. It reviews the state of different work areas, chooses the highest-priority action, invokes the relevant skill, and learns from outcomes.

In plain words
What is it for?
Use it to run recurring project-management or maintenance cycles with commands such as /evolve or /loop 4h /evolve, subject to the project's configuration.
Why use it?
It helps automate repeated decision cycles while applying safety checks, protected-path rules, and human review requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the ooda-loop plugin — 11 skills, 2 hooks shipped together

Good fit Use it to run recurring project-management or maintenance cycles with commands such as /evolve or /loop 4h /evolve, subject to the project's configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mataeil/ooda-loop/evolve
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.

Any agent
npx skills add mataeil/OODA-loop --skill evolve
Clone the repo
git clone --depth 1 https://github.com/mataeil/OODA-loop

Made for: Claude Code.

Or install ooda-loop, the plugin that ships this one along with the rest of its 11 skills, 2 hooks.

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 evolve

README.md
[![agentmods](https://agentmods.dev/badge/skills/mataeil/ooda-loop/evolve/github.svg)](https://agentmods.dev/skills/mataeil/ooda-loop/evolve)
Your own site
<a href="https://agentmods.dev/skills/mataeil/ooda-loop/evolve"><img src="https://agentmods.dev/badge/skills/mataeil/ooda-loop/evolve/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evolve

Your own site · 80×15
<a href="https://agentmods.dev/skills/mataeil/ooda-loop/evolve"><img src="https://agentmods.dev/badge/skills/mataeil/ooda-loop/evolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 35,724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00050 $0.35724
Opus 5.5 $0.00020 $0.14290
Sonnet 5.5 $0.00010 $0.07145
Haiku 4.5 $0.00005 $0.03572

Measured 2mo ago against content hash dc9c5ad8597f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

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.

skills/evolve/SKILL.md · 2,922 lines

How it starts

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

evolve: OODA Meta-Orchestrator -- Autonomous Decision Engine

evolve is the brain of OODA-loop. It sits above every domain skill and runs one full OODA loop per cycle: Observe the world, Orient by analyzing patterns and updating beliefs, Decide which domain needs attention most, then Act by invoking the winning skill.

This is NOT a round-robin scheduler. The Orient step differentiates evolve from a cron job -- each cycle it reviews PR outcomes, updates confidence, applies memos, detects urgent signals, and adjusts its world model. Over time it learns which domains produce value and which waste cycles.

Based on John Boyd's OODA loop with an added Reflect step that extracts skill gaps, writes memos, and feeds the next Orient -- creating a double-loop learning system. All behavior is driven by config.json. No domain names, skills, or routing tables are hardcoded.


Safety Rules

These rules are absolute. Violating any is a bug.

  1. HALT File -- Before ANY work, check config.safety.halt_file. If it exists, print reason and stop immediately.
  2. Protected Paths -- PRs touching config.safety.protected_paths MUST be Risk Tier 3 (human review). No auto-merge ever.
  3. PR Limit -- Max config.safety.max_prs_per_cycle PRs per cycle (default 1).
  4. State-Only Direct Write -- evolve writes only to agent/state/evolve/*. All other changes require branch + PR.
  5. Skill Allowlist -- Only invoke skills in config.safety.skill_allowlist. Unlisted skill = safety violation, skip to Reflect.
  6. PR Size Limits -- Respect config.safety.max_files_per_pr (20) and config.safety.max_lines_per_pr (500). Exceeding = Level 3.

File Structure

agent/state/evolve/
  state.json          -- cycle_count, last_cycle, decision_log (max 20)
  confidence.json     -- per-domain confidence scores (0.1-1.0)
  goals.json          -- user-defined goals with progress tracking
  skill_gaps.json     -- detected missing capabilities with frequency
  memos.json          -- cross-cycle notes and score_adjustments
  action_queue.json   -- RICE-scored pending/in_progress/completed actions
  metrics.json        -- permanent counters (cycles, PRs, costs)
  cost_ledger.json    -- daily API cost tracking (resets at 00:00 UTC)
  episodes.json       -- weekly summaries (tier 2 memory)
  principles.json     -- permanent learnings (tier 3 memory)
  CHANGELOG.md        -- cycle activity log (most recent 50)

Read the full file on GitHub · 2,922 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. 2mo ago First seen · 2,922 lines · 50 tokens per session scan A dc9c5ad8597f

Subscribe to this mod's changes

evolve is a skill published in the GitHub repository mataeil/OODA-loop (6 stars, last pushed 4mo ago), licensed MIT. It adds 50 tokens to every session and 35,724 once invoked, about $0.0002 per session on Opus 5.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-08-31.

Related

evolve compared with skills from other repositories

evolve next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
evolvemataeil/OODA-loopSkill64mo agoMITA50Claude Code
postgresql-table-designwshobson/agentsSkill42k2d agoMITA37Claude Code
event-store-designwshobson/agentsSkill42k2d agoMITA33Claude Code
workflow-orchestration-patternswshobson/agentsSkill42k2d agoMITA49Claude Code
statechartmichael-denyer/pstack-claudeSkill4.2ktodayMITA70Claude Code
poteto-modemichael-denyer/pstack-claudeSkill4.2ktodayMITA49Claude Code
teachmichael-denyer/pstack-claudeSkill4.2ktodayMITA60Claude Code