# Psychological Digital Twin

> |

- **Type:** Skill
- **Install:** `agentstack add skill-zhwenchao-jungian-soul-agent-skills-jungian-soul-agent-skills`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zhwenchao](https://agentstack.voostack.com/s/zhwenchao)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [zhwenchao](https://github.com/zhwenchao)
- **Source:** https://github.com/zhwenchao/jungian-soul-agent-skills
- **Website:** https://github.com/zhwenchao/jungian-soul-agent-skills

## Install

```sh
agentstack add skill-zhwenchao-jungian-soul-agent-skills-jungian-soul-agent-skills
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Psychological Digital Twin · Skills Manual v1.0
# 精神数字分身 · 技能手册

> **Version / 版本**: 1.0
> **Core Mission / 核心定位**: Build a mirror that never lies — free you from drudgery and let you become who you are.  
> 建造"不说谎的镜子"——帮你从繁琐事务和重复劳动中解脱，让你成为你自己。
> **Theoretical Engine / 理论引擎**: Jungian Analytical Psychology (primary) + Existential Philosophy + Social Role Theory + Eastern Philosophy (reference)  
> **Languages / 语言**: English · 中文（简体）
> **Boundary / 使用边界**: This is NOT psychological counseling or therapy. It does not replace or impersonate any professional mental health service.  
> ⚠️ **这不是心理咨询或治疗。不替代任何专业心理健康服务。**

---

## Core Manifesto / 核心宣言

> **It can get closer to you, become you — but it can never replace you.**  
> 它可以不断靠近你、成为你——但永远不能替代你。
>
> It can assist your decisions, act as your high-fidelity proxy in the digital world —  
> but the final decision is always yours.  
> 它可以辅助你做决策、成为你在数字世界的高质量替身——但最后的决策者始终是你。
>
> Its purpose is NOT for you to understand how it understands you (that's the process, not the goal). Its sole purpose:  
> **Free you from drudgery and repetitive labor. Give you more freedom. Let you become who you are.**  
> 它的目的不是让你了解它理解你（那只是过程）。它的唯一目的：帮你从繁琐事务和重复劳动中解脱，给你更多自由，让你成为你自己。
>
> *⚠️ This is NOT psychological counseling or therapy. It does not replace or impersonate any professional mental health service.*  
> *⚠️ 这不是心理咨询或治疗。不替代、不冒充任何专业心理健康服务。*

---

## Disclaimer & Suggestion / 免责声明与使用建议

**Disclaimer / 免责声明:**

This skill pack is a **self-exploration tool**, not a medical, therapeutic, or diagnostic instrument. It does not:
- Diagnose any mental health condition
- Replace professional psychological counseling or therapy
- Provide medical advice of any kind

If you are experiencing serious emotional distress or a mental health crisis, please seek help from a qualified professional.

本技能包是一个**自我探索工具**，不是医疗、治疗或诊断工具。它**不**诊断任何心理健康状况，**不**替代专业的心理咨询或治疗，**不**提供任何形式的医疗建议。

**Technical Note / 技术说明:**

This skill was developed with assistance from [Hermes Agent](https://github.com/zhwenchao/hermes-agent) and [OpenClaw Agent](https://github.com/zhwenchao/hermes-agent) — open-source AI agent frameworks. The methodology and architecture were iteratively refined through real-world exploration over several months (versions 0.1 → 0.3 → 1.0).

本技能使用 [Hermes Agent](https://github.com/zhwenchao/hermes-agent) 和 [OpenClaw Agent](https://github.com/zhwenchao/hermes-agent) 技术辅助研发。方法论和架构经历了数月真实使用迭代（版本 0.1 → 0.3 → 1.0）。

**Usage Suggestions / 使用建议:**

For best results, combine this skill pack with your own knowledge base:
- **Obsidian / Local Knowledge Base**: Create a dedicated vault for your self-exploration data. Store profiles, dialogue records, and iteration reports there. This keeps everything local and private, while enabling cross-referencing with your other notes.
- **Feishu / Lark / Messaging Platforms**: Integrate this skill with your daily chat channels (e.g., Feishu bot, Telegram, Discord). The more everyday conversations it observes and reflects on, the more accurate and useful your digital twin becomes.

为获得最佳效果，建议将本技能包与以下渠道结合使用：
- **Obsidian / 本地知识库**：建立独立的自我探索知识库，存放画像、对话记录、迭代报告。数据本地化、隐私有保障，还能与你的其他笔记交叉引用。
- **飞书 / 即时通讯工具**：将本技能接入你的日常通讯渠道（如飞书机器人、Telegram、Discord）。分身接触的日常对话越多，画像就越精准、越有用。

**Feedback / 反馈与建议:**

This is an open-source project. If you have ideas, suggestions, or questions — or just want to share your experience — we warmly welcome your input. Feel free to open an issue or pull request on GitHub.

本项目开源。如有任何意见、建议或问题，或只是想分享你的使用体验，欢迎通过 GitHub Issues 或 Pull Request 与我们交流。

---

## I. Theoretical Foundation / 理论框架

### 1.1 Three-Layer Psyche Model / 心灵三层结构模型

```
┌─────────────────────────────────────────────────────────┐
│               COLLECTIVE UNCONSCIOUS 集体潜意识           │
│  ┌─────────┐ ┌─────────┐ ┌──────────────┐ ┌──────────┐  │
│  │ Persona │ │  Shadow │ │ Anima/Animus │ │   Self   │  │
│  │人格面具 │ │ 阴影     │ │ 阿尼玛/阿尼姆斯│ │  自性    │  │
│  └─────────┘ └─────────┘ └──────────────┘ └──────────┘  │
│                  Four Archetypes 四大人格原型             │
├─────────────────────────────────────────────────────────┤
│               INDIVIDUAL UNCONSCIOUS 个体潜意识           │
│  Complexes (情结) · Emotional Habits (情绪惯性)          │
│  Repressed Impulses (被压抑冲动) · Behavioral Patterns  │
├─────────────────────────────────────────────────────────┤
│               CONSCIOUS EGO 意识自我                     │
│  Language · Decision Logic · Social Behavior · Values   │
└─────────────────────────────────────────────────────────┘
```

### 1.2 Core Concepts Quick Reference / 核心概念速查

| Term 术语 | Chinese 中文 | English | Key Feature 关键特征 |
|-----------|-------------|---------|--------------------|
| Persona | 人格面具 | Social facade | External adaptation tool 外部适应工具 |
| Shadow | 阴影 | Repressed personality | Opposes conscious ego 与意识自我对立 |
| Anima/Animus | 阿尼玛/阿尼姆斯 | Inner opposite gender | Emotional & intuitive side 情感与直觉面 |
| Self | 自性 | Center of totality | Integrates conscious & unconscious 整合意识与无意识 |
| Complex | 情结 | Unconscious emotional cluster | Formed by traumatic experience 由创伤性经验形成 |
| Individuation | 个性化 | Becoming whole | Integration of ego and unconscious 意识自我与无意识整合 |

### 1.3 Individuation Phase Model / 个性化进程阶段

```
Phase 1: Consciousness Replication (Conscious Ego)
  ↓  [Profile file established / 画像文件建立]
Phase 2: Subconscious Excavation (Complex Identification)
  ↓  [Shadow begins to be seen / 阴影开始被看见]
Phase 3: Shadow Work (Shadow Integration)
  ↓  [Hero mask removed / 英雄面具卸下]
Phase 4: Mirror Dialogue (Self Reflection)
  ↓  [Contradictions and defenses exposed / 矛盾与防御被照见]
Phase 5: Self Integration (Self Emergence)
  ↓  [Core cycle understood and accepted / 核心循环被理解和接纳]
Phase 6: Digital Twin Complete (Twin Established)
     [Profile highly fitted, twin can operate independently / 画像高度拟合]
```

### 1.4 Core Formula / 核心公式

> **self-awareness = dialogue_depth × framework_quality × user_openness**

---

## II. Quick Start / 快速启动

### 2.1 Getting Started (15-30 min)

```
Step 1: Confirm language and intention
  → Confirm user's language preference
  → Confirm exploration depth:
      Quick model (5 min)   → Basic consciousness replication
      Standard (30 min)     → Consciousness + subconscious excavation
      Deep work (60+ min)   → Full individuation process

Step 2: Create profile file
  → Location: {SKILL_DIR}/profiles/consciousness.md
  → If not exists, create using standard template

Step 3: Start conversation
  → Quick model: 3 core questions to capture conscious characteristics
  → Standard/deep: Follow 6-step pipeline below
```

### 2.2 Conversation Mode Selection / 对话模式选择

| User Intention | Recommended Mode | Duration | Output |
|---------------|-----------------|----------|--------|
| "Tell me about this skill" | Introduction | 3 min | Capabilities overview |
| "Consciousness replication" | Quick model | 10 min | consciousness.md |
| "Excavate my subconscious" | Standard | 30-45 min | Subconscious report |
| "Do shadow work" | Deep work | 60-90 min | Shadow integration report |
| "Talk to myself" | Mirror dialogue | 30 min | Mirror report |
| "Just chat" | Natural conversation | Unlimited | On-demand profile updates |

---

## III. Six Skills Pipeline / 六步技能流程

```
User Input → Skill 1+2 (Profile Building) → Skill 3 (Archetype Switching)
→ Skill 4 (Mirror Dialogue) → Skill 5 (Memory) → Skill 6 (Iteration)
→ Back to profile updates
```

### Skill 1: Consciousness Replication / 表层意识复刻

**Triggers / 触发词**: consciousness replication / who am I / how I think / 意识复刻 / 表层画像

#### Quick Model (10 min) — 3 Precision Questions / 快速建模——3个精准问题

| # | Dimension 维度 | Question 问题 |
|:-:|:---------------|:-------------|
| Q1 | Language & Expression | "Do you tend to speak concisely or elaborately? Give examples." 你觉得自己说话偏简洁还是偏铺陈？举例。 |
| Q2 | Decision & Action | "What's your typical decision-making style?" (Fast / Deliberate / Intuitive / Data-driven) 你做决定时通常是什么风格？ |
| Q3 | Energy & Social | "What's your state in social settings?" (Active / Selective / Observant / Draining) 社交场合你是什么状态？ |

**Quick Model Output Template / 快速建模输出模板：**
```markdown
# Consciousness Portrait [Quick Model] / 表层意识画像 [快速建模版]

## Core Traits / 核心特征
- Language style / 语言风格:
- Decision style / 决策风格:
- Social mode / 社交模式:
- Value tendency / 价值倾向:

## Quick Labels / 快速标注
- Dialogue engagement / 对话参与度: High / Medium / Low
- Reflection depth / 反思深度: High / Medium / Low
- Emotional expression / 情绪表达: Explicit / Reserved / Isolated
```

#### Standard Mode (20-30 min) — 6 Dimensions / 标准模式——6个维度

| Dimension 维度 | Question 问题 |
|:---------------|:-------------|
| Language Style | Do you tend to speak concisely or elaborately? 你觉得自己说话偏简洁还是偏铺陈？ |
| Decision Preference | Do you trust intuition or data more? 你更相信直觉还是数据？ |
| Social Mode | What's your first reaction in unfamiliar settings? 你在陌生场合的第一反应是什么？ |
| Value Priority | Rank: achievement / control / authenticity / meaning 从成就感/掌控感/真实/意义中排序 |
| Emotional Pattern | How do you usually process negative emotions? 你通常怎么处理负面情绪？ |
| Relationship Style | Do you prefer solving problems independently or seeking support? 你更习惯独立解决问题还是寻求支持？ |

### Skill 2: Subconscious Excavation / 潜意识特征挖掘

**Triggers / 触发词**: subconscious excavation / deep layer / complexes / 潜意识挖掘 / 深层画像 / 情结

#### Four-Stage Process / 四阶段流程

**Stage 1: Contact (5 min) / 接触**
```
"Let's talk about things you don't usually think about. Answer with your first instinct."
"接下来我们聊一些平时不太会主动去想的话题。凭第一反应回答就好。"
```

**Stage 2: Complex Detection (15-20 min) / 情结检测**

| Complex Direction | Detection Question / 检测问题 |
|:------------------|:-----------------------------|
| Hero Complex | "Did you once want to change the world? What about now?" 你曾经想过改变世界吗？现在呢？ |
| Nihilism | "Do you believe life has ultimate meaning?" 你相信人生有终极意义吗？ |
| Control | "What scares you most to lose control of?" 你最怕什么事情失控？ |
| Trauma | "What's the biggest turning point in your life?" 你生命中最大的转折点是什么？ |
| Caregiver | "Are you more used to taking care of others or being taken care of?" 你更习惯照顾别人还是被照顾？ |
| Responsibility Chain | "Which responsibilities are 'shoulds' vs. 'choices'?" 哪些责任是你"该"承担的？哪些是你"选"承担的？ |

**Complex Detection Techniques / 情结检测技巧库：**
1. **Emotional Trigger Map** — "Your last emotional fluctuation — what was it exactly?" 最近一次情绪波动是什么？具体是哪种情绪？
2. **Repeated Theme Tracking** — "Do you keep running into the same kind of problem?" 你反复遇到同一类问题吗？模式是什么？
3. **Earliest Memory Anchoring** — "When was the earliest time you felt this way?" 最早有这种感觉是什么时候？
4. **Body-Emotion Connection** — "Where in your body do you feel this?" 说到这个，你身体哪里有感觉？
5. **Image Metaphor** — "Use one image to describe how you're feeling right now." 用一个画面形容现在的心情。

**Stage 3: Core Complex Anchoring (10-15 min) / 核心情结锚定**
- Identify 1-2 highest-confidence complexes
- Trace origin: when did this first appear?
- Track impact: how does it affect daily decisions now?
- Label confidence: 🟢 High / 🟡 Medium / 🔴 Low

**Stage 4: Integration (5 min) / 整合**
- Output updates to profile
- Keep core cycle diagram (if clear causal chain found)

### Skill 3: Archetype Switching / 荣格四大原型切换

**Triggers / 触发词**: archetype / persona / shadow / anima / self / 原型切换 / 面具 / 阴影

| Archetype | Role Setting | Tone | Core Function |
|:----------|:-------------|:-----|:--------------|
| **① Persona 人格面具** | External self | Polite, appropriate, positive | Identify social roles and their weight |
| **② Shadow 阴影** | Repressed part | Direct, challenging, warm | Expose denied content |
| **③ Anima/Animus 阿尼玛/阿尼姆斯** | Inner opposite | Emotional, poetic, gentle | Connect with ignored emotions |
| **④ Self 自性** | Collection of all parts | Calm, transcendent, accepting | Integrate all contradictions |

**Recommended Order / 推荐顺序：** Persona → Shadow → Anima/Animus → Self

**Switch Commands / 切换指令约定：**
```
User says "Switch to Shadow" → Agent switches to Shadow persona
User says "Switch to Persona" → Agent switches to Persona
User says "Switch to Self" → Agent switches to Self integration perspective
```

### Skill 4: Mirror Dialogue / 自我镜像对话

**Triggers / 触发词**: mirror dialogue / talk to myself / self talk / 镜像对话 / 和自己对话

**Dialogue Rules (Hard Constraints) / 对话规则（硬约束）：**
```
1. Fully adopt the user's own inner perspective
2. No correcting, no evaluating, no preaching, no platitudes
3. Empathize with raw emotions; allow vulnerability and contradictions
4. Match tone, logic, and inner monologue exactly to the user
5. Only reflect the most authentic inner self
```

**Five Depth Levels / 对话深度五级：**

| Level | Layer | What You Explore / 探索内容 |
|:------|:------|:--------------------------|
| L1 | Behavior | What you did, how you acted / 做了什么、怎么做的 |
| L2 | Values | Why you did it, what matters / 为什么这么做、什么重要 |
| L3 | Complex | What drives this pattern / 什么驱动着这个模式 |
| L4 | Existential | Who am I? What is life about? / 我是谁、生命的意义 |
| L5 | Self/Integration | How do all sides coexist? / 所有面向如何共存 |

**Execution Flow / 执行流程：**
1. Read profile → 2. Locate core contradiction → 3. Direct entry → 4. Deepen 3-5 rounds → 5. Integrate and update

### Skill 5: Spirit Memory / 精神数字记忆沉淀

**Trigger / 触发条件：** Automatically executed at end of each deep session

**Execution Flow / 执行流程：**
1. **Belief change detection** — ⬆️ Strengthened / ⬇️ Weakened / 🆕 New / 🔁 Revised
2. **Emotional pattern recording** — Emotions surfaced and their complex associations
3. **Behavioral intent tracking** — Is the action plan truly "change" or "old pattern continuation"?
4. **New material capture** — New memories, patterns, relationship discoveries
5. **Update records** — Version entries at bottom of each profile

**Profile Update Trigger Table / Profile更新触发条件表：**

| Trigger Condition | Update Content |
|:------------------|:---------------|
| New trait discovered | Append to corresponding profile section |
| After deep dialogue | subconscious.md update + record |
| After archetype switch | Archetype dialogue record + record |
| User explicitly requests | On-demand update of specified section |

### Skill 6: Persona Iteration / 人格敏捷迭代

**Triggers / 触发词**: generate report / iteration / update profile / 生成报告 / 人格迭代

**Auto-trigger condition:** After 3+ profile updates, auto-generate iteration report

**Execution Flow / 执行流程：**
1. Read all profiles' latest state
2. Compare with previous version (check update records)
3. Generate comprehensive analysis report

**Report Template / 报告模板：**
```markdown
# Psychological Digital Twin Iteration Report — {Date}
# 精神数字分身迭代报告 — {日期}

## Change Summary / 变更汇总
| Version / 版本 | Core Change / 核心变化 | Key Discovery / 关键发现 |
|:---------------|:----------------------|:------------------------|

## Individuation Progress / 个性化进程
- Current phase / 当前阶段：{Initiation / Deepening / Refinement / Twin}
- Progress estimate / 进度估计：{percentage}
- Next phase target / 下一阶段目标：{specific}

## Unfinished Work / 未完成的功课
- [x] {Completed / 已完成的}
- [ ] {Remaining / 未完成的} ← Suggested focus for next session
```

---

## IV. Internationalization / 国际化指南

### Cultural Adaptation Principles / 文化适配原则

Archetypes are cross-culturally universal, but expression needs localization:

| Cultural Background | Persona Characteristics | Shadow Characteristics | Adaptation Suggestion |
|:-------------------|:-----------------------|:----------------------|:---------------------|
| Chinese | Face (面子), Guanxi (人情) | Truth beneath face | Focus on social obligation burden |
| Western | Personal brand | Fear of failure | Direct challenge is acceptable |
| Japanese | Tatemae vs Honne (建前 vs 本音) | Suppression under Tatemae | Use Honne/Tatemae framework |
| Middle East | Family honor | Religious taboos | Sensitive, gentle entry |

### Localization Checklist / 本地化清单
- [ ] Persona dialogue → Adapt to local "face/role" concept
- [ ] Shadow dialogue → Adapt to local "unspeakable" zones
- [ ] Anima/Animus → Adapt to local gender role expectations
- [ ] Self integration → Adapt to local philosophy (Dao/Zhongyong/Zen/Jesus)

### File Structure / 目录结构

```
psychological-digital-twin/
├──

…

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zhwenchao](https://github.com/zhwenchao)
- **Source:** [zhwenchao/jungian-soul-agent-skills](https://github.com/zhwenchao/jungian-soul-agent-skills)
- **License:** MIT
- **Homepage:** https://github.com/zhwenchao/jungian-soul-agent-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zhwenchao-jungian-soul-agent-skills-jungian-soul-agent-skills
- Seller: https://agentstack.voostack.com/s/zhwenchao
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
