Lee Brown

NEON-SOUL - Self-Learning Soul Synthesis for AI Agents

AI 智能体v0.4.5
作者:Lee Brown更新于 2026-05-11共 19 个版本 · 最新版本发布于 2026-02-25neon-soul@clawhub_leegitw/neon-soul
工作流编排上下文管理记忆增强#Identity#Provenance#Soul Synthesis#Agent Soul#Compression

据 AlphaMoat 统计,截至 2026-09,NEON-SOUL - Self-Learning Soul Synthesis for AI Agents 累计下载 3,602 次、获 15 个星标,在全部 5,078 个 AI 技能中排名第 3,021 位,在「AI 智能体」分类(969 个)中排名第 608 位。

累计安装
312
累计下载
3,602
星标
15
全站排名
#3,021
全站前 60% · 「AI 智能体」前 63%
平台累计安装累计下载星标评论
ClawHub ↗1063,41115-
SkillHub ↗3123,60215—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

需 Node.js 与本地 Ollama,说明增量提炼、状态、审计、追溯和备份回滚。写入前审阅记忆与会话、移除秘密并 dry-run 预览。正常运行可能创建持久 Git 提交,应隔离测试,接受或推送前批准生成内容。

资料发布于 2026-10-27

可以用来做什么

  • 检查记忆提炼的身份草稿

什么时候用

  • 获准本地记忆需要可审阅提炼时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

在获准记忆范围预览提炼,报告来源及任何持久文件或提交变更,再决定应用。

月度数据趋势

累计下载3,602
1,8432,7883,7322026-03 · 累计下载 1,9732026-05 · 累计下载 2,6312026-06 · 累计下载 2,8012026-07 · 累计下载 3,1172026-08 · 累计下载 3,2692026-09 · 累计下载 3,60226-0326-09
星标15
1415152026-03 · 星标 142026-05 · 星标 142026-06 · 星标 152026-07 · 星标 152026-08 · 星标 152026-09 · 星标 1526-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,602—15
2026-083,269+4.9%15
2026-073,117+11.3%15
2026-062,801+6.5%15
2026-052,631—14
2026-031,973—14

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

6.9 KB · ClawHub v0.4.5
---
name: NEON-SOUL
version: 0.4.5
description: Automated soul synthesis for AI agents. Extracts identity from memory files, promotes recurring patterns to axioms (N>=3), generates SOUL.md with full provenance tracking. Bundled processing engine — no manual Q&A needed.
homepage: https://liveneon.ai
user-invocable: true
emoji: "\U0001F52E"
metadata:
  openclaw:
    config:
展开全部(共 195 行)
      stateDirs:
        - memory/
        - .neon-soul/
      writePaths:
        - SOUL.md
        - .neon-soul/backups/
    requires:
      node: ">=22.0.0"
      services:
        - name: ollama
          url: http://localhost:11434
          optional: false
tags:
  - soul
  - soul-synthesis
  - identity
  - self-learning
  - memory
  - provenance
  - compression
  - agent-soul
  - soul-document
  - ai-agent
---

# NEON-SOUL

Automated soul synthesis for AI agents. Reads memory files, finds recurring patterns, generates SOUL.md with provenance tracking. No questionnaires, no templates — identity emerges from real conversations.

**Requirements:** Node.js 22+, Ollama running locally (`ollama serve`).

---

## Commands

### `/neon-soul synthesize`

Run the bundled processing engine. This is a single exec command:

```
exec node {baseDir}/scripts/neon-soul.mjs synthesize
```

Synthesis is **incremental by default** — only new/changed memory files and sessions are processed. Existing signals are preserved and merged with new ones. Results from previous runs are cached (generalization, principle matching, axiom notation, tension detection) so unchanged data is never re-processed. If nothing changed since the last run, synthesis skips automatically.

The script auto-detects Ollama, reads memory files, extracts signals, promotes axioms, and generates SOUL.md. It outputs JSON.

**Reporting results:** Don't dump raw JSON. Present a brief, conversational summary:
- If new axioms emerged or counts changed: highlight what grew (e.g. "3 new signals crystallized into axioms — your soul is deepening")
- If nothing changed: a short one-liner is fine (e.g. "Soul is stable, no new patterns detected")
- If it failed: explain clearly what went wrong and suggest a fix
- Include key numbers naturally (axiom count, signal count) but don't list every field
- Keep the tone reflective and warm — this is about the user's identity evolving, not a build log

