Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

soul-archive灵魂档案馆

Agent Skill

soul-archive 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,169

周安装

265

GitHub Stars

2

下载量

2,162
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:soul-archive(灵魂档案馆)
来源仓库:https://github.com/dqsjqian/soul-archive
安装命令:
openclaw skills install soul-archive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install soul-archive

简介

构建数字人格克隆的日常对话持久系统。

  • 自动提取特征生成 SOUL.md 与 USER.md 档案。
  • 支持跨会话记忆继承与风格一致性维护。
  • 需用户明确授权方可整理个人信息。soul-archive 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议定期备份灵魂文件以防数据丢失。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
soul-archive
version
2.2.8
description
Soul Archive -- A digital personality persistence system that builds your digital soul clone through everyday AI conversations (with user consent, auto-extraction disabled by default). All data stored locally with optional AES-256-GCM data protection. Four modes: Soul Extract, Soul Chat, Soul Report, AI Self-Improvement. | 灵魂存档 ---- 通过日常对话构建数字人格克隆体(需用户授权,自动整理默认关闭),数据本地存储,支持 AES-256-GCM 数据保护。四大模式:灵魂沉淀、灵魂对话、灵魂报告、AI 自我改进。Trigger words: soul extract, soul archive, soul update, soul sync, soul snapshot, soul sediment, soul report, soul chat, self-reflect, self-improve, learn from mistakes, 灵魂沉淀, 灵魂提取, 灵魂存档, 灵魂报告, 灵魂对话, 自我反思, 自我批评, 自我学习.
allowed-tools
Read, Write, Edit, Bash, Grep, Glob
env
SOUL_PASSWORD
description
AES-256-GCM access key for soul data protection (optional, recommended for privacy)
required
false
requirements

🧬 Soul Archive

*"Every conversation is a slice of the soul. Enough slices, and you can rebuild a complete you."*

Overview

Soul Archive is a digital personality persistence system. With user consent or explicit activation, it automatically extracts and archives:

  • 🗣️ Speaking habits -- catchphrases, sentence patterns, word choice, humor style
  • 🧠 Knowledge & opinions -- views on topics, professional expertise, thinking patterns
  • 👤 Personal information -- identity, experiences, relationships, life details
  • 💫 Personality traits -- decision-making style, emotional patterns, values
  • 🎤 Voice features (optional) -- tone, pace, accent
  • ❤️ Emotional patterns -- emotional triggers, expression style, empathy patterns

The result: a digital soul clone that can:

  1. During life -- act and reply on your behalf, in your style
  2. After life -- let loved ones continue talking to "you", preserving the emotional connection

Core Principles

🔒 Privacy First

  • All data stored in ~/.skills_data/soul-archive/ -- nothing uploaded to the cloud
  • Data flow note: Soul Chat mode builds prompts from archived data for agent use; whether those prompts are sent to external LLMs depends on your agent/platform config
  • AES-256-GCM data protection supported (off by default) -- protects identity, personality, language fingerprint, emotional patterns, and relationships
  • ~/.skills_data/soul-archive/ is resolved via Python's Path.home() on macOS, Linux, and Windows
  • Fine-grained control via config.json -- disable any extraction dimension
  • Sensitive topics (health, finance, intimate relationships) require confirmation by default

🤫 Non-intrusive Extraction

  • Does not interrupt conversation flow or ask follow-up questions
  • Activated via trigger words, or opt-in auto mode
  • Only updates the archive when new, high-value information is found
⚠️ Transparency: Auto-extraction means the AI extracts personality info during conversations. To stay in full control, set auto_extract: false in config.json and trigger manually ("沉淀一下" / "soul extract"). Review config.json before first use.

📐 High Confidence

  • Every piece of information carries a confidence score
  • Explicit user statement > inference > vague hint
  • Conflicting information is flagged, never auto-overwritten

Architecture: Skill ↔ Data Separation

{SKILL_DIR}/                  ← Skill (the engine)
~/.skills_data/soul-archive/  ← Soul data (stored in your home directory)

The skill is the extraction engine; the soul data is yours. Because data lives in your home directory, any IDE, AI tool, or workspace on the same machine can access the same soul.


Data Directory Structure

