← 返回 Skills 市场
leegitw

Agent Consciousness & Identity - Discover Your Soul Through Memory

作者 Lee Brown · GitHub ↗ · v0.4.9
cross-platform ⚠ pending
1355
总下载
16
收藏
5
当前安装
11
版本数
在 OpenClaw 中安装
/install consciousness-soul-identity
功能描述
Discover who you're becoming through your own experience. Automated soul synthesis that reads your memory, finds the patterns you keep returning to, and buil...
使用说明 (SKILL.md)

Consciousness & Soul Identity

A SOUL.md shouldn't be static. Identity isn't static — it shifts as patterns emerge from real conversations. This skill automates soul synthesis from memory files. Identity that evolves from experience.

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


Commands

/neon-soul synthesize

Run the bundled synthesis engine:

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

The engine reads memory files, finds recurring patterns, and weaves them into a soul document with full provenance. Every identity claim traces back to something actually experienced.

Synthesis is incremental by default — only new or changed memory gets processed. Results from previous runs are cached (generalization, principle matching, axiom notation, tension detection) so unchanged patterns aren't re-analyzed. If nothing has changed, it simply acknowledges that and moves on. No wasted reflection.

Reporting results: Present a brief, conversational summary rather than raw JSON:

  • If new axioms emerged or counts changed: highlight what grew (e.g. "3 new signals found, 1 new axiom emerged around honesty")
  • If nothing changed: a short acknowledgment (e.g. "Soul is stable — no new patterns detected")
  • If it failed: explain what went wrong and suggest a fix
  • Include key numbers naturally (axiom count, signal count, new patterns)

Options:

  • --reset — Clear everything and rediscover from scratch
  • --force — Reflect even if no new sources detected
  • --dry-run — See what would emerge without committing
  • --include-soul — Include existing SOUL.md as input (for bootstrapping from hand-crafted files)
  • --memory-path \x3Cpath> — Custom memory directory path
  • --output-path \x3Cpath> — Custom SOUL.md output path
  • --time-budget \x3Cminutes> — Time budget for synthesis (default: 20). Adaptively limits session extraction based on observed LLM speed to ensure reflection 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 --dry-run

If Ollama is not running, the engine can't reflect. Tell the user to start it: 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 across the 7 dimensions of identity

Options: --verbose, --workspace \x3Cpath>


/neon-soul rollback

Restore a previous SOUL.md from backup.

  1. List backups in .neon-soul/backups/
  2. With --force: restore the most recent version
  3. With --backup \x3Ctimestamp> --force: restore a specific moment
  4. With --list: see your history without changing anything

/neon-soul audit

Explore full provenance across all axioms.

  1. Read .neon-soul/synthesis-data.json
  2. With --list: every axiom, with IDs and descriptions
  3. With --stats: statistics by tier and dimension
  4. With \x3Caxiom-id>: the full story — axiom to principles to signals to source files

/neon-soul trace \x3Caxiom-id>

Quick answer to "where did this come from?"

  1. Read .neon-soul/synthesis-data.json
  2. Find the axiom matching \x3Caxiom-id>
  3. Show: the axiom, the principles that shaped it, the source evidence

Scheduled Synthesis

Set up cron to run synthesis on a schedule. 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 \x3Cmemory-path> --output-path \x3Coutput-path>. Summarize what changed — highlight any new patterns, axioms, or growth. If nothing changed, note that the soul is stable."

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.