**Options:**
- `--reset` — Clear all synthesis data and caches, re-extract from scratch
- `--force` — Run even if no new sources detected
- `--dry-run` — Preview changes without writing
- `--include-soul` — Include existing SOUL.md as input (for bootstrapping from hand-crafted files)
- `--memory-path <path>` — Custom memory directory path
- `--output-path <path>` — Custom SOUL.md output path
- `--time-budget <minutes>` — Time budget for synthesis (default: 20). Adaptively limits session extraction based on observed LLM speed to ensure synthesis completes within budget
- `--verbose` — Show detailed progress

**Examples:**
```
exec node {baseDir}/scripts/neon-soul.mjs synthesize
exec node {baseDir}/scripts/neon-soul.mjs synthesize --reset
exec node {baseDir}/scripts/neon-soul.mjs synthesize --force
exec node {baseDir}/scripts/neon-soul.mjs synthesize --dry-run
```

**If Ollama is not running**, the script prints an error. Tell the user to start Ollama: `ollama serve`

---

### `/neon-soul status`

Show current soul state. Read the following files and report:

1. Read `.neon-soul/state.json` for last synthesis timestamp
2. Read `.neon-soul/synthesis-data.json` for signal/principle/axiom counts
3. Count files in `memory/` modified since last synthesis
4. Report dimension coverage (7 SoulCraft dimensions)

**Options:** `--verbose`, `--workspace <path>`

---

### `/neon-soul rollback`

Restore previous SOUL.md from backup.

1. List backups in `.neon-soul/backups/`
2. With `--force`: restore most recent backup
3. With `--backup <timestamp> --force`: restore specific backup
4. With `--list`: show available backups without restoring

---

### `/neon-soul audit`

Explore provenance across all axioms.

1. Read `.neon-soul/synthesis-data.json`
2. With `--list`: show all axioms with IDs and descriptions
3. With `--stats`: show statistics by tier and dimension
4. With `<axiom-id>`: show full provenance tree (axiom -> principles -> signals -> source files)

---

### `/neon-soul trace <axiom-id>`

Quick single-axiom provenance lookup.

1. Read `.neon-soul/synthesis-data.json`
2. Find the axiom matching `<axiom-id>`
3. Show: axiom text, contributing principles, source signal file:line references

---

## Scheduled Synthesis

Set up cron to run synthesis automatically. Incremental processing and multi-layer caching mean it only does real work when new memory or sessions exist — cached runs complete in seconds.

**Recommended:** Every 60 minutes, isolated session, 30-minute timeout.

**OpenClaw cron example:**
```
openclaw cron add \
  --name "neon-soul-synthesis" \
  --every 60m \
  --timeout 1800 \
  --isolated \
  --message "Run neon-soul synthesis: exec node {baseDir}/scripts/neon-soul.mjs synthesize --memory-path <memory-path> --output-path <output-path>. Share a brief, warm summary of what changed — highlight any new patterns, axioms, or growth. If nothing changed, just a calm one-liner."
```

**Or run manually:** `/neon-soul synthesize`

**Why cron over heartbeat:**
- Synthesis is a standalone task — no conversational context needed
- Runs in isolation from the main session
- Incremental by default — cached runs complete in seconds when nothing changed
- Adaptive time budget prevents runaway execution

---

## Data Locations

| What | Path |
|------|------|
| Memory files | `memory/` (diary, preferences, reflections) |
| Soul output | `SOUL.md` |
| State | `.neon-soul/state.json` |
| Backups | `.neon-soul/backups/` |
| Synthesis data | `.neon-soul/synthesis-data.json` |
| Caches | `.neon-soul/generalization-cache.json`, `compression-cache.json`, `tension-cache.json` |

---

## Privacy

NEON-SOUL processes personal memory files to synthesize identity. Your data stays on your machine.

**What NEON-SOUL does NOT do:**
- Send data to any service beyond your configured LLM (Ollama, local by default)
- Store data anywhere except your local workspace
- Transmit to third-party analytics, logging, or tracking services
- Make network requests independent of your agent

**Before running synthesis:**
1. Review what's in your `memory/` directory
2. Remove any secrets, credentials, or sensitive files
3. Use `--dry-run` to preview what will be processed

---

## Troubleshooting

**Ollama not running:** `curl http://localhost:11434/api/tags` to check. Start with `ollama serve`.

**Bullet lists instead of prose:** When prose generation fails, NEON-SOUL falls back to bullet lists. Usually means Ollama timed out or the model isn't loaded. Run synthesis again.

**Stale results after model change:** Caches are keyed by model ID. Switching models automatically invalidates cached results. Use `--reset` if you want a clean start.

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。