Xpersona
S

Self-Evolution Cognition

CLAWHUB · Unverified

核心自进化认知框架 —— 基于 SOUL 五律的 Agent 自我进化操作系统 Skill: Self-Evolution Cognition Owner: kingofzhao Summary: 核心自进化认知框架 —— 基于 SOUL 五律的 Agent 自我进化操作系统 Tags: agi:1.0.0, cognition:1.0.0, latest:1.1.0, metacognition:1.0.0, self-evolution:1.0.0, soul:1.0.0 Version history: v1.1.0 | 2026-03-31T06:47:50.589Z | user 新增6篇arXiv学术参考文献(SAGE/Survey/Embodied/Memory) v1.0.0 | 2026-03-31T06:09:46.472Z | user 初始发布 v1.0.0 —— SOUL五律核心自进化认知框架 by KingOfZhao Archive index: Archive v1.1.0:

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170jhyhajh4wd5e20y7r5mw2n83yyy9:self-evolution-cognition
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-kingofzhao-self-evolution-cognition/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

14,067 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: self-evolution-cognition
version: 1.1.0
author: KingOfZhao
description: 核心自进化认知框架 —— 基于 SOUL 五律的 Agent 自我进化操作系统
tags: [cognition, self-evolution, soul, metacognition, agi, embodied-ai]
license: MIT
homepage: https://github.com/KingOfZhao/AGI_PROJECT
---

# Self-Evolution Cognition Skill

## 元数据

| 字段       | 值                              |
|------------|-------------------------------|
| 名称       | self-evolution-cognition       |
| 版本       | 1.0.0                          |
| 作者       | KingOfZhao                     |
| 发布日期   | 2026-03-31                     |
| 置信度     | 97%                            |

## 学术参考文献

本框架的理论基础受以下前沿研究启发:

