Xpersona
A

AI Self-Evolution Engine( AI 自我进化引擎)

CLAWHUB · Unverified

Dual-value learning system - extracts reusable mental models from books, writes individual pattern files (patterns/{id}.md) with YAML frontmatter for buildin...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 s179gkrsgxgfzehrjabbrqk9rx83ht02:cognitive-forge
  1. Install using `clawhub skill install s179gkrsgxgfzehrjabbrqk9rx83ht02:cognitive-forge` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/kedoupi/cognitive-forge before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-kedoupi-cognitive-forge/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

145,473 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: cognitive-forge
description: "Dual-value learning system - extracts reusable mental models from books, writes individual pattern files (patterns/{id}.md) with YAML frontmatter for building compound thinking ability. Each run produces: (1) F.A.C.E.T. analysis for user learning, (2) permanent knowledge base entry for AI's decision framework library. Supports breadth/depth modes, configurable topic mapping, multi-source book selection, and brief/full output."
dependencies:
  - book-scout  # Step 1: called to search and recommend books via web search
  - mental-model-forge  # Step 2: called to perform F.A.C.E.T. analysis on selected book
permissions:
  filesystem:
    read:
      - USER.md  # Personalize [T] Transfer dimension with user's profession/projects/challenges
      - memory/reading-history.json  # Load previously analyzed books for deduplication (book titles only)
      - HEARTBEAT-reading.md  # Optional: read schedule config, topic mapping, and Feishu credentials
    write:
      - memory/knowledge-base/patterns/*.md  # Write individual model files with YAML frontmatter
      - memory/knowledge-base/concepts.md  # Append domain-specific concepts
      - memory/reading-history.json  # Record newly analyzed book + model for future deduplication
  env:
    - FEISHU_APP_TOKEN  # Optional: write analysis records to Feishu Bitable for external tracking
    - FEISHU_TABLE_ID  # Optional: target table in Feishu Bitable (used with FEISHU_APP_TOKEN)
    - NOTION_API_KEY  # Optional: alternative to Feishu, write to Notion database
    - NOTION_DATABASE_ID  # Optional: target database in Notion (used with NOTION_API_KEY)
config:
  reads:
    - USER.md
    - memory/reading-history.json
    - HEARTBEAT-reading.md
  writes:
    - memory/knowledge-base/patterns/*.md
    - memory/knowledge-base/concepts.md
    - memory/reading-history.json
  env:
    - FEISHU_APP_TOKEN
    - FEISHU_TABLE_ID
    - NOTION_API_KEY
    - NOTION_DATABASE_ID
---

# Cognitive Forge (认知锻造)

**One run, dual value** — 每次运行同时产出两个价值:

1. **用户获得** F.A.C.E.T. 深度分析,提取可立即应用的思维模型
2. **AI 获得** 永久写入 `patterns/{id}.md` 的决策框架(带 YAML frontmatter),构建可复用的思维模型库

随时间积累,你的 AI 拥有一个不断增长的决策框架库(类似 Charlie Munger 的 "latticework of mental models"),在未来任何领域的提问中都可以引用。

---

## Path Convention

> 所有路径均相对于 OpenClaw workspace 根目录(通常为 `~/.openclaw/workspace/`)。
> 如用户 workspace 位于其他位置,请将文档中的路径替换为实际 workspace 路径。

| 用途 | 相对路径 |
|------|---------|
| 阅读记录 | `memory/reading-history.json` |
| 思维框架库 | `memory/knowledge-base/patterns/*.md` (每个模型一个文件) |
| 概念库 | `memory/knowledge-base/concepts.md` |
| 用户画像 | `USER.md` |
| 调度配置 | `HEARTBEAT-reading.md` |

---

## Routing (路由分支)

根据用户意图,选择不同的执行路径:

| 用户意图 | 路由 | 说明 |
|---------|------|------|
| "生成今日读书简报" / 默认 | → **Main Workflow** (breadth) | 完整选书→分析→写入流程,提取 1 个模型 |
| "深度分析《XXX》" / "depth_mode: depth" | → **Main Workflow** (depth) | 对指定书籍连续提取多个模型,合并输出 |
| "cognitive-forge status" / "认知锻造 状态" | → **Status Branch** | 输出知识库统计 |
| "cognitive-forge review" / 周日自动触发 | 

README.md

# Cognitive Forge (认知锻造)

> Your AI reads books, extracts mental models, and builds a growing library of decision frameworks. The more books processed, the more compound thinking ability your AI gains.

[![ClawHub](https://img.shields.io/badge/ClawHub-Published-blue)](https://clawhub.ai)
[![Version](https://img.shields.io/badge/version-2.0.0-green)](https://github.com/your-repo)
[![License](https://img.shields.io/badge/license-MIT--0-lightgrey)](LICENSE)

---

## What Makes This Different

**Most AI skills** give you answers.
**Cognitive Forge** builds your AI's **decision framework library**.

Every book processed → One new mental model → Permanently stored in `thinking-patterns.md`.

After 100 books, your AI has 100 reusable frameworks (Taleb's antifragility, Munger's mental models, Kahneman's dual-process theory, etc.) that it can reference across ANY domain.

Building compound thinking, one book at a time.

---

## One Run, Dual Value

Each run produces two outputs simultaneously:

### 1. For You: F.A.C.E.T. Analysis
Sharp, actionable analysis for deep book comprehension:

- **[F] Framework**: Core mechanism in 50 words (not what author said, but what theory DOES)
- **[A] Anchor Case**: Most iconic real-world example (vivid stories stick)
- **[C] Contradiction**: What "common sense" does this destroy?
- **[E] Edge**: When does this model fail? Fragile assumptions?
- **[T] Transfer**: Map to YOUR reality TODAY (personalized to your job/projects)

Not a book summary — a battle-tested mental model you can apply immediately.

### 2. For Your AI: Knowledge Base Entry
The extracted model is permanently written to `thinking-patterns.md`. In future sessions, your AI can reference this framework when answering complex questions.

---

## Quick Start

### 1. Install Dependencies

This skill requires:
- [`book-scout`](https://clawhub.ai/kedoupi/book-scout) — Finds high-quality books via web search
- [`mental-model-forge`](https://clawhub.ai/kedoupi/mental-model-forge) — Applies F.A.C.E.T. analysis

```bash
# Install from ClawHub
clawhub install kedoupi/book-scout
clawhub install kedoupi/mental-model-forge

# Or manually copy to ~/.openclaw/workspace/skills/
```

### 2. Tell Your AI to Use It

**Daily learning (recommended)**:
```
Ask your AI: "Run cognitive-forge daily at 8:30 AM. Topic: Business Strategy."
```

Your AI will:
1. Find a high-quality book on the topic (Douban ≥7.5 or Goodreads ≥3.8)
2. Extract the core mental model (F.A.C.E.T. analysis)
3. Write it to `thinking-patterns.md` (permanent storage)
4. Deliver a summary to you

**One-time book processing**:
```
Ask your AI: "Use cognitive-forge to analyze: 'Thinking, Fast and Slow' by Daniel Kahneman"
```

**First run**: The skill auto-creates all necessary files and directories. No manual setup needed.

---

## How It Works

### The Permanent Upgrade Loop

```
┌─────────────────────────────────────────────────────┐
│  1. Book Selection                                   │
│     ├── Priority: Di

_meta.json

{
  "ownerId": "kn70ntg0232hj1dmc972nkgm1s80b9c6",
  "slug": "cognitive-forge",
  "version": "1.0.4",
  "publishedAt": 1774629896780
}

references/book-selection.md

# Book Selection Logic

## Multi-Source Selection (优先级从高到低)

### Source 1: User-Specified (用户直接指定)
用户在对话中明确说 "分析《XXX》by YYY" → 直接使用,跳过选书流程。
- `source` 标记为 `user_specified`

### Source 2: Queue (预排队列)
从 `memory/reading-history.json` 的 `queue` 数组取第一项:
```json
{
  "queue": [
    {"title": "《穷查理宝典》", "author": "彼得·考夫曼", "topic": "决策科学"}
  ]
}
```
- FIFO 顺序,取出后从 queue 中移除
- `source` 标记为 `queue`

### Source 3: book-scout Web Search (网络搜索)
当 queue 为空且用户未指定时,调用 `book-scout` skill。
- `source` 标记为 `web_search`

---

## Configurable Topic Mapping (可配置主题映射)

### 配置优先级
1. **HEARTBEAT-reading.md 自定义** → 优先使用
2. **默认映射** → 兜底

### 默认星期-主题映射

| Weekday | Default Category |
|---------|-----------------|
| Monday | Business Strategy |
| Tuesday | Psychology |
| Wednesday | Technology |
| Thursday | Economics |
| Friday | Innovation |
| Saturday | Philosophy |
| Sunday | Biography |

### 自定义覆盖

用户可在 `HEARTBEAT-reading.md` 中添加以下 section 覆盖默认值:

```markdown
## 主题映射(可选覆盖)
Monday: Product Design
Tuesday: Product Design
Wednesday: AI Technology
Thursday: Decision Science
Friday: Innovation
Saturday: Philosophy
Sunday: Self-Growth
```

也支持按时段细分(参考 HEARTBEAT-reading.md 中的 21 主题轮转配置)。

---

## Deduplication (去重)

### 双层去重

| 层级 | 检查内容 | 来源字段 |
|------|---------|---------|
| **书名去重** | 新书标题 vs 已读列表 | `used_models[].book` |
| **模型去重** | 新模型名称 vs 已提取列表 | `used_models[].model` |

### 去重流程

1. 从 `memory/reading-history.json` 加载 `used_models` 数组
2. 提取所有 `book` 字段 → 已读书名列表
3. 提取所有 `model` 字段 → 已提取模型名列表
4. 两个列表都传给 `book-scout` 用于排除
5. `mental-model-forge` 返回后,再与已提取模型名做语义相似度检查
   - 如果新模型与已有模型本质相同(如 "第一性原理" vs "First Principles Thinking")→ 跳过,重新提取

### Category Exhausted

如果某主题的书已全部处理完:
- `book-scout` 自动从其他主题中选择
- 优先选择覆盖最薄弱的主题

---

## reading-history.json Schema

```json
{
  "schema_version": 1,
  "last_attempted": null,
  "queue": [],
  "used_models": [
    {
      "date": "2026-03-24",
      "book": "《上瘾》",
      "author": "尼尔·埃亚尔",
      "model": "上瘾模型(Hook Model)",
      "category": "用户增长",
      "source": "web_search",
      "applied_count": 0,
      "tags": ["thinking-pattern"]
    }
  ]
}
```

## Adding Books to Queue

用户可以手动向 queue 中添加待读书目:
```
"帮我把《穷查理宝典》加入阅读队列"
```

AI 会向 `reading-history.json` 的 `queue` 数组追加:
```json
{"title": "《穷查理宝典》", "author": "彼得·考夫曼", "topic": "决策科学"}
```

references/example-output.md

# Example Output Format

## Full Mode (默认)

### 📖 今日思维锚点(2026-03-23)

**书籍**: 《逃离不平等》(The Great Escape: Health, Wealth, and the Origins of Inequality)
**作者**: Angus Deaton(2015年诺贝尔经济学奖得主)

---

### 【今日思维锚点】

**不平等是进步的副产品** — 人类逃离贫困的代价,是少数人先富,形成暂时性鸿沟。

---

### 🧠 F.A.C.E.T. 认知穿透

#### [F] Framework (核心框架)

**"逃离机制"**:250年来,人类通过**知识创新**(疫苗、抗生素、现代医学)逐步逃离饥荒和早死,但新技术总是先被富人垄断,再缓慢扩散到穷人。不平等不是失败的标志,而是进步的必经阶段。

#### [A] Anchor Case (锚定案例)

18世纪天花疫苗问世时,只有英国贵族能接种"种痘术"(variolation),穷人仍在死亡。但50年后,疫苗普及,天花在富国消失。**先富者不是敌人,而是新技术的"人体实验小白鼠"** — 他们承担风险,验证疗效,为后来者铺路。

#### [C] Contradiction (反共识摧毁)

❌ **被摧毁的常识**:"贫富差距拉大=社会倒退"
✅ **真相**:差距扩大往往意味着**有人正在逃离**。如果没有人先富,就没有人验证新路径。完全平等的社会,往往是"共同贫穷"。

**Deaton的核心挑战**:外援和慈善并不能持续减贫。真正的脱贫靠**内生知识积累**(教育、科技、制度),而非外部输血。

#### [E] Edge (隐性边界)

**失效条件**:
1. 如果先富者通过**权力垄断**阻止知识扩散(专利永久化、技术封锁),不平等就不再是"暂时的",而变成世袭的壁垒。
2. 该理论假设"时间会让技术普及",但在AI时代,技术迭代速度 > 扩散速度时,穷人永远追不上。

#### [T] Transfer (跨界迁移)

**映射到你的 AI 产品/创业**:

1. **做 AI 产品时**:不要追求"让所有人用得起",而是先服务**愿意付费的高端用户**(企业客户、高净值人群)。他们的付费验证了产品价值,为后续降本铺路。
   - 反例:很多 AI 工具一开始就免费,结果无法持续迭代,最后死掉。

2. **AI 工具选择**:使用付费工具(如 Claude Code、Midjourney)本质上是在做"先富者"。这不是浪费,而是在积累"知识资本"。
   - **行动**:把使用心得、踩坑经验记录下来,这些是**知识资产**,未来可以卖课程、做咨询。

3. **对"不平等"的态度**:如果创业后产品只有少数人买得起 → **不用焦虑**。Deaton告诉我们:这是正常的。真正要警惕的是"有钱人买了之后,用法律/专利阻止你降价"。

---

### 🎯 应用场景

| 场景 | 如何应用这个模型 | 预期效果 |
|------|----------------|---------|
| **定价策略** | AI 产品初期定高价(筛选真需求) | 验证价值,避免伪需求 |
| **技术选型** | 优先用最新工具(即使贵) | 积累先发优势 |
| **看待竞争** | 看到对手融资/高价 → 不焦虑 | 他们在帮你"试错" |

---

### 🔴 反面案例

**某 AI 创业公司**:为了"普惠",产品免费 + 疯狂烧投资人的钱 → 18个月后倒闭。
**Deaton的诊断**:他们违反了"逃离机制" — 没有让"先富者"付费验证价值,导致产品没有真实需求支撑。

---

### 🤔 战略拷问

你现在做的 AI 产品/内容,**谁是你的"先富者"**?
如果没有人愿意为你的产品/知识付费,说明你还没找到"逃离路径"的起点。

**今天的行动**:
列出3个"可能愿意为你的 AI 知识付费"的人/企业,验证他们的真实需求。

---

### 🔄 认知模式更新

**思维框架**:
- 看到"不平等扩大"的新闻 → 不急着批判,先问"谁在逃离?他们用什么方法?"

**决策原则**:
- 做产品时,优先服务"愿意付费的人",而非追求"让所有人免费用"

**盲区警告**:
- 小心"先富阶层通过权力阻止技术扩散"(例如:大厂通过专利封锁开源 AI)

**反射弧**:
- 看到"AI 工具只有大厂用得起" → 联想到天花疫苗的历史 → 判断"这是暂时的,还是永久的垄断?"

---

> 💬 这个模型让你想到工作中的哪个具体场景?回复我,我帮你深入分析。

---

## Brief Mode

当用户指定 `output: brief` 时的精简输出示例:

### 📖 《逃离不平等》 - Angus Deaton

**核心框架**: 不平等是进步的副产品 — 新技术先被先行者垄断,再逐步扩散。不是失败,是逃离的代价。
**破除常识**: "贫富差距扩大=社会倒退" → 错。差距意味着有人在逃离,完全平等往往是共同贫穷。
**应用到你**: 你的 AI 产品应先服务愿意付费的高端用户,用他们验证价值,再降本普及。本周行动:列出 3 个愿意付费的人/企业。
**盲区**: 当先行者用权力(专利、法律)阻止技术扩散时,不平等就不再是"暂时的"。

💡 想看完整分析?说 "展开" 即可。

---

## Written to thinking-patterns.md

无论 full 还是 brief 模式,都会写入知识库:

```markdown
## 逃离机制 (Escape Mechanism) - 《逃离不平等》

**标签**: thinking-pattern
**思维框架 (Framework)**:
- 人类通过知识创新逃离贫困,但新技术总是先被富人垄断再扩散。不平等是进步的必经阶段。

**决策原则 (Decision Rule)**:
- 做产品时,优先服务"愿意付费的人",而非追求"让所有人免费用"

**盲区警告 (Blind Spots)**:
- 小心先行者通过权力垄断阻止技术扩散(专利永久化、技术封锁),使暂时不平等变成世袭壁垒

**反射弧 (Trigger Pattern)**:
- 看到"XX只有少数人用得起" → 联想逃离机制 → 判断"这是暂时的扩散延迟,还是永久的垄断?"

**来源**: 《逃离不平等》 - Angus Deaton
**日期**: 2026-03-23
```

Sponsored

Ads related to AI Self-Evolution Engine( AI 自我进化引擎) and adjacent AI workflows.