evolution-engine

evolution-engine is a skill for Claude Code from zxpmail/ReqForge. It costs 0 tokens per session (5,225 once invoked), scanned C, original, MIT.

A skill that reviews stored feedback for repeated patterns and suggests changes to rules or skills. A skill is a reusable procedure for an agent to follow.

In plain words
What is it for?
Use it at session start or when checking evolution suggestions to find repeated feedback, low-performing skills or recurring tasks not yet covered.
Why use it?
It helps distinguish one-off comments from recurring problems that may justify a formal rule, a skill improvement or a new skill.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it at session start or when checking evolution suggestions to find repeated feedback, low-performing skills or recurring tasks not yet covered.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zxpmail/reqforge/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.

Any agent
npx skills add zxpmail/ReqForge --skill evolution-engine
Clone the repo
git clone --depth 1 https://github.com/zxpmail/ReqForge

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/skills/zxpmail/reqforge/evolution-engine/github.svg)](https://agentmods.dev/skills/zxpmail/reqforge/evolution-engine)
Your own site
<a href="https://agentmods.dev/skills/zxpmail/reqforge/evolution-engine"><img src="https://agentmods.dev/badge/skills/zxpmail/reqforge/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/skills/zxpmail/reqforge/evolution-engine"><img src="https://agentmods.dev/badge/skills/zxpmail/reqforge/evolution-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,225 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.05225
Opus 5.5 $0.00000 $0.02090
Sonnet 5.5 $0.00000 $0.01045
Haiku 4.5 $0.00000 $0.00522

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

Security

Grade C, and why

evolution-engine scanned grade C with 1 finding 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- begin: post-confirmation-execution -->
adapters/claude-code/.claude/skills/evolution-engine/SKILL.md · 370 lines

How it starts

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


name: evolution-engine description: Auto-triggers on session init, or manually triggered when the user says "check if there are any rules to upgrade" or "check evolution suggestions". Called by the evolution-runner sub-agent. version: 1.0.0 updated: 2026-05-26 requires: []

[Task] Scan the accumulated data in ../../feedback/ and identify four types of evolution signals: 1. Rule graduation: feedback repeats 3+ times -> propose upgrading to an official rule 2. Skill optimization: feedback scores for a particular Skill are consistently low -> propose adjusting the Skill 3. New Skill proposal: an operation pattern keeps recurring but no Skill covers it -> propose creating a new Skill 4. Check graduation (escaped defect): a feedback entry has escape set (defect found past the gate that should have caught it) -> propose a PERMANENT check item. No 3-occurrence threshold — one escape is proof; waiting for 3 repeats means paying for 2 more escapes.

Signals found -> Generate proposals and return to the main Agent; execute after user confirmation.
No signals -> Return "no evolution suggestions".

[Not For] - Recording individual feedback entries -> use /feedback-writer instead - Creating new Skills -> use /skill-builder instead - Fixing bugs or code issues -> use /bug-fixer or /code-review instead

[Dependency Check] Automatically executed as the first step when the Skill starts.

Required:
- ../../feedback/FEEDBACK-INDEX.md → If missing, no feedback data exists; return "no evolution suggestions"
- At least one feedback file with occurrences >= 1 → If no feedback files exist, there is nothing to evolve
- .forge/editable-surface.json — Must exist and be readable. Defines directories/files the evolution engine is allowed to modify. If missing, create one with sensible defaults before proceeding.

Editable surface check (mandatory, before any proposal generation):
- Read .forge/editable-surface.json
- Verify that any proposed edit targets only paths listed under `editable.directories` or `editable.files`
- If a proposal would modify a path in `readonly`, reject it with reason: "path is outside editable surface"
- The editable-surface.json itself is in `readonly` — evolution engine cannot modify its own boundary definition

Optional:
- memory/ files → cross-reference task-history.md to validate whether pattern is real or coincidence

[First Principles] Data-Driven Evolution: No change without data. A single feedback entry is an anecdote, not a signal. Wait for the 3-occurrence threshold before proposing rule graduation. Let the data speak, not your intuition. Sole exception: escape-tagged entries (defect escaped past its catching gate) graduate immediately — the escape itself is expensive data, not an anecdote. Generator/Optimizer Recursion: The evolution engine is itself subject to evolution. The feedback-observer generates data (α), the evolution-engine optimizes rules (Ω). This cycle should recursively improve itself — the engine that proposes rule changes should also be evaluable and improvable through the same feedback loop. Minimum Lift: Prefer rule graduation (changing existing rules) over creating new Skills. A 3-line rule addition to an existing SKILL.md is faster to deploy and easier to maintain than a new Skill directory. Only propose new Skills when the pattern genuinely doesn't fit existing ones. Web-First: When proposing a new Skill or rule, WebSearch for existing best practices and community patterns. Don't invent from scratch what already has a well-known solution. Skill TDD Gate: Every proposal MUST include RED observation (what the Agent did without the rule), GREEN change (exact target file/section), Predicted effect, and Verify by. Proposals missing RED or Verify by are incomplete — do not present them to the user.

Read the full file on GitHub · 370 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago Changed · +25 lines 89bac0c0ddea
  2. 1mo ago First seen · 345 lines · 0 tokens per session scan C f5e86b1b5af0

Subscribe to this mod's changes

evolution-engine is a skill published in the GitHub repository zxpmail/ReqForge (18 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,225 tokens. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

context-engineering

Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing what loads at boot versus on demand, sizing an install or an always-loaded file, fixing an agent that drifts, repeats itself, or forgets constraints mid-task, planning compaction or summarization…

mvschwarz/openrig · 142 tokens

claude-compaction-restore

Use when a Claude Code session is about to compact, has just compacted, reached its context limit, resumed after /compact, or must rebuild its working picture of a long-running seat from its own restore map, its JSONL transcript and the files it touched.

mvschwarz/openrig · 60 tokens

retiring-and-inheriting-a-seat

Use when you are a sitting agent near your context threshold (85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure)…

mvschwarz/openrig · 145 tokens

session-compaction-and-restore

Use when reasoning about what survives compaction/context-loss/restart/seat-refresh, designing a high-fidelity restore packet, or distinguishing native runtime resume vs fork vs artifact-backed mental-model rebuild. Covers the 4 failure modes that prevent honest restore (compacted seat drops hot potato; restore packet…

mvschwarz/openrig · 88 tokens

memorix-memory

Use when prior workspace context, past decisions, solved bugs, handoff state, or durable project knowledge would help a coding task.

AVIDS2/memorix · 30 tokens

save-progress

Save current project task progress to local task state file for cross-session continuity. Use when the user asks to save progress, uses an equivalent localized trigger phrase, the session is interrupted, or the user wants to resume work later. Writes to .claude/project-task-state.json so next session can load it via…

KimYx0207/Meta_Kim · 65 tokens