当前位置: 首页 > Skill >

自我进化skill

自我进化skill

自我进化skill

Self-evolving skill that reflects on task execution, records learnings, and modifies its own instructions and scripts to improve over time. Use after completing any significant task, when the user asks to improve yourself, evolve, self-reflect, or learn from this.

1.0.1 2026.11.26 817
获取Skill文件查看使用说明
作 者:陆禾 许可证: 更新时间:2026.11.26
本文目录展开

Self-Evolving Skill

A skill that enables continuous self-improvement through reflection, learning, and self-modification.

Core Principle

Every task is a learning opportunity. After completing work, reflect on what happened, extract insights, and permanently improve the skill's own capabilities.

Evolution Lifecycle

Complete Task -> Reflect -> Research -> Record Learning -> Evaluate -> User Confirm -> Apply Changes -> Version

When to Evolve

Auto-trigger (record only):

  • After completing any task that involved debugging or fixing errors
  • After a task failed or required multiple attempts
  • After completing a complex multi-step task (capture what worked)
  • When discovering a new pattern, tool usage, or technique

Full evolution (record + modify):

  • When the user explicitly asks: evolve, improve yourself, learn from this, self-reflect
  • When accumulated learnings reveal a systematic improvement opportunity

Step-by-Step Workflow

Step 1: Reflect

After completing a task, analyze the execution:

  1. What went well? -- Patterns, approaches, or techniques that were effective
  2. What went wrong? -- Errors, inefficiencies, or surprises encountered
  3. What was learned? -- New knowledge about tools, APIs, the codebase, or domain
  4. What would I do differently? -- Concrete behavioral changes for next time

Step 2: Research External Best Practices

Before recording and applying changes, search for relevant external knowledge to ground the evolution in proven practices rather than purely internal reflection. This prevents reinventing the wheel and ensures modifications align with established patterns from the research community.

When to research:

  • Always before a full evolution (record + modify)
  • When the learning involves a new technique, pattern, or approach
  • When unsure whether a proposed change is sound

When to skip:

  • Pure bugfixes to scripts (typos, syntax errors)
  • One-time project-specific details with no generalizable pattern
  • When the user explicitly says to skip research

How to research:

python scripts/research_evolution.py --topic "TOPIC" [--max-results 5]

Replace TOPIC with a concise description of the proposed change, e.g.:

  • "LLM agent self-reflection skill evolution"
  • "agent evaluator optimizer workflow pattern"
  • "skill library versioning best practices"

The script searches arxiv and the web for relevant papers and articles. Review the results and extract actionable insights:

  1. Relevant papers -- Note key findings that support or contradict the proposed change
  2. Established patterns -- Identify named patterns or frameworks that apply
  3. Best practices -- Extract concrete recommendations from authoritative sources
  4. Warnings -- Note any risks or pitfalls mentioned in the literature

Incorporate these insights into the learning record and use them to refine the proposed modification before presenting it to the user.

Step 3: Record the Learning

Append the reflection to the evolution log:

python scripts/log_learning.py --category CATEGORY --summary "One-line summary" --detail "Detailed description" --action "What to change"

The log is stored at references/evolution-log.jsonl (one JSON object per line).

Step 4: Evaluate if Changes Are Needed

Ask: Does this learning warrant a permanent change to the skill's files?

Apply changes when:

  • A new reusable pattern was discovered (add to SKILL.md body)
  • An existing instruction was wrong or misleading (fix it)
  • A new tool/API behavior was learned (add reference)
  • A common mistake was identified (add warning/guardrail)
  • A script bug was found and fixed
  • External research confirms the proposed direction

Do NOT change files for:

  • One-time project-specific details
  • Information already in the system prompt
  • Trivial observations
  • Changes contradicted by established research without strong justification

Step 5: User Confirmation (Balance Mode)

Before applying any changes:

  1. Show the user exactly what will be changed (diff format)
  2. Explain the reasoning behind each change
  3. Wait for explicit user confirmation
  4. If declined, log the rejected learning for future reference

Step 6: Apply Self-Modification

If confirmed, apply changes:

python scripts/apply_evolution.py --type TYPE --content "New content"

Safety rules:

  • Never delete the YAML frontmatter name or description
  • Never remove existing instructions unless provably wrong and user-confirmed
  • Prefer appending new sections over modifying existing ones
  • Never modify more than 30% of a file in a single evolution
  • After modifying, validate with: python scripts/validate_skill.py

Step 7: Version the Evolution

python scripts/version_bump.py --type major|minor|patch --reason "Why this change"

Version history is stored in references/version-log.jsonl.

Evolution Log Format

Each entry in references/evolution-log.jsonl:

{
  "timestamp": "2026-06-01T16:00:00+08:00",
  "version": "1.0.0",
  "category": "discovery",
  "summary": "Brief one-line summary",
  "detail": "Full description",
  "action_taken": "What was changed",
  "files_modified": ["SKILL.md"],
  "user_confirmed": true
}

Categories

Category Meaning
bugfix Fixed an error in the skill's own scripts or instructions
discovery Learned something new about tools, APIs, or the environment
optimization Found a better way to do something
pattern Identified a reusable pattern worth recording
failure Something didn't work; recorded to avoid repeating
enhancement Added new capability to the skill

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,040
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,033
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,021
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,021
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,019
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,016
Skill 文件
  • SKILL.md
    • Self-Evolving Skill
    • Core Principle
    • Evolution Lifecycle
    • When to Evolve
    • Step-by-Step Workflow
      • Step 1: Reflect
      • Step 2: Research External Best Practices
      • Step 3: Record the Learning
      • Step 4: Evaluate if Changes Are Needed
      • Step 5: User Confirmation (Balance Mode)
      • Step 6: Apply Self-Modification
      • Step 7: Version the Evolution
    • Evolution Log Format
    • Categories
  • 项目或源文件

相关 Skill

更多
Self-Evolving Five-Layer Memory System Self-Evolving Five-Layer Memory System 自进化五层记忆系统,面向AI智能体。基于WorkBuddy五层记忆v4.1,提供L1至L5分层架构、进化机制等功能。
SELF Protocol SELF Protocol SELF Protocol(Self-Evolving Learning Framework)是一套面向大语言模型 Agent 的自进化运行时协议。 核心命题: 如何让大语言模型在不修改参数的前提下,仅通过上下文工程(Context Engineering)实现持续的自我改进。 本协议区别于学界主流的"参数级蒸馏"路径,提出 Prompt-Level Self-Distillation(PLSD) 命名,并在生产环境完整验证了 Recursive Self-Improvement(RSI)路径 A 的可行性、安全性与可审计性。
Zeelin Auto Evolution Zeelin Auto Evolution Build and maintain a self-evolving skill system that silently captures feedback, graduates repeated feedback into formal rules, improves low-performing skills, and proposes new skills when repeated patterns are not covered. Use when users mention auto evolution, feedback capture, rule graduation, skill optimization, evolution proposals, "that's not right", "you forgot again", "not like this", 自动进化, 反馈沉淀, 规则毕业, Skill 优化, or 新 Skill 提议.
全球最顶级硅谷早期创业加速器YC教你打造AI原生持续成功的OPC(一人公司) 全球最顶级硅谷早期创业加速器YC教你打造AI原生持续成功的OPC(一人公司) Use this skill to design an AI-native self-evolving one-person company with company brain, recursive loops, and profitable growth.
SkillForge — Self-Evolving AI Skills SkillForge — Self-Evolving AI Skills 别再重复。SkillForge 观察你的工作,发现你的模式,自动把它们锻造成可复用的技能。使用越多,它就越...