Evolution Engine: Making AI Smarter with Every Interaction
Paste the following prompt into your AI chat to install this skill:
Please install @user_faa89036/evolution-engine according to the official guide at https://skillhub.cn/install/skillhub.md.
About this skill
The Problem It Solves
Most mainstream AI chat models are static: they learn a generic "persona" from vast datasets during training but cannot personalize or persistently adapt afterward based on a specific user's interaction history. Each conversation starts from zero, unable to leverage past successes or failures to dynamically adjust its strategies. This makes it difficult to meet the needs of professional, repetitive, or preference-driven use cases. For instance, a developer who prefers concise code comments must repeatedly emphasize their formatting preference each time. A research assistant cannot optimize its information retrieval and summarization patterns as a project progresses.
Core Capabilities and How It Works
Evolution Engine aims to build a "living" system that learns autonomously from interaction. Its core is a biomimetic, three-stage cognitive architecture:
1. Perception and Memory (Perception Stage)
The system uses a Perceiver module to automatically scan conversations in the background (e.g., via a Heartbeat mechanism every 30 minutes). It records key signals: task type (e.g., coding), action taken (e.g., "output_density=detailed"), user feedback (e.g., "too long and verbose"), and outcome (success/failure). It doesn't just store dialogue transcripts but extracts causal pairs, forming a structured memory of experiences.
2. Reasoning and Modeling (Reasoning Stage)
- World Model: Based on accumulated experience, it maintains a probabilistic state table of tasks and strategies. For new tasks, it can predict which strategy combinations have higher success probabilities and perform multi-step simulations.
- Causal Reasoning: Uses interventional inference ("What if I use strategy B instead?") and counterfactual reasoning ("What if I hadn't done that last time?") to distinguish correlation from causation, making learning more reliable.
- Symbolic Reasoning: Provides millisecond-level safety checks (e.g., blocking dangerous operations) and logical chain verification, ensuring the evolution process itself doesn't run out of control.
3. Strategy Evolution and Safety (Strategy Stage)
- Concept Formation: Abstracts multiple specific experiences (e.g., 5 instances of "
coding+python+medium→high_quality") into a transferable concept ("medium-complexity coding tasks tend to yield high-quality output"), enabling generalization. - Strategy Evolution: Uses a genetic algorithm to manage a strategy pool. High-success strategies gain weight; low-efficiency ones decay. After reaching a "mature" stage (around 20 successful interactions), the system can automatically
cross(combine two strategies) andmutate(fine-tune parameters) to generate new candidate strategies, implementing natural selection. - Safety Guard: All new strategy proposals must pass a security audit by the
Constraint Contractmodule. High-confidence rules are auto-approved, low-confidence ones are held for review, and dangerous operations are outright vetoed. Versioned snapshots are kept for rollback.
Crucially, this entire evolution process is fully transparent to the user yet runs silently in the background. Without any instructions from the user, the system can continuously optimize its response strategies through the "sense-reason-evolve" loop.
Applicability and Considerations
- Cold Start and Data Requirements: The system requires about 5 successful interactions to unlock predictive features and around 20 to initiate auto-evolution. It relies on default strategies initially.
- Safety is Not Omnipotent: The
Constraint Contractensures evolution stays within safe boundaries but cannot replace hard business logic rules. It's not recommended for scenarios requiring strict, fixed workflows. - Localized Storage: All learning data is stored locally, which benefits privacy but means no cross-device synchronization.
- Best Use Cases: Most suitable for long-term, personalized adaptive AI applications, such as personal smart assistants, professional domain copilots, and adaptive learning companions. Not ideal for stateless tasks or interactions where historical context holds no value.
Use Cases
- When a developer asks the AI to assist with coding, the AI automatically learns their code style preferences (e.g., comment density, variable naming conventions) after several interactions and proactively adopts generation strategies that better match their habits in subsequent tasks.
- When a user asks the AI to summarize technical documentation, by learning from their feedback (e.g., 'too detailed', 'lacks focus'), the AI dynamically adjusts the level of detail and information filtering strategy in subsequent summaries.
- When a user issues different types of requests to their personal AI assistant (e.g., drafting an email, scheduling), the AI can develop more efficient response strategies and workflows for each task type based on successful experiences from past interactions.
Best For
- Software engineers who frequently use AI for coding assistance but are frustrated by having to repeatedly explain their tech stack and coding standards; their need is for the AI to remember and adapt to their personal workflow habits.
- Digital content creators managing multiple rounds of content production who require consistent output style and structure from the AI; their need is for the AI to learn their brand voice and maintain output consistency over long-term projects.
- Project managers using a personal AI to manage complex schedules and projects who wish the assistant could understand their work priorities; their need is for the AI to evolve its task-processing logic based on their feedback.
Related Skills
Run a grilling session to interact with or test AI agents.
A systematic prompt optimization skill that refines prompts using a four-step distillation framework (diagnose, structure, think, compress) and methodologies from four prompting masters.
Quickly converts a user's input, list, or screenshot into a multi-page workbench, supporting template selection, custom builds, and responsive layouts.
HeartFlow is a pure rule-based discrimination layer for AGI that checks AI outputs for correctness and safety before they reach humans.