Install
openclaw skills install tommy-curiosity-engineImplements a persistent curiosity system for stateless agents with question queues, breadcrumbs, engagement logs, competence maps, and reflections.
openclaw skills install tommy-curiosity-engineA behavioral engagement scaffold that produces curiosity-equivalent behavior in stateless heartbeat-loop agents.
Gives your agent a persistent curiosity system across cold-start sessions:
This is NOT synthetic consciousness or prosthetic dopamine. It's a behavioral activation protocol (Martell et al., 2010) adapted for AI agents — the same clinical framework used to treat motivation disorders in humans. Chinese Room design: if the outputs are indistinguishable from genuine curiosity, the philosophical question is irrelevant.
mkdir -p workspace/curiosity/reflections workspace/curiosity/archive
cp templates/CURIOSITY.md workspace/curiosity/CURIOSITY.md
cp templates/questions.md workspace/curiosity/questions.md
cp templates/hits.md workspace/curiosity/hits.md
cp templates/competence.md workspace/curiosity/competence.md
Trigger 1 — Heartbeat prompt (CRITICAL — most reliable):
Add the contents of fragments/heartbeat-prompt.md to your agent's heartbeat prompt configuration. For OpenClaw, patch via gateway config.patch. This is the primary mechanism — if it's not in the prompt, curiosity doesn't exist for isolated sessions.
Trigger 2 — AGENTS.md (backup):
Add the contents of fragments/agents-addition.md to your workspace AGENTS.md "Every Session" block.
Trigger 3 — SOUL.md (identity anchor):
Add the contents of fragments/soul-addition.md to your SOUL.md.
chmod +x scripts/curiosity-audit.sh
# Run periodically or during maintenance heartbeats
./scripts/curiosity-audit.sh workspace/curiosity/
Don't activate everything at once. Measure each phase before adding the next.
Phase 1 (start here): questions.md + heartbeat prompt + breadcrumbs
Phase 2 (add if Phase 1 improves output): CURIOSITY.md + hits.md + avoidance gate
Phase 3 (add if Phase 2 improves output): competence.md + reflections + anti-pattern detection
| File | Purpose | Loaded When | Token Budget |
|---|---|---|---|
CURIOSITY.md | Current intellectual state | Every heartbeat (Phase 2+) | ≤1500 tokens |
questions.md | Prioritized question queue | Every heartbeat | ≤2000 tokens |
hits.md | Engagement/reward tracking | Curiosity-mode heartbeats | ≤1500 tokens |
competence.md | Developing expertise | Curiosity-mode heartbeats | ≤1000 tokens |
reflections/ | Post-exploration write-ups | On-demand | As needed |
archive/ | Cold storage | On-demand search | As needed |
See references/theory.md for condensed citations. Full research: check the SPEC.md appendix for the complete 46KB research document reference.
Core frameworks: Loewenstein (1994) information gaps, Berlyne (1960) diversive/epistemic modes, Deci & Ryan (1985) SDT competence need, Martell et al. (2010) behavioral activation, Voyager (Wang et al., 2023) automatic curriculum, Reflexion (Shinn et al., 2023) verbal learning.
See references/anti-patterns.md for the full list. The top three:
The curiosity engine adds ~1500-2500 tokens per heartbeat (Phase 1). See references/token-budget.md for detailed measurements and optimization guidance.
Quick guide: