evolve

Extract recurring patterns from LanceDB reflections and LEARNINGS.md into MUST/NEVER/ALWAYS governance rules.

4|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ybbms777/openclaw-claude-code-integration --skill evolve-ybbms777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evolve
Source: https://github.com/ybbms777/openclaw-claude-code-integration/tree/main/skills/evolve
Command: npx skills add https://github.com/ybbms777/openclaw-claude-code-integration --skill evolve-ybbms777

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lancedb, and includes scripts (resource) components.

What problem does it solve?

将 LanceDB 的 reflection 记忆与 .learnings/LEARNINGS.md 的纠错记录转化为可操作、可审阅的规则集合,帮助持续改进模型行为与治理。

Core Features & Use Cases

  • 提炼规则:从记忆与纠错记录中提炼出明确的行为规则(MUST/NEVER/ALWAYS),并输出可追加到 AGENTS.md 的条目。
  • 规则治理:对相似或重复的规则进行去重与聚类,生成可追溯的变更日志,便于版本控制与回滚。
  • 扩展来源:可从 learnings_extractor 提取扩展规则,以提升覆盖率与发现新的模式。

Quick Start

运行 evolve.py 以生成候选规则并将结果输出供审核。

Frequently Asked Questions about evolve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract governance rules from agent memory and learnings?

To extract governance rules from agent memory, the tool analyzes LanceDB reflections and LEARNINGS.md corrections to group similar insights into candidate policies. These policies are classified as MUST, NEVER, or ALWAYS rules for human review.

What is the best way to convert reflection memories into AGENTS.md rules?

Converting reflection memories into AGENTS.md rules involves clustering recurring patterns from your vector database, deduplicating similar insights, and outputting structured candidate rules. This process ensures continuous improvement of model behavior and governance.

Does generating candidate rules from LEARNINGS.md require LanceDB?

Yes, generating candidate rules requires LanceDB to query and retrieve stored reflection memories. The tool depends on LanceDB alongside your LEARNINGS.md corrections to extract recurring patterns and classify them into actionable policies.

How do I deduplicate and cluster similar rules from agent learnings?

To deduplicate and cluster similar rules from agent learnings, the tool groups recurring insights extracted from your memory database and correction logs. It generates a traceable changelog for version control and rollback while outputting unique candidate policies.

Can I use a learnings_extractor to expand rule coverage from memory reflections?

Yes, you can use an optional learnings_extractor to expand rule coverage from memory reflections. It extracts extended rules from your correction records to improve pattern discovery and increase the overall coverage of generated governance policies.