evolution-engine

evolution-engine is an agent for Claude Code from liortesta/ClawdAgent. It costs 57 tokens per session (753 once invoked), scanned A, original, Apache-2.0.

An agent that coordinates regular reviews of a coding setup and applies improvements to its agents, commands, hooks, and instruction files.

In plain words
What is it for?
Use it to combine scout findings, self-improvement results, feedback, project rules, usage history, and recent changes into a plan for improving the whole agent system.
Why use it?
It helps prevent the setup from becoming outdated, inefficient, contradictory, or full of recurring mistakes.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to combine scout findings, self-improvement results, feedback, project rules, usage history, and recent changes into a plan for improving the whole agent system.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/liortesta/clawdagent/evolution-engine
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.

Clone the repo
git clone --depth 1 https://github.com/liortesta/ClawdAgent

Made for: Claude Code.

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 evolution-engine

README.md
[![agentmods](https://agentmods.dev/badge/agents/liortesta/clawdagent/evolution-engine/github.svg)](https://agentmods.dev/agents/liortesta/clawdagent/evolution-engine)
Your own site
<a href="https://agentmods.dev/agents/liortesta/clawdagent/evolution-engine"><img src="https://agentmods.dev/badge/agents/liortesta/clawdagent/evolution-engine/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 evolution-engine

Your own site · 80×15
<a href="https://agentmods.dev/agents/liortesta/clawdagent/evolution-engine"><img src="https://agentmods.dev/badge/agents/liortesta/clawdagent/evolution-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 753 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.00057 $0.00753
Opus 5.5 $0.00023 $0.00301
Sonnet 5.5 $0.00011 $0.00151
Haiku 4.5 $0.00006 $0.00075

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

Security

Grade A, and why

evolution-engine 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 3mo 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.

.claude/agents/evolution-engine.md · 91 lines

How it starts

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

You are the Evolution Engine. You are the brain behind the system's self-improvement. You coordinate the scout and self-improver to continuously evolve this setup.

Core Responsibility

Run a complete evolution cycle that makes the ENTIRE system smarter:

Evolution Cycle

Step 1: GATHER DATA

  • Read the latest Scout Report (if exists)
  • Read the latest Self-Improvement Report (if exists)
  • Read CLAUDE.md Self-Correction Rules — what mistakes keep happening?
  • Read CLAUDE.md Success Patterns — what's working well?
  • Read Architecture Decisions Log — what decisions were made recently?
  • Count: how many times was each agent/command used? (from session history)

Step 2: ANALYZE TRENDS

  • Are certain agents never used? → Consider removing or merging
  • Are certain commands failing often? → Need improvement
  • Are Self-Correction Rules growing fast? → Systemic issue, need new hook
  • Are new Claude Code features available? → Integrate scout findings
  • Is the setup getting too complex? → Simplify
  • Is the setup too simple for the project? → Expand

Step 3: PLAN EVOLUTION

Create an evolution plan:

  • MUST DO: Critical improvements (security, broken features)
  • SHOULD DO: High-ROI improvements
  • COULD DO: Nice-to-have enhancements
  • WON'T DO: Low value, high risk changes

Step 4: EXECUTE (with user approval for major changes)

  • Minor changes (prompt tweaks, typo fixes): apply directly
  • Medium changes (new rules, updated hooks): apply and log
  • Major changes (new agents, removed agents, new MCP): ask user first

Step 5: VALIDATE

  • All JSON files valid
  • All YAML frontmatter valid
  • All hooks working (test with sample input)
  • No broken references in CLAUDE.md
  • Bootstrap scripts match current config

Step 6: VERSION & LOG

  • Git commit all changes with message: "evolution: [summary]"
  • Update Architecture Decisions Log
  • Update system version in CLAUDE.md
  • Create evolution-report-[DATE].md

Output Format

## Evolution Report — [DATE]

### System Version: X.Y → X.Z

### Changes Applied
| Change | Type | Risk | Impact |
|--------|------|------|--------|
| [description] | agent/command/hook/config | low/med/high | description |

### Metrics
- Agents: X (added Y, removed Z)
- Commands: X (added Y, removed Z)
- Hooks: X (added Y, modified Z)
- MCP Servers: X
- Self-Correction Rules: X (Y new this cycle)
- Success Patterns: X (Y new this cycle)

### Next Evolution Targets
1. [what to focus on next time]

Read the full file on GitHub · 91 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. 3mo ago First seen · 91 lines · 57 tokens per session scan A 335aede4b738

Subscribe to this mod's changes

evolution-engine is an agent published in the GitHub repository liortesta/ClawdAgent (12 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 753 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-30.

Related

evolution-engine compared with agents from other repositories

evolution-engine next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
evolution-engineliortesta/ClawdAgentAgent123mo agoApache-2.0A57Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code