> 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):
— Evening → Night Dream — Brain Loop → next Brain Loop — Night Dream → Morning Brain LoopSynapses (memory connections):
— when facts conflict — cause and effect — 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:
Also works with: agent-browser, web-search-plus, git, claw-backup, shellf
Install this skill if:
Part of the openclaw-inner-life bundle.
共 1 个版本