一键导入
self-evolution-module
Run a reflection-driven retry loop that improves later attempts along three axes: prompt evolution, tool evolution, and workflow evolution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a reflection-driven retry loop that improves later attempts along three axes: prompt evolution, tool evolution, and workflow evolution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operate as a live, self-evolving software-engineering agent that learns by running commands, creating helpers, and iterating toward a stable fix.
Resolve repository issues by reproducing failures, editing source, verifying the fix, and producing a git patch that serves as the experiment's primary artifact.
Run a TRAE-style candidate-search harness that treats repository issues as an explicit search over independently sampled patch candidates, then prunes, selects, and revalidates the strongest one.
Decide when to decompose work into subagents, choose an appropriate orchestration topology, and supervise parallel or staged execution while obeying any user-specified orchestration plan.
Require a standalone, citation-backed evidence document and gate final answer release on its completeness.
Externalize every transferable piece of state into durable files so prompts, handoffs, replies, and promoted artifacts remain path-addressable across delegation and context compression.
| name | self-evolution-module |
| description | Run a reflection-driven retry loop that improves later attempts along three axes: prompt evolution, tool evolution, and workflow evolution. |
Load this module when repeated attempts may benefit from changing how the task is framed, what tools are available, or how the work is organized. This module requires a reflection-driven retry loop rather than a one-off cosmetic retry.
解决, passing required checks, or
another explicit completion condition.Before planning the next attempt, review the trajectory so far:
A practical loop is:
Repeat that loop while it keeps surfacing actionable failure signals and the success condition is still unmet.
Rework the next attempt's instructions when the failure came from framing, missing constraints, or unclear task decomposition.
Inspect whether the next prompt should:
Prompt evolution should change the agent's decision boundary, not merely restate the same request with cosmetic wording.
Rework the tool layer when the bottleneck came from missing observability, repetitive manual operations, weak interfaces, or lack of a specialized helper.
Inspect whether the next attempt should:
Tool evolution is appropriate when the task is conceptually understood but the current tool surface makes execution too brittle or too expensive.
Rework the execution structure when the failure came from sequencing, missing gates, lack of parallel exploration, or poor role boundaries.
Inspect whether the next attempt should:
Workflow evolution should change the process graph, not just the wording or the tool inventory.
A useful self-evolution pass should produce a rich next-attempt optimization record that covers:
Prefer an explicit attempt-to-attempt delta, not a vague motivational note. The record may live in the next-attempt plan, a structured note, or another runtime-approved surface.
That delta may live directly in the revised next-attempt prompt or in concise explanatory notes. If another component imposes extra state-handling requirements, satisfy them there rather than here.