evolution-loop
Skill12 starsChanged 6 months agoApache-2.0View on GitHub
Use after meaningful task closeout, repeated failure, review loops, stale triggers, or user feedback that an agent/skill/workflow should improve. Turns verified signals into auditable, bounded evolution proposals for agents, skills, memory, and README guidance. DO NOT USE FOR: speculative prompt tweaks without evidence, direct autonomous rewrites, or changing user-facing behavior without PM review.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- bordenet/superpowers-plustheir own version, first seen May 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- bordenet/superpowers-plus★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- change-verificationSkill
- context-packet-fastpathSkill
- core-workflow-contractSkill
- developer-workflowSkill
- development-branch-closeoutSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- frontend-designer-workflowSkill
- frontend-design-guardrailsSkill
- quality-assurance-workflowSkill
- repo-init-gateSkill
- repo-init-manual-fallbackSkill
- repo-init-officialSkill
- repo-init-scanSkill
- root-cause-fixer-workflowSkill
- root-cause-investigationSkill
- search-fastpathSkill
- security-reviewer-workflowSkill
- senior-project-expertSkill
- senior-project-expert-workflowSkill
- spec-execution-fastpathSkill
- specification-writer-workflowSkill
- spec-review-gauntletSkill
- structured-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- target-instructions-bootstrapSkill
- target-memory-bootstrapSkill
- target-spec-bootstrapSkill
- td-java-coding-guidelinesSkill
- td-python-coding-guidelinesSkill
- technical-architect-workflowSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- web-experience-auditSkill
- workspace-isolationSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 12 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 18
Write: only accepted learnings back to the canonical owner: plugin changes go to root agents/, root skills/, .github/instructions/, and …
- Very specific: line 31
Do not merge these roles into one prompt blob.
- Distinctive: line 35
Use SkillOpt-style optimization as a measured workflow improvement loop, not as permission to grow prompts.
- Distinctive: line 39
Prefer compact trigger/routing fixes, skill decomposition, reference extraction, and context-shard reuse before adding always-loaded prose.
- Distinctive: line 40
Avoid fitting global policy to one successful task or one weak complaint.
- Distinctive: line 42
When optimizing review workflows, include probes for reviewer-input contamination, review-only permissions, explicit model/cost policy, …
- Distinctive: line 83
Do not copy external prompts or code wholesale.
- Distinctive: line 84
Do not evolve from a single weak signal unless the failure is severe and reproducible.
- Distinctive: line 86
Keep frequently referenced skills short.
- Distinctive: line 87
Do not write secrets, PII, raw logs, or private URLs into memory.
- Distinctive: line 88
Do not change tool permissions, safety boundaries, public contracts, or install surfaces without explicit review.
- Distinctive: line 89
Do not store target repository evolution or task state in the installed plugin package or plugin cache.
- Distinctive: line 90
Prefer deprecating or tightening old rules over adding parallel rules.
- Very specific: line 91
If the proposal is accepted but no canonical file is writable, return BLOCKED evolution_writeback_unavailable.
- Distinctive: line 92
After accepted evolution, run the relevant static checks and include rollback instructions.
- Very specific: line 96
Before accepting a workflow evolution, review it through these ten passes and record the result as pass | concern | blocked:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Evolution Loop
This skill gives best-copilot a lightweight, auditable evolution cycle inspired by Evolver, Memento-style reflective learning, SkillOpt-style skill optimization, and the seven-module self-evolving agent loop: Planner, Executor, Observer, Evaluator, Reflector, Memory, and Policy.
Core Principle
Evolution is not free-form rewriting. It is a bounded loop:
- Read verified signals from task results, review findings, failed commands, user corrections, memory, and spec drift.
- Select the smallest reusable improvement target: agent, skill, instruction, memory rule, README guidance, or spec template.
- Propose a protocol-bound mutation with evidence, scope, rollback, and validation.
- Validate with static checks, eval prompts, review, or command evidence.
- Write only accepted learnings back to the canonical owner: plugin changes go to root
agents/, rootskills/,.github/instructions/**, and references in this plugin checkout; target-repository learnings go to targetmemories/repo/**, targetspec/**, or target instructions. - Record the accepted, rejected, or deferred event durably. Chat-only evolution is not an evolution event.
Seven-Module Mapping
Planner: identify the improvement goal, trigger, affected workflow surface, non-goals, validation plan, and rollback plan.Executor: make the smallest approved file change or return a proposal when approval/review is missing.Observer: capture the concrete signal: failed check, review finding, repeated blocker, stale trigger, user correction, or verified success pattern.Evaluator: score the signal against acceptance impact, recurrence, severity, confidence, blast radius, and whether current rules already cover it.Reflector: extract the reusable lesson asroot_cause,lesson,future_action, andanti_pattern_to_avoid.Memory: write only verified accepted/rejected/deferred evolution events and compact recovery notes to the canonical target.Policy: update routing rules, prompt clauses, templates, tool priority, review gates, or workflow guidance only after validation and rollback are clear.
Do not merge these roles into one prompt blob. If a step has no evidence, mark it not_applicable or return a proposal instead of inventing durable learning.
Skill Optimization Rules
Use SkillOpt-style optimization as a measured workflow improvement loop, not as permission to grow prompts.
- Optimize only from verified signals: failing route, repeated blocker, reviewer finding, user correction, eval/probe failure, or measured token/context waste.
- Score each proposal by expected utility delta, token/context delta, route precision, reliability impact, regression risk, and rollback ease.
- Prefer compact trigger/routing fixes, skill decomposition, reference extraction, and context-shard reuse before adding always-loaded prose.
- Avoid fitting global policy to one successful task or one weak complaint. Require recurrence, severity, or a targeted probe that reproduces the failure.
- Preserve recovery fields when reducing tokens: source refs, raw failure signal, reviewed artifacts, model policy, permission boundary, and validation command.
- When optimizing review workflows, include probes for reviewer-input contamination, review-only permissions, explicit model/cost policy, final independent review, and file-backed context reuse.
EvolutionEvent
Record each accepted evolution as a compact event:
## EvolutionEvent: <YYYY-MM-DD-topic>
- signal:
- target:
- mutation:
- validation:
- rollback:
- status: proposed|accepted|rejected|deprecatedFor skill or agent optimization, add an optimization_event block:
- baseline_behavior:
- baseline_metrics:
- mutation_hypothesis:
- eval_cases:
- success_threshold:
- validation_result:
- token_cost_delta:
- reliability_delta:
- rollback_plan:Accepted plugin evolution events are logged in references/events.md when no target-local memory applies.
Strategy Presets
repair-only: fix broken trigger, broken route, false claim, failed validation.harden: reduce ambiguity, add guardrails, improve verification, prevent repeated errors.balanced: small improvement that preserves current workflow.innovate: add a new capability only when existing skills cannot cover repeated demand.
Guardrails
- Do not copy external prompts or code wholesale; extract local primitives only.
- Do not evolve from a single weak signal unless the failure is severe and reproducible.
- For skill changes, prefer trigger-focused descriptions that say when to load the skill, not a process summary that lets agents shortcut the skill body.
- Keep frequently referenced skills short; move heavy references, examples, or tool details into separate files or existing focused skills.
- Do not write secrets, PII, raw logs, or private URLs into memory.
- Do not change tool permissions, safety boundaries, public contracts, or install surfaces without explicit review.
- Do not store target repository evolution or task state in the installed plugin package or plugin cache.
- Prefer deprecating or tightening old rules over adding parallel rules.
- If the proposal is accepted but no canonical file is writable, return
BLOCKED evolution_writeback_unavailable. - After accepted evolution, run the relevant static checks and include rollback instructions.
Ten-Pass Review Checklist
Before accepting a workflow evolution, review it through these ten passes and record the result as pass | concern | blocked:
source_priority: current repo files and explicit user intent outrank external references and memory.module_separation: Planner, Executor, Observer, Evaluator, Reflector, Memory, and Policy stay separable.scope_minimality: the mutation is the smallest reusable change, not a broad rewrite.no_capability_loss: existing init gates, native ask gates, review lanes, permission boundaries, model/cost policies, final independent review, and verification requirements are not weakened.evidence_quality: the signal is verified or explicitly marked as proposal-only.memory_hygiene: no secrets, PII, raw logs, chat transcripts, or unverified guesses are stored.policy_reversibility: rollback is clear and does not depend on hidden state.runtime_compatibility: Codex, Copilot, and Claude packaging boundaries are not broken.verification_fit: static checks, schema checks, eval/probe prompts, or command evidence match the change type; review-boundary changes include contamination, permission, model/cost, final-review, and token-reuse probes.future_reuse: the lesson helps future tasks without forcing unrelated tasks through heavier workflow.
Output
## Evolution Proposal
- strategy:
- signals:
- target:
- proposed_mutation:
- expected_delta:
- validation_plan:
- rollback_plan:
- writeback_files:
- state_sync:
- seven_module_trace:
- ten_pass_review:Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