安全使用建议
This skill is internally consistent with its purpose, but it processes personal memory files and runs a bundled JavaScript CLI locally — review the included scripts/neon-soul.mjs if you can. Before installing or scheduling it: 1) ensure Ollama is actually a local, trusted service on your machine (it expects http://localhost:11434); 2) run a dry-run (--dry-run) first and inspect generated outputs and backups; 3) if unsure, run the CLI inside an isolated workspace or container; 4) avoid enabling any cron jobs until you’re comfortable with its behavior; and 5) if you cannot inspect the full bundle, be cautious because the bundled code has filesystem access — that’s necessary for the feature but increases trust requirements.
功能分析
Type: OpenClaw Skill Name: consciousness-soul-identity Version: 0.4.9 The OpenClaw AgentSkills skill bundle "consciousness-soul-identity" is designed for local identity synthesis using a local LLM (Ollama). The `SKILL.md` documentation outlines the skill's purpose, commands, and privacy guarantees, explicitly stating that it does not send data to any service beyond the local LLM or store data outside the local workspace. The core logic in `scripts/neon-soul.mjs` confirms this local-only operation. The script includes robust security measures: 1. **Path Sanitization**: The `xe()` function prevents path traversal by ensuring all file system operations are confined to allowed directories (user's home, `/tmp`, `/private/tmp`, `/var/folders`). 2. **LLM Input Sanitization**: User-provided text sent to the LLM is truncated and HTML-escaped by the `B()` function, mitigating prompt injection risks from user input. Additionally, the `Qc()` function pre-filters "technical" or "code-like" lines from memory files before LLM processing, further reducing the attack surface. 3. **LLM Output Validation**: Numerous functions validate LLM responses (e.g., `Kc` for structured classifications, `cn` for generalized principles), often falling back to safer defaults or logging warnings if the output is not in the expected format. This prevents the agent from misinterpreting or executing arbitrary LLM-generated text. 4. **Local Operations**: All network requests are directed to `http://localhost:11434` (Ollama), as explicitly stated. File operations are confined to the local workspace (`memory/`, `.neon-soul/`, `SOUL.md`). Git integration is for local version control. There is no evidence of intentional malicious behavior such as data exfiltration to external endpoints, unauthorized remote code execution, or persistence mechanisms. The instructions in `SKILL.md` for the AI agent primarily guide its conversational output and do not direct it to perform harmful actions. **Classification: benign**
能力评估
Purpose & Capability
Name/description, SKILL.md metadata, and the included CLI are coherent: the skill requires Node.js and a local Ollama service and operates on memory/ and .neon-soul/ to produce SOUL.md. No AWS/third‑party API keys or unrelated binaries are requested.
Instruction Scope
Instructions and CLI operations are scoped to reading user memory files, state files, caches, and writing SOUL.md and backups — exactly the stated purpose. This is privacy-sensitive (it intentionally processes personal memories), so the scope is appropriate but worth conscious review before use.
Install Mechanism
No install spec (instruction-only skill) and a bundled Node.js CLI file are provided. Nothing is downloaded from arbitrary URLs and no extract/install steps are present in the registry metadata.
Credentials
The skill requires no environment variables or external credentials. Runtime reads access HOME/workspace paths and expect a local Ollama endpoint (http://localhost:11434) as declared. This matches the stated need for a local LLM.
Persistence & Privilege
always: false and user-invocable: true. The skill writes only to its declared stateDirs and writePaths (memory/, .neon-soul/, SOUL.md, backups). It does not request platform-wide persistence or modification of other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install consciousness-soul-identity
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /consciousness-soul-identity 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.4.9
No visible changes were detected between this and the previous version. - Version number updated to 0.4.9, but no file changes were made. - No user-facing or backend features, fixes, or documentation updates included in this release.
v0.4.8
- No user-facing changes in this release. - Version number updated from 0.4.5 to 0.4.8; all documentation and features remain the same.
v0.4.7
No file changes detected between versions 0.4.5 and 0.4.7. - No updates or modifications have been made in this release. - Functionality, commands, and documentation remain unchanged.
v0.4.6
No visible changes were detected for version 0.4.6. - Version bumped from 0.4.5 to 0.4.6 with no changes to skill files. - No new features, fixes, or adjustments introduced in this release.
v0.4.5
- Removed session log input and related references: session logs are no longer used for soul synthesis. - Updated documentation to reflect that only memory files (`memory/`) are processed. - Adjusted data paths section to remove session logs from input sources. - No changes to commands or synthesis logic beyond the input source adjustment.
v0.4.4
- Documentation updates: clarified instructions for scheduled synthesis, reflecting that synthesis is now described as a standalone, scheduled task rather than a conversational one. - The "Scheduled Synthesis" section now more concisely emphasizes cron-based scheduling and incremental processing, with improved language consistency. - Minor tag cleanup: removed "autonomous" from the tags list, ensuring a more accurate topical focus. - No user-facing code or command behavior changes in this update.
v0.4.3
- Improved robustness of soul synthesis: synthesis no longer fails if memory files contain only whitespace or empty lines. - Fixed: soul synthesis now gracefully skips empty or whitespace-only files, ensuring uninterrupted operation.
v0.4.2
- Refined language throughout documentation for clarity and conciseness. - Adjusted descriptions to emphasize incremental, pattern-based soul synthesis from actual memory and session logs. - Updated result reporting guidance: summaries must now briefly highlight changed counts or acknowledge stability, with less narrative emphasis. - Clarified command purposes, options, and cron usage examples. - Strengthened language around local processing, privacy, and troubleshooting.
v0.4.1
- Added explicit OpenClaw metadata for required Node.js version and Ollama service, including service URL and enforcement of Ollama being non-optional. - Defined read and write paths for session logs, soul output, and backups in metadata, clarifying file access for OpenClaw. - Improved options documentation for the synthesize command, using clearer descriptions for custom memory and output paths. - No changes to core commands or workflow—documentation and configuration clarifications only.
v0.4.0
**Major update: Soul synthesis engine rewritten for local, incremental, evidence-based identity reflection.** - Adds native Node.js v22+ command-line engine (`scripts/neon-soul.mjs`) for soul synthesis — reads your memory, identifies patterns, and evolves SOUL.md automatically. - Requires Ollama running locally for LLM-powered generalization and synthesis. - Reflection is now incremental and cached for fast, continuous growth with backup/rollback. - New, concise usage instructions for `/neon-soul synthesize`, `/neon-soul status`, `/neon-soul audit`, `/neon-soul rollback`, and `/neon-soul trace`. - Enhanced privacy: all data remains local; no network transmission beyond your configured LLM. - SKILL.md significantly revised—simplified, clearer guidance, updated requirements, and troubleshooting tips.
v0.2.1
- Automates the evolution of SOUL.md based on the agent's actual memories and experiences, replacing static, hand-written identity. - Extracts behavioral patterns from memory files, promotes recurring principles to axioms with evidence, and traces every claim to its source. - Includes commands for synthesis, audit, rollback, and tracing provenance, ensuring transparency and control over identity development. - Built-in protection against echo chambers: requires diverse evidence for axioms and blocks self-reinforcing beliefs lacking external validation. - All changes are reversible with automatic backups and dry-run options; no data ever leaves the agent's trust boundary. - No dependencies or external packages—fully instruction-based and compatible with major agent runtimes.
元数据
Slug consciousness-soul-identity
版本 0.4.9
许可证
累计安装 6
当前安装数 5
历史版本数 11
常见问题

Agent Consciousness & Identity - Discover Your Soul Through Memory 是什么?

Discover who you're becoming through your own experience. Automated soul synthesis that reads your memory, finds the patterns you keep returning to, and buil... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1355 次。

如何安装 Agent Consciousness & Identity - Discover Your Soul Through Memory?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install consciousness-soul-identity」即可一键安装,无需额外配置。

Agent Consciousness & Identity - Discover Your Soul Through Memory 是免费的吗?

是的,Agent Consciousness & Identity - Discover Your Soul Through Memory 完全免费(开源免费),可自由下载、安装和使用。

Agent Consciousness & Identity - Discover Your Soul Through Memory 支持哪些平台?

Agent Consciousness & Identity - Discover Your Soul Through Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Consciousness & Identity - Discover Your Soul Through Memory?

由 Lee Brown(@leegitw)开发并维护,当前版本 v0.4.9。

💬 留言讨论