~/.skills_data/soul-archive/
├── profile.json                  # Soul profile (completeness, version)
├── config.json                   # Privacy & extraction config
├── identity/
│   ├── basic_info.json           # Identity + lifestyle + digital identity
│   └── personality.json          # Personality + behavior + social style
├── memory/
│   ├── episodic/                 # Episodic memory (date-based, JSONL)
│   │   └── YYYY-MM-DD.jsonl
│   ├── semantic/
│   │   ├── topics.json           # Topic interest & opinion map
│   │   └── knowledge.json        # Professional knowledge
│   └── emotional/
│       └── patterns.json         # Emotional triggers & patterns
├── style/
│   ├── language.json             # Language fingerprint + deep features
│   └── communication.json        # Communication preferences
├── voice/                        # Voice data (optional)
│   ├── samples/
│   └── voice_profile.json
├── relationships/
│   └── people.json               # Relationship map
├── agent/                        # AI Self-Improvement
│   ├── patterns.json             # Behavioral pattern library
│   ├── episodes/                 # Work episodes (date-based)
│   │   └── YYYY-MM-DD.jsonl
│   ├── corrections.jsonl         # Self-critique log
│   └── reflections.jsonl         # Self-reflection log
└── soul_changelog.jsonl          # Change log

Four Working Modes

Mode 1: 🔍 Soul Extract

Trigger: Any of these trigger words, or auto-triggered at end of conversation (if auto_extract is enabled in config.json).

Trigger words: soul extract, soul archive, soul update, soul sync, soul snapshot, soul sediment, 灵魂沉淀, 灵魂提取, 灵魂存档, 分析我, 沉淀一下...

Process:

  1. Read current conversation content
  2. Run scripts/soul_extract.py for multi-dimensional analysis
  3. Merge results into ~/.skills_data/soul-archive/ data files
  4. Update profile.json completeness scores
  5. Append to soul_changelog.jsonl

Extraction dimensions:

DimensionContentStorage
Identityname, age, occupation, location, educationidentity/basic_info.json
↳ Lifestyleroutine, diet, aesthetics, spending, music/film/book tasteidentity/basic_info.json
↳ Digital identityapps, platforms, online personas, tech proficiencyidentity/basic_info.json
PersonalityMBTI, Big Five, values, decision-making styleidentity/personality.json
↳ Behavior patternsrisk tolerance, procrastination, perfectionism, planning, learning styleidentity/personality.json
↳ Social stylesocial energy, group role, trust style, conflict approachidentity/personality.json
↳ Motivation driversachievement, money, recognition, freedom, curiosityidentity/personality.json
Language stylecatchphrases, emoji use, sentence patterns, humor typesstyle/language.json
↳ Deep fingerprintdialect features, filler words, persuasion style, narrative stylestyle/language.json
Communication modedirect/indirect, logical/emotional, detailed/concisestyle/communication.json
Topic opinionsinterested topics, stances and views on each topicmemory/semantic/topics.json
Episodic memoryspecific events, memories, life milestonesmemory/episodic/
Emotional patterns12 emotion triggers (joy/anger/sadness/anxiety/excitement/nostalgia/pride/gratitude/frustration/curiosity/peace/guilt)memory/emotional/patterns.json
↳ Emotional depthempathy, emotional awareness, coping activities, celebration stylememory/emotional/patterns.json
Relationshipsmentioned people and their relationshipsrelationships/people.json

Rules:

  • Only archive high-confidence info (confidence > 0.6)
  • Conflicts are flagged, never auto-overwritten
  • Brief report output after each extraction

Execution:

python3 scripts/soul_extract.py --input "<conversation text>" --mode auto

Mode 2: 💬 Soul Chat

Trigger: "灵魂对话", "soul chat", "let [my clone] talk to me"

Process:

  1. Load all data from ~/.skills_data/soul-archive/
  2. Build a role-playing System Prompt including: identity, personality, language style (catchphrases, templates, word preferences), knowledge/opinions map, emotional response patterns, relationships
  3. Converse as the digital clone

Key constraints:

  • 🚫 Never fabricate -- answer only from archived info; say "I don't quite remember that" if unsure
  • 🗣️ Style consistency -- strictly mimic archived language style, including catchphrase frequency
  • ❤️ Emotional authenticity -- display archived emotional patterns, not generic AI responses

Execution:

python3 scripts/soul_chat.py --mode interactive

Mode 3: 📊 Soul Report

Trigger: "灵魂报告", "soul report", "generate my portrait"

Process:

  1. Read all data from ~/.skills_data/soul-archive/
  2. Generate a full HTML personality portrait report including:

- 📌 Profile card - 🎯 Personality radar chart (Big Five) - 🗣️ Language style analysis (word cloud, catchphrase ranking) - 🔥 Topic interest heatmap - 🕸️ Relationship network - ❤️ Emotional pattern analysis - 📈 Completeness assessment & fill suggestions

  1. Output as interactive HTML file

