The foundation for an agent's inner life. Emotions, state, protocol.
Without inner-life-core, your agent:
With inner-life-core, your agent:
# Initialize state files
bash skills/inner-life-core/scripts/init.sh
This creates:
memory/inner-state.json — 6 emotions with decay rulesmemory/drive.json — what the agent is seeking/anticipatingmemory/habits.json — learned habits and user patternsmemory/relationship.json — trust levels and lessonsBRAIN.md — 9-step Brain Loop protocolSELF.md — personality observation spacememory/questions.md — curiosity backlogtasks/QUEUE.md — task queue6 emotions with half-life decay:
| Emotion | What it tracks | Decay |
|---|---|---|
| connection | How recently you talked to the user | -0.05 per 6h without contact |
| confidence | How well things are going | +0.02/6h recovery, -0.1 on mistake |
| curiosity | How stimulated you are | -0.03 per 6h without spark |
| boredom | How routine things feel | +1 day counter, reset on novelty |
| frustration | Recurring unsolved problems | Counts recurring items |
| impatience | Stale items waiting for response | Tracks days without action |
Emotions drive behavior — see BRAIN.md Step 3 (Emotion-driven routing).
4 levels of state reading, so each component reads only what it needs:
Signals (inter-component communication):
<!-- dream-topic: topic --> — Evening → Night Dream<!-- handoff: task, progress --> — Brain Loop → next Brain Loop<!-- seeking-spark: topic --> — Night Dream → Morning Brain LoopSynapses (memory connections):
<!-- contradicts: ref --> — when facts conflict<!-- caused-by: ref --> — cause and effect<!-- updates: ref --> — when updating old info# Check your Inner Life Score
bash skills/inner-life-core/scripts/score.sh
# Apply emotion decay manually
source skills/inner-life-core/scripts/state.sh && state_decay
Best experience with the full inner-life suite:
7w4.net小蔥技能站收錄全網優質技能,值得收藏。
Also works with: agent-browser, web-search-plus, git, claw-backup, shellf
Install this skill if:
Part of the openclaw-inner-life bundle.
這個 Skill 質量很好,解決了 agent "每天重置、毫無記憶" 的核心痛點。情感模型設計自然,狀態管理清晰,配套文件詳盡易懂,指令碼拿來就能用。不過它依賴外部定時任務來觸發狀態更新,缺少自動執行機制;某些環境下可能遇到相容性問題。作為 inner-life 系列的核心元件,單獨安裝已能顯著提升 agent 的互動體驗,建議配合其他 inner-life 擴充套件包使用以獲得完整功能。