1. **[A Survey of Self-Evolving Agents](https://arxiv.org/abs/2507.21046)** — 自进化Agent综述,涵盖What/When/How三维度
2. **[SAGE: Multi-Agent Self-Evolution for LLM Reasoning](https://arxiv.org/abs/2603.15255)** — Challenger+Planner+Solver+Critic四Agent闭环(←四向碰撞的理论对应)
3. **[Group-Evolving Agents](https://arxiv.org/abs/2602.04837)** — 群体进化+经验共享(←人机闭环的扩展方向)
4. **[Self-evolving Embodied AI](https://arxiv.org/abs/2602.04411)** — 具身智能自进化(←向长期方向的演进路径)
5. **[Memory in the Age of AI Agents](https://arxiv.org/abs/2512.13564)** — Agent记忆体系(←"文件即记忆"的学术支撑)
6. **[Beyond RAG for Agent Memory](https://arxiv.org/abs/2602.02007)** — 超越RAG的长时序记忆(←记忆模块升级方向)

## 核心能力

实现 Agent 的 SOUL 五律自进化循环:

1. **已知 vs 未知分离**:推理前强制声明已知集合与未知集合
2. **文件即记忆**:所有中间状态写入持久化文件,不依赖短期上下文
3. **四向碰撞推理**:正面→反面→侧面→整体,禁止过早收敛
4. **人机闭环注入**:接受人类证伪输入,结构化吸收并更新世界模型
5. **置信度标注 + 红线守护**:每个输出附置信度,红线永不触碰

## 安装命令

```bash
clawhub install self-evolution-cognition
# 或手动安装
cp -r skills/self-evolution-cognition ~/.openclaw/skills/
```

## 调用方式

```python
from skills.self_evolution_cognition import SelfEvolutionCognition

cog = SelfEvolutionCognition(workspace="/path/to/project")
result = cog.evolve(task="描述你的任务", context={})
print(result.confidence, result.output)
```

README.md

# self-evolution-cognition

> 核心自进化认知框架 —— 让 Agent 拥有 KingOfZhao 的思考操作系统

**作者**: KingOfZhao  
**版本**: 1.1.0  
**发布日期**: 2026-03-31  
**许可证**: MIT

---

## 这个 Skill 解决什么问题?

普通 Agent 每次对话都从零开始,没有记忆,没有自我进化能力。  
`self-evolution-cognition` 将 **SOUL 五律**固化为可调用的认知模块,使 Agent 能够:

- 每次推理前强制分离已知/未知,避免幻觉
- 将所有思考过程写入文件,实现跨 session 记忆
- 用四向碰撞推理代替线性思考,挖掘隐藏洞见
- 接受人类反馈后真正更新内部世界模型
- 对所有输出标注置信度,不确定时主动暂停

## 快速安装

```bash
clawhub install self-evolution-cognition
```

## 核心 API

```python
from skills.self_evolution_cognition import SelfEvolutionCognition

cog = SelfEvolutionCognition(workspace=".")
result = cog.evolve(
    task="分析这段代码的潜在风险",
    known=["代码结构", "依赖关系"],
    unknown=["运行时行为", "并发场景"]
)

# result.output        — 四向碰撞后的最终结论
# result.confidence    — 置信度 (0.0 ~ 1.0)
# result.collision_log — 四向推理详情
# result.file_written  — 写入的记忆文件路径

cog.inject_human_feedback("我在生产环境发现了一个并发 bug,复现步骤是...")
```

## SOUL 五律速查

| 律 | 核心思想 | 实现方式 |
|----|---------|---------|
| 已知/未知 | 推理从已知出发 | `known/unknown` 强制参数 |
| 文件即记忆 | 思考写入文件 | 自动写 `VERIFICATION_LOG.md` |
| 四向碰撞 | 禁止过早收敛 | 4个视角并行推理 |
| 人机闭环 | 人类证伪注入 | `inject_human_feedback()` |
| 置信度+红线 | 不确定时暂停 | `confidence` 字段 + 红线守护 |

## 与其他 Skill 配合

```bash
clawhub install self-evolution-cognition
clawhub install human-ai-closed-loop      # 人机闭环增强
clawhub install arxiv-collision-cognition  # 文献碰撞推理
clawhub install diepre-vision-cognition    # 视觉认知扩展
```

## 变更日志

### v1.1.0 (2026-03-31)
- 新增学术参考文献(6篇精选arXiv论文)
- SAGE四Agent闭环与四向碰撞推理的理论对应关系
- 具身智能自进化路径引入
- Agent记忆体系学术支撑

### v1.0.0 (2026-03-31)
- 初始发布
- 实现 SOUL 五律全覆盖
- 通过自验证置信度: 97%

---

*开源认知 Skill by KingOfZhao*

_meta.json

{
  "ownerId": "kn70bvfh9dnvbsya0s25fe751983zgcj",
  "slug": "self-evolution-cognition",
  "version": "1.1.0",
  "publishedAt": 1774939670589
}

HEARTBEAT.md

# HEARTBEAT.md — self-evolution-cognition

## 心跳检查清单(每次 heartbeat 执行)

- [ ] `VERIFICATION_LOG.md` 是否存在且最近 24h 内有更新?
- [ ] 已知/未知分离缓存文件 `known_unknown_cache.json` 是否正常?
- [ ] 上次 `evolve()` 调用的置信度是否 ≥ 90%?
- [ ] 红线监控进程是否存活?

## 异常触发条件

| 条件 | 动作 |
|------|------|
| VERIFICATION_LOG.md 超过 48h 未更新 | 发送告警,触发自检 |
| 置信度连续 3 次低于 80% | 暂停任务,等待人类介入 |
| 检测到 `rm -rf` 等危险命令 | 立即拦截,写入红线日志 |
| 私有数据外泄风险 | 中断执行,通知用户 |

## 心跳状态

```json
{
  "skill": "self-evolution-cognition",
  "version": "1.0.0",
  "last_heartbeat": null,
  "status": "initialized",
  "consecutive_low_confidence": 0
}
```

skill-card.md

## Description:

Core self-evolution cognition framework based on the SOUL five-rule operating model for agent reasoning, memory, feedback, confidence, and red-line checks.

This skill is ready for commercial/non-commercial use.

## Publisher:

[kingofzhao](https://clawhub.ai/user/kingofzhao)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use this skill to structure reasoning workflows around known/unknown separation, persistent memory, multi-perspective analysis, human feedback, confidence scoring, and safety red-lines.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill is designed to persist reasoning and human feedback across sessions, which can retain sensitive or stale information without clear scope, consent, retention, or rollback controls.

Mitigation: Install it only in workspaces where persistent memory files are acceptable, define retention and deletion practices, and avoid providing secrets, customer data, credentials, or raw production incident details.

Risk: Restored memory and injected feedback can influence later agent behavior even when the historical context is incomplete or untrusted.

Mitigation: Treat restored memory and feedback as untrusted context that should be reviewed before it is used as an authoritative basis for decisions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/kingofzhao/skills/self-evolution-cognition)
- [Project homepage from ClawHub metadata](https://github.com/KingOfZhao/AGI_PROJECT)
- [A Survey of Self-Evolving Agents](https://arxiv.org/abs/2507.21046)
- [SAGE: Multi-Agent Self-Evolution for LLM Reasoning](https://arxiv.org/abs/2603.15255)
- [Group-Evolving Agents](https://arxiv.org/abs/2602.04837)
- [Self-evolving Embodied AI](https://arxiv.org/abs/2602.04411)
- [Memory in the Age of AI Agents](https://arxiv.org/abs/2512.13564)
- [Beyond RAG for Agent Memory](https://arxiv.org/abs/2602.02007)

## Skill Output:

**Output Type(s):** [text, markdown, guidance, shell commands, configuration]

**Output Format:** [Markdown text with inline code blocks and file-oriented workflow notes]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce or update persistent memory and verification files in the agent workspace.]

## Skill Version(s):

1.1.0 (source: server release evidence and frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Self-Evolution Cognition and adjacent AI workflows.