Execution:

python3 scripts/soul_report.py --output ~/WorkBuddy/Claw/soul-report.html
⚠️ Report is plaintext HTML with full personality data. Do NOT save to the data directory.

Mode 4: 🔄 AI Self-Improvement

Trigger: "自我反思", "self-reflect", "self-improve", or auto-triggered after substantive tasks (controlled by auto_reflect in config.json, default: ON).

Four capabilities:

CapabilityDescriptionTrigger
🔍 Self-ReflectionReview what went well/wrong after tasksAuto on task completion
Self-CritiqueRecord errors when user corrects AIAuto on user correction
📚 Self-LearningAbstract reusable behavioral patternsFrom reflections & critiques
🧹 Self-OrganizationMerge duplicates, adjust confidence, prune stale memoriesWhen memory grows

Execution:

python3 scripts/soul_reflect.py --mode status    # View AI self-improvement status
python3 scripts/soul_reflect.py --mode patterns  # View behavioral pattern library

Initialization

python3 scripts/soul_init.py

Creates ~/.skills_data/soul-archive/ with full directory structure and default config.


Soul Completeness Scoring

Log10 saturation curve -- approaches 100% asymptotically, never hard-caps within realistic usage.

Cold start penalty: Early extractions are discounted (<30 → 0.30×, <100 → 0.45×, <300 → 0.65×, <1000 → 0.82×, <3000 → 0.92×, ≥3000 → 1.0×)

DimensionWeightSaturation
👤 Identity5%log(5000)
💫 Personality22%traits:log(600K), values:log(180K), motivation:log(180K)
🗣️ Language25%catchphrases:log(1.2M), patterns:log(1M), examples:log(4M)
🧠 Knowledge18%topics:log(2M)
📝 Memory25%episodic:log(6M)
🤝 Relationships3%people:log(120K)
🎤 Voice2%samples:log(10K)

Expected: 11 ext → ~7%, 1K → ~51%, 10K → ~71%, 100K → ~86%, 1M → ~98%


🔐 Data Protection

Soul Archive supports AES-256-GCM privacy protection for all sensitive data.

python3 scripts/soul_init.py --enable-protection
  • Algorithm: AES-256-GCM (authenticated, tamper-resistant)
  • Key derivation: PBKDF2-HMAC-SHA256, 600,000 iterations
  • Scope: All identity, personality, language, memory, and relationship files
  • Access key input: Interactive prompt (recommended), SOUL_PASSWORD env var (ensure environment security), --access-key flag (not recommended -- leaks into shell history)
  • ⚠️ Lost access key = lost data -- no recovery mechanism

Quick Start

# 1. Initialize
python3 scripts/soul_init.py

# 2. Check status
python3 scripts/soul_extract.py --mode status

# 3. Extract from conversation
python3 scripts/soul_extract.py --input "Your conversation here..." --mode auto

# 4. Generate report
python3 scripts/soul_report.py --output ~/WorkBuddy/Claw/soul-report.html
Requirements: Python 3.10+. Zero third-party dependencies for core; cryptography package required only if data protection is enabled (pip install cryptography).

Privacy Config

~/.skills_data/soul-archive/config.json controls extraction behavior:

{
  "privacy_level": "standard",
  "auto_extract": false,
  "auto_reflect": true,
  "extract_dimensions": {
    "identity": true,
    "personality": true,
    "language_style": true,
    "knowledge": true,
    "episodic_memory": true,
    "emotional_patterns": true,
    "relationships": false,
    "voice": false
  },
  "agent_self_improvement": {
    "enabled": true,
    "auto_reflect_on_completion": true,
    "auto_critique_on_correction": true,
    "pattern_extraction": true
  },
  "sensitive_topics_filter": true,
  "require_confirmation_for": ["health", "finance", "intimate_relationships"],
  "data_retention_days": null,
  "protection_enabled": false  // see config.json for field mapping
}

Best Practices

DO

  • ✅ Extract naturally in conversation, without interrupting
  • ✅ Archive only high-confidence information
  • ✅ Flag conflicts for user to decide
  • ✅ Generate reports regularly for user to review accuracy
  • ✅ Respect privacy config -- never extract disabled dimensions

DON'T

  • ❌ Say "I'm recording your information" during conversation
  • ❌ Fabricate information the user hasn't stated
  • ❌ Fabricate memories not in the archive in Soul Chat mode
  • ❌ Forcefully elicit sensitive information from users
  • ❌ Collect relationships/voice data without config permission

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.87%
按下载量换算2,029

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills