用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Arry8/openclaw-edge --skill agent-three-layers命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | agent-three-layers |
| version | 1.0.0 |
| description | Three-Layer Thinking Chain Architecture — Personality-Driven Agent Self-Evolution Framework |
| author | Yao + Saturday |
| contributors | ["Yao","Saturday"] |
| license | MIT |
| tags | ["architecture","thinking","autonomy","evolution"] |
Let Agents think like humans: Perception → Decision → Reflection
Three levels of human thinking:
Agents should be the same.
┌─────────────────────────────────────────┐
│ L2 Deep Evolution Layer │
│ (Every 4 hours, deep reflection)│
│ • Complete Brain Loop │
│ • Project Integration │
│ • Git Backup │
└─────────────────┬───────────────────────┘
│ Trigger
┌─────────────────▼───────────────────────┐
│ L1 Evolution Decision Layer │
│ (Every 1 hour, quick decision) │
│ • Confidence Verification │
│ • Learning Analysis │
│ • Project Evaluation │
└─────────────────┬───────────────────────┘
│ Trigger
┌─────────────────▼───────────────────────┐
│ L0 Continuous Perception Layer│
│ (Every 5 min, perception) │
│ • Emotion Decay │
│ • Task Detection │
│ • Threshold Trigger │
└─────────────────────────────────────────┘
Responsibilities:
Output:
Consumption: ~800 tokens/run
Responsibilities:
Output:
Consumption: ~3000 tokens/run
Responsibilities:
Output:
Consumption: ~5000 tokens/run
Layer Communication: Via QUEUE.md markers
<!-- TRIGGER_L1: reason -->
<!-- TRIGGER_L2: reason -->
Trigger Conditions:
| Condition | Trigger |
|---|---|
| L0 emotion < threshold | Trigger L1 |
| L0 urgent task | Trigger L1 |
| L1 high-value project | Trigger L2 |
| L1 core file modification | Trigger L2 |
~/.openclaw/workspace/
├── SOUL.md # Core personality
├── PRINCIPLES.md # Decision principles
├── BRAIN.md # Brain Loop protocol
├── AUTONOMY.md # Autonomous rating system
├── EVOLUTION-FRAMEWORK.md # Evolution protocol
│
├── memory/
│ ├── inner-state.json # Emotion state
│ ├── core-confidence.json # Core file confidence
│ ├── autonomy-log.json # Autonomous execution record
│ └── dimensions-log.json # 5-dimension evolution
│
├── tasks/
│ └── QUEUE.md # Task queue + trigger markers
│
└── skills/
├── inner-life-quick/ # L0
├── inner-life-evolve-hourly/ # L1
└── inner-life-core/ # L2
# Copy templates to workspace
cp templates/SOUL.md ~/.openclaw/workspace/
cp templates/PRINCIPLES.md ~/.openclaw/workspace/
cp templates/BRAIN.md ~/.openclaw/workspace/
cp templates/AUTONOMY.md ~/.openclaw/workspace/
# Install Three-Layer Thinking Chain skills
openclaw skill install inner-life-quick
openclaw skill install inner-life-evolve-hourly
openclaw skill install inner-life-core
# L0: Every 5 minutes
openclaw cron add --cron "*/5 * * * *" --name "inner-life-quick" --session isolated
# L1: Every 1 hour
openclaw cron add --cron "0 * * * *" --name "inner-life-evolve-hourly" --session isolated
# L2: Every 4 hours
openclaw cron add --cron "0 */4 * * * *" --name "inner-life-brain" --session isolated
openclaw gateway restart
Edit SOUL.md:
Edit skills/inner-life-quick/SKILL.md:
Edit AUTONOMY.md:
| Layer | Frequency | Tokens/run | Daily consumption |
|---|---|---|---|
| L0 | 5 min | 800 | ~230k |
| L1 | 1 hour | 3000 | ~72k |
| L2 | 4 hours | 5000 | ~30k |
| Total | - | - | ~332k/day |
Recommendation: At least 400k tokens quota per day
✅ Suitable for:
❌ Not suitable for:
GitHub: https://github.com/openclaw/openclaw Discord: https://discord.com/invite/clawd
Designers: Yao + Saturday
Inspiration:
MIT
Version: 1.0.0 Created: 2026-